开发者

Grid View inside Grid view

I have a master grid and a child grid which is one of the column of the master Grid and whose data is getting bound to datasource on rowDataBound of master grid view. Now the thing that I want is to get t开发者_开发百科he value of one of the columns of the master grid on the row command of the child grid. Is it possible in any way?

Please suggest

Vikram


In the RowDataBound event of the Master Page Grid (you are already using this event), get a reference to a Control (button, link button) in the child grid and set it's CommandName and CommandArgument properties as needed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜