datagridview width as per data size,vb.net code example
Example: c# datagridview column size
dataGridView1.Columns[1].Width = 100; // or whatever width you want ^_*
dataGridView1.Columns[2].Width =
dataGridView1.Columns[1].Width = 100; // or whatever width you want ^_*
dataGridView1.Columns[2].Width =