pRelaese.Controls.Add(DynamicGrid(dt));
string[] GridName = hdnGridName.Value.Split(','); foreach (string GN in GridName) { GV = this.FindControl("pRelaese").FindControl(GN) as GridView;//tried this pnl = (Panel)Page.FindControl("pRelaese");//tried this GV = (GridView)pnl.FindControl(GN);//tried this if (GV != null) { foreach (GridViewRow GVR in GV.Rows) { //codes } } }
null
GV
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)