I have a windows application of C# which contains two text boxes (where we are entering ID and name) and a datagridView contol. I am storing the data entered through textboxes in the table and displaying data from the tablle in the daaGridView. Now I am adding a button to update the data. Its working fine. Now I want to know the code for the following applicatiion.
"While clicking a row in the dataGridView, the corresponding values of that row should appear in the corresponding textboxes so that I can update only required fields in the record and avoid entering all fields everytime i have to update."
Since this is the dynamic event(We can click the row only when application is running), plz give me exact code.
Waiting for ur kind replies.