I am doing a task Master-Detail, for this I have taken two grids where I will initially bind a grid view at this point I would like to select the first row and display the corresponding details in the second grid view. Like that when I select the later I would like to bind the corresponding details.
Sample data in my database
Table1
EmpID FedID
1 1234
2 6546
Table2
EmpID Name
1 ABCD
2 EFGH
Initially I would like to load the first record details in the second grid view and show .
Means on Initial page load I will show the Table1 data in gridview1 immediately I would like to show the second grid view as follows
EmpID Name
1 ABCD
I would like to achieve this from server side code
This is the one I would like to achieve http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx
from server side code
Sample data in my database
Table1
EmpID FedID
1 1234
2 6546
Table2
EmpID Name
1 ABCD
2 EFGH
Initially I would like to load the first record details in the second grid view and show .
Means on Initial page load I will show the Table1 data in gridview1 immediately I would like to show the second grid view as follows
EmpID Name
1 ABCD
I would like to achieve this from server side code
This is the one I would like to achieve http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx
from server side code