E
esroinc
Have Form1 with dataGrid and text boxes bound to a dataset. This works
fine. Want to bring up another form (Form2) with text boxes to edit
the dataset. Using "this.textBox1.DataBindings.Add("Text",
classinstanceForm1.ds, NamesAddresses.FirstName"); will put the first
record in the database table in the text box, but will not put the
dataGrid selected record on Form1 in the Form2 text box. Need to
associate the text boxes on Form2 with the text boxes and dataGrid
selection on Form1.
fine. Want to bring up another form (Form2) with text boxes to edit
the dataset. Using "this.textBox1.DataBindings.Add("Text",
classinstanceForm1.ds, NamesAddresses.FirstName"); will put the first
record in the database table in the text box, but will not put the
dataGrid selected record on Form1 in the Form2 text box. Need to
associate the text boxes on Form2 with the text boxes and dataGrid
selection on Form1.