开发者

ASP.net AccessDataSource Date Inserts

开发者_开发技巧

I need to insert a row with a DATE value. How do I set its default value to Now() or similar?


Unfortunately, the only way to set the default value of a AccessDataSource parameter to something variable is in the code-behind:

myAccessDataSource.InsertParameters("date").DefaultValue = DateTime.Now
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜