J
Jacky
How to retrieve db table field's max length by using
ADO.NET?
Please advise.
Thanks
ADO.NET?
Please advise.
Thanks
Chris Botha said:Not really, I think the documentation just stinks around this area. You can
use the OleDbDataAdapter. The select string something like "Select * from
MyTable", and then call adapter.FillSchema into a DataTable. It puts the
information into an empty table (no rows), but the Columns contains all the
info needed, length, null-able, primary key, etc.