I would like to know how to set the default value of the XAML Datepicker and Timepicker using C#.
For example, the datetime in SQL Server is "2019-11-28 08:00:00.000" and I convert it into string.
Then I need the Datepicker to show 28 November 2019; and Timepicker to show 8 00 am in XAML
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.