2
Answers

GridView.DataBind() in asp.net web forms is not working

I have used the following asp.net code snippets in code behind in my asp.net web forms project tagettting .net 
framework version=4.5:-------- 
GrdGRn.DataSource = DtAll;
GrdGRn.DataBind();
where DtAll is the data table which is being succesfully populated when observed via debugger but unfortunately
the grid is not being binded  and is not shown even after setting  GrdGRn.Visible=true;
I need help in this regard. 
 
 
Answers (2)