ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.ASP.Net DataColumn Error: Cannot set Column 'DataList'. The value violates the MaxLength limit of this column<p>Hi&nbsp;<a class="username" rel="chetan">chetan,</a></p> <p>Set the MaxLength property for Datalist column after filling the DataTable.</p> <p><strong>C#</strong></p> <pre class="brush: csharp">dt.Columns[&#34;Datalist&#34;].MaxLength = int.MaxValue;</pre> <p><strong>VB.Net</strong></p> <pre class="brush: vb">dt.Columns(&#34;Datalist&#34;).MaxLength = Integer.MaxValue</pre> <p>&nbsp;</p>, 18 Dec 2018 23:53:31 GMT