[英]Getting date and time from Datepicker and timepicker add-on and Storing into DateTime column in DB without using string
[英]How to set XAML DatePicker and TimePicker from C# using date and time column from SQL Server? [closed]
我想知道如何使用C#设置XAML Datepicker和Timepicker的默认值。
例如,SQL Server中的日期时间为“ 2019-11-28 08:00:00.000”,我将其转换为字符串。
然后我需要日期选择器来显示2019年11月28日; 和Timepicker在XAML中显示上午8 00
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.