I have a problem with Datatable in C #. I have Datatable columns. I want to manually set the size of the columns, how to do this?
this is the code:
dt = new DataTable(); DataColumn culAvs = new DataColumn("Avskiping", typeof(string)); DataColumn culKota = new DataColumn("Kota", typeof(string)); dt.Columns.Add(culAvs); dt.Columns.Add(culKota); dataGrid1.DataSource = dt;
Roi84
source share