1
Answer

show templatefield gridview in gridvi only for selected row

Boguda Boguda

Boguda Boguda

9y
684
1

HI

I created webform with gridview and in that gridview I have templatefield gridview.

Gridview1 is bind by ObjectDatasource1 and Gridview2(templatefield) is bind by ObjectDatasource2.
ObjectDatasource2 have method GetAllScanLogRow(Int32 SLID), returns List<ScanLogRow> 
and parameter sourceis Control GridView1.
When I select row I GridView1 I want to display templatefield GridView2 but only for that row.
Now I got displayed gridview in every row with same data   
Answers (1)