开发者

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

开发者 https://www.devze.com 2022-12-31 03:28 出处:网络
开发者_运维技巧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.
开发者_运维技巧

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

精彩评论

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