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
精彩评论