How to get the values displayed / present in a control present in the grid view
-
I have a GridView, which is associated with a sqldatasource. Not every values retrived by the sqldatasource from the database table is displayed in the grid view. From the code-behind (.aspx.cs), i want to access this data for every row and decide whether a button present in that row shall be visible/invisible. Please help ...
Apurv
-
I have a GridView, which is associated with a sqldatasource. Not every values retrived by the sqldatasource from the database table is displayed in the grid view. From the code-behind (.aspx.cs), i want to access this data for every row and decide whether a button present in that row shall be visible/invisible. Please help ...
Apurv
You can handle gridview's databind events like
RowDataBound
. You will get access to current row.All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
You can handle gridview's databind events like
RowDataBound
. You will get access to current row.All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions