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
 
Back
Top