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