H
Hardik Shah
Hi,
I have a table in SQL Server 2000 and accessing it in ADO.Net , I want to
know fields width and I gave following VB.Net commands but I am fail to know
it, it returns -1 for all columns.
Dim col as data.datacolumn
For Each col in ds.tables(0).columns ' ds is a dataset
Console.Writeline (col.maxlength)
Next
Thanks in advance.
Hardik Shah.
I have a table in SQL Server 2000 and accessing it in ADO.Net , I want to
know fields width and I gave following VB.Net commands but I am fail to know
it, it returns -1 for all columns.
Dim col as data.datacolumn
For Each col in ds.tables(0).columns ' ds is a dataset
Console.Writeline (col.maxlength)
Next
Thanks in advance.
Hardik Shah.