SQLDataReader and Columns

  • Thread starter Thread starter Roger Webb
  • Start date Start date
R

Roger Webb

How would I get the length of a column from a SQLDataReader? I'm looking
for something like Query Analyzer uses to display its data. So, I would
need to know that a varchar(200) is 200 where a varchar(20) is only 20.
Also I need to know how many characters a datetime would fill up. This
kinda information.

Does this make sense?

-Roger
 
Back
Top