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.
精彩评论