Are you looking for the DataColumn.MaxLength property
(DataTable.Columns[x].MaxLength)?  You cannot set it in the constructor,
you have to change it on the DataColumn object after it is instantiated.

Eric C. Willman


-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Young
Sent: Friday, June 18, 2004 2:31 PM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] DataColumn length

Hi There,

By default, each column in the datatable has the same width, is there
any
WAY TO set them differently.?

Thanks

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to