A
Aamir Ghanchi
How can I set the DefaultValue property of DataColumn to false in C#
this.objdsMyDataSet.tblMyTable.MyBooleanColumn.DefaultValue = false;
I have also tried setting it to System.Data.SqlTypes.SqlBoolean.False;
but in either case I get ArgumentException.
What is wrong, it looks straightforward to me.
thanks
Aamir
this.objdsMyDataSet.tblMyTable.MyBooleanColumn.DefaultValue = false;
I have also tried setting it to System.Data.SqlTypes.SqlBoolean.False;
but in either case I get ArgumentException.
What is wrong, it looks straightforward to me.
thanks
Aamir