Textbox in Form2 shows information from DataGridView in Form1

I figured this would be super simple but im having a hard time finding anything on google.

Basically I have a datagridview on Form1. This datagridview shows columns 1 through 3 (lets say there is a 10 datacolumns).
I want to be able to click on the row of the datagridview, display Form2, have 10 textbox's show the information that is bound in formA. and then eventually just update all the information / save.

Basically form1 = gridview, form2 = detailsview.

the datagridview is being populated from a dataset, that is being populated by an xml file.

What you could do is On click of the datagird row of form1 which has 3 columns (i am assuming you are keeping the Primary Key column as one of the 3 columns)
retreive the PK colimn value do a select from the dataset based on thsi PK get those datarows and use it populate your second grid.

Thank you your response. Thats exactly what I had in mind, my troubles are finding the code for selecting the dataset based on the pk. And instead of "populating" a 2nd grid, I am just trying to populate a 2nd form containing textbox's. Written below is what I am trying to do, just trying to find the right code for it is what is killing me!

//In your form2 overload the constructor to have 10 string arguments
so when you open the form it can assign the values obtained above directly to it's txtbox
Form2 objFrm2 = new Form2("Pass all the values here...strTxtBox1 ,strTxtBox2....and so on")

It can bed done with very littel coding (infact you just have to define some bindings):

If you use a BindingSource, and bind both your datagrid and your textfields to the same instance of BindingSource (make the DataBinding object in form1 and parse it to form2), you will automatic get them in sync.

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…

Exception Handling is in the core of any application that is able to dignify its name.
In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.