Snippets has posted 5883 posts at DZone. View Full User Profile
Sets the maximum length of a text column in datatable.
DataColumn col= new DataColumn();
col.ColumnName = "StudentId";
col.MaxLength = 255;
// Add the column to the datatable
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...