J
Jason
Hello
I've got a very simple C# app, that has a datagrid, a text box, and a button
which when clicked opens a second form...
Form2 frm2 = new Form2();
frm2.Show();
When I place a datagrid, onto form1 I point to a DB called Test DB and then
my text box, I modify the databinding property to my bindingSource which in
my case is called inventoryBindingSourse. What I'm interested in doing is
when I click the button on form1 is to pass the current row to the second
form and display the entire row in form2. That sounds simple but I don't
know how to grab the current row, pass that to my second form and display
that data into text boxes.
Any idea's or example would be appreciated.
Jason
I've got a very simple C# app, that has a datagrid, a text box, and a button
which when clicked opens a second form...
Form2 frm2 = new Form2();
frm2.Show();
When I place a datagrid, onto form1 I point to a DB called Test DB and then
my text box, I modify the databinding property to my bindingSource which in
my case is called inventoryBindingSourse. What I'm interested in doing is
when I click the button on form1 is to pass the current row to the second
form and display the entire row in form2. That sounds simple but I don't
know how to grab the current row, pass that to my second form and display
that data into text boxes.
Any idea's or example would be appreciated.
Jason