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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DhaestCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.