SQLDatareader field length

B

banana boy

Could someone tell me if it is possible to get the length of a field
retrieved with the sqldatareader
 
G

Guest

I think the best way to execute the get schema query by giving th table name
to the Command object with Data Adapter. After getting the Data table you can
get the column details from Data Table
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top