asp.net.ph

DataColumn.MaxLength Property

System.Data Namespace   DataColumn Class


Sets or retrieves the maximum length of a text column.

Syntax


Script DataColumn.MaxLength = intChars

Property Value


intChars The maximum length of the column in characters. If the column has no maximum length, the value is –1 ( default ).

The property is read/write with no default value.

Remarks

The MaxLength property is ignored for non-text columns.

See Also

DataColumn Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph