K
keithb
The following code sets a DataTable column DataType to "String"
column.DataType = System.Type.GetType("System.String");
What is the corresponding statement when the data type is boolean? I have
tried both "bit', "bool", and "boolean" and all cause an error.
One would think that a simple search for "System.Type.GetType" in Books On
Line would yield an answer but all I get is page after page after page of
loosely unrelated information.
Thanks,
Keith
column.DataType = System.Type.GetType("System.String");
What is the corresponding statement when the data type is boolean? I have
tried both "bit', "bool", and "boolean" and all cause an error.
One would think that a simple search for "System.Type.GetType" in Books On
Line would yield an answer but all I get is page after page after page of
loosely unrelated information.
Thanks,
Keith