C# DataTable Column '' is read only. foreach (System.Data.DataColumn col in dt1.Columns) col.ReadOnly = false;