write following code in child RowCommand :
----------------------------------------------------
GridView gv = (GridView)sender;
HiddenField hdbatch_name = (HiddenField)gv.Parent.FindControl("hbbatch");
HiddenField hdcourse_name = (HiddenField)gv.Parent.FindControl("hdcourse");
----------------------------------------------------
GridView gv = (GridView)sender;
HiddenField hdbatch_name = (HiddenField)gv.Parent.FindControl("hbbatch");
HiddenField hdcourse_name = (HiddenField)gv.Parent.FindControl("hdcourse");
No comments:
Post a Comment