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




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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