Hi,
I need to get the size/length of a data type of a field declared in SQL (e.g. varchar(500)) because I'm creating textboxes dynamically and i want the size of the textbox to correspond to the size of the datatype.
The farthest I've gotten is DataTable.Columns.DataType and it returns the datatype in VB.net(System.String), not in SQL(varchar).
Thanks in advance, appreciate it!
I need to get the size/length of a data type of a field declared in SQL (e.g. varchar(500)) because I'm creating textboxes dynamically and i want the size of the textbox to correspond to the size of the datatype.
The farthest I've gotten is DataTable.Columns.DataType and it returns the datatype in VB.net(System.String), not in SQL(varchar).
Thanks in advance, appreciate it!