Select DataGridView row

I am working on a program for customers,, Simply,, I have two forms:
Form1 contain datagridview to show all the customers..
Form2 contain Customer ID, Customer First Name, Customer Last Name, Customer Importance (all TextBox)
I am using VB.Net 2005 Express and SQL 2005 Express Edition..

I need to know how If the users click on a row in a datagridview it show the full record(row) in the second form.

I have done the second page correctly when it show the record with a buttons add, update save and delete..

but how can I show the full row with its values to the form 2 in textbox ...
I prefer a sample code if avaliable..
Regards,
jaleelsharafAsked:
Who is Participating?
 
DhaestConnect With a Mentor Commented:
Did you take a look at the master/detail-structure ?
How to: Create a Master/Detail Form Using Two Windows Forms DataGridView Controls
http://msdn2.microsoft.com/en-us/library/c12c1kx4.aspx

Add, Edit, and Delete in DataGridView (in the grid - c#-example)
http://www.codeguru.com/csharp/.net/net_data/datagrid/article.php/c13041/
0
All Courses

From novice to tech pro — start learning today.