Author: cgs120 | Posted on: 12/4/2009 1:26:32 PM | Views : 273

  I have gridview1 (sqldatasource1) and on column it is template column. This column holds another gridview (gridview2, sqldatasource2) Now on GridView1_RowDataBound I select sqldatasource parameters for sqldatasource2   everything works great. I can edit gridview2 as it is.   NOW THE PROBLEM : I need to change some parameters for sqldatasource2 from code behind, when user clicks on edit link in gridview2 The problem is that I can not access sqldatasource2 from code behind I could use gridview1.row(row_number_here).findcontrol("sqldatasource2") - but I can not find the way to check what is current row (row_number_here)   ...

Go to the complete details ...