datacolumn field length

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I'm using VB.NET to update data in an Access database. Before inserting the
value, I want to compare the length of the string I'm holding in a variable
to the length of the data column into which its intended. How do I do that? I
checked the properties of the DataTable, DataRow and DataColumn objects to no
avail.

Thanks in advance!
Jack
 
Thanks. I checked MaxLength and it is always -1. Is there a property of the
dataset to provide this info or something like that?
 

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

Back
Top