Hi there everyone. I am using VS 2003 on Framework 1.1. ASP.NET and VB.NET
Anyway, I would like to get some ideas from you on how I am going to implement this.
I want to design a master-detail datagrid. I know how to populate the datagrid already with data from a database table (either by dataset or datareader). What i want to do next is on the master datagrid, when the I click on the row, its details would be displayed on a datagrid detail.
I want to know what event should I be coding to in the master datagrid to be able to select the row clicked and highlight it as well and then retrieve the data from that row so as to display it in the datagrid detail.
Summing up:
MasterDataGrid - row should be highlighted where user clicks, an event is fired up to display the data. I wish to know which event i would put my code so as to get the details of the highlighted row and get the data there (let us say, the primary key of the data). Retrieving the detail should be no problem once I am able to get the primary key of the master datagrid.
Thanks everyone.