If you want to hide any column Of a grid you have hide it after load the grid.
Now i want to hide the id Column which contain 1,2,3,4.....
then the code will be on load event of the grid :
after hide the Id column it will be look life
Thank you.
Now i want to hide the id Column which contain 1,2,3,4.....
then the code will be on load event of the grid :
private void LoadDivisionGridData()
{
_divisionslist = new List<Division>();
_divisionslist = _divisionManagerObj.GetAllDivisionInfo();
divisionGridView.DataSource = _divisionslist;
divisionGridView.DataBind();
ResetAllField();
divisionGridView.Columns[0].Visible = false;
}
after hide the Id column it will be look life
Thank you.
Comments
Post a Comment