B
Benton
Hi there,
I want to create some DataColumns using the following approach:
string datatype = "int";
DataColumn intCol = new DataCoulmn();
intCol.DataType = typeof(datatype);
string datatype = "string";
DataColumn strCol = new DataCoulmn();
strCol.DataType = typeof(datatype);
I know it doesn't work quite like this, but, is there a way to accomplish
what I am trying to do?
Best Regards,
-Benton
I want to create some DataColumns using the following approach:
string datatype = "int";
DataColumn intCol = new DataCoulmn();
intCol.DataType = typeof(datatype);
string datatype = "string";
DataColumn strCol = new DataCoulmn();
strCol.DataType = typeof(datatype);
I know it doesn't work quite like this, but, is there a way to accomplish
what I am trying to do?
Best Regards,
-Benton