J
Jos 78
I have been a Delphi developer for some years now and am currently learning
C#.NET. I would like your opinion on the following:
Suppose I have Form1 with a read-only DataGrid component on it which
contains a list of Customers. Now I would like to be able to doubleclick on
the grid to open a second form (Form2), which would enable me to edit the
selected customer's name, phone etc.
Now the problem is I can't seem to bind the TextBoxes on Form2 to the
DataSet on Form1 (which was the way it's done in Delphi). Can anyone
explain to me the easiest way to do this in dotNET?
Should I create a new DataSet on Form2, and merge things from one DataSet
into the other? This seems a little awkward as I would be copying an entire
table just to edit one row.
All help greatly appreciated!
C#.NET. I would like your opinion on the following:
Suppose I have Form1 with a read-only DataGrid component on it which
contains a list of Customers. Now I would like to be able to doubleclick on
the grid to open a second form (Form2), which would enable me to edit the
selected customer's name, phone etc.
Now the problem is I can't seem to bind the TextBoxes on Form2 to the
DataSet on Form1 (which was the way it's done in Delphi). Can anyone
explain to me the easiest way to do this in dotNET?
Should I create a new DataSet on Form2, and merge things from one DataSet
into the other? This seems a little awkward as I would be copying an entire
table just to edit one row.
All help greatly appreciated!