datacolumn

  • Thread starter Thread starter thams
  • Start date Start date
T

thams

is it possible to get the size of the datatype of a datacolumn in a datatable?
i want to show the datatype with the size of a table.
first i got the table in a dataset. then i try to catch the datatype.
all are working fine? but my question is "is it possible to get the datasize
ie.
like varchar(20)?" if possible which method i hav to use?
pls help me out.
 
If you are talking about getting the size of a column in a database, you can
use the GetSchemaTable method of the DataReader to pull all kinds of
information. If that's what you're looking for, post back and I'll provide
the code.

RobinS.
GoldMail.com
 
Back
Top