How to hide column in DataGridview??
In which event of Data Gridview should I write the code??
I know how to hide column in Web C# but dont know in Windows??
plzz...help me
This Way
this.dataGridView1.Columns[0].Visible = false;
Where 0 is the index of the column you can hide the column column after DataGridView is bind.
Refer: 1. Hide particular column in GridView in code behind in ASP.Net
Refer
http://msdn.microsoft.com/en-us/library/0c24a0d7.aspx
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.