Hi Team,
While adding the data to clone datatable using below code.
i getting on error. can tell how to add max length as -1 in the linq
Code :
(From r In Out_Dt.AsEnumerable()
Let va = r.ItemArray
Select Dt_New.Rows.Add(va)).CopyToDataTable
Error:
Assign: Cannot set column ‘Col1’. The value violates the MaxLength limit of this column.
Thanks
Shyam