开发者

In ADO.NET, how do specify that a column in a DataTable is required?

开发者_运维技巧

In ADO.NET, how do specify that a column in a DataTable is required?


I think the following would do the trick. Just fill in the correct table and column name.

DataSet1.Tables("Table1").Columns("Column1").AllowDBNull = False
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜