Hide & show a Column in Datagridview using C#.net

Naraayanan
Posted by Naraayanan under C# category on | Points: 40 | Views : 3103
Hide a column in Datagridview:
dataGridView1.Columns["Column Name"].Visible = false;

Show a column in Datagridview:
dataGridView1.Columns["Column Name"].Visible = true;

Comments or Responses

Login to post response