KNOW THE SIZE OF A FIELD

  • Thread starter Thread starter Raul
  • Start date Start date
R

Raul

In visual basic 6

xxx.recordset.fields(1). size and in the fields of type string it indicated
you the maximum that allowed


In. net opposing net anything resemblance.


thank you
 
With the maxlength of the datacolumn it returns me a -1

The field this limited one at 10 and it returns me a -1, according to the
help it is that he doesn't have you limit


Greetings
 
It is an error documented who interests him

http://support.microsoft.com /?scid=kb;es;317175

So that it works before the adapter.fill it is necessary to put this it
lines

adapter.MissingSchemaAction = MissingSchemaAction.AddWithKey

With this it already returns the correct fact.

Greetings and thank you to answer
 

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