我在数据库中有几个表,数据类型为 DateTime,默认值 getdate() 在 sql server 中。当我将它绑定到文本框时,它默认显示 1/1/0001。我正在使用 Silverlight Ria 服务。
<TextBox Text="{Binding Mode=TwoWay, Path=LST_UPDT_TS, StringFormat=\{0:D\}}"/>
感谢您的帮助和您的时间..
我在数据库中有几个表,数据类型为 DateTime,默认值 getdate() 在 sql server 中。当我将它绑定到文本框时,它默认显示 1/1/0001。我正在使用 Silverlight Ria 服务。
<TextBox Text="{Binding Mode=TwoWay, Path=LST_UPDT_TS, StringFormat=\{0:D\}}"/>
感谢您的帮助和您的时间..