开发者

Grid View inside Grid view

开发者 https://www.devze.com 2023-01-12 14:58 出处:网络
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 g

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

精彩评论

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

关注公众号