DataTable - MaxLength

  • Thread starter Thread starter Mr. X.
  • Start date Start date
M

Mr. X.

In C#, VS 2008, I want to set the value of DataTable.MaxLength property.
The permitted value is only negative.

How can I do that ? (set real positive value)

Thanks :)
 
The error message :
MaxLength applies to string data type only. You cannot set Column 'myColumn'
property MaxLength to be non-negative number.
 

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