E
Ed Warren
I'm an 'old hand at Access' trying to convert to Visual Studio .net
I'm at the end of frustration over what is probably a very simple problem.
I want to implement the following User interface.
Display data for all rows from one column from a dataset (Dset1) in a
listview box (ListView1), in a panel (Panel_1) on the left side of the form.
When the user selects a row in listview1, then the rest of the columns are
displayed in a panel (Panel2) to the right in text boxes.
Panel 1:
ListBox1:
Row1.Item1
Row2.Item1
Row3.Item1
......
Panel2:
Textbox1: Row1.Item2
Textbox2: Row1.Item3
...........
Once I get this working I will need to be able to update the recordset with
any changes in the textboxes.
In at least one post I have found:
"A bound form means that you have identified a Row Source for your form.
You
then bind fields from the Row Source (a table or query) to controls on the
form. This is the most common way to get the field data to display on your
form. Each time you select a new record, the field data is loaded into the
form control it is bound to. "
I would greatly appreciate a 'step by step' discription of how to accomplish
this. Every example I can find uses datagrids, good but not what we need to
implement.
(Note: I know data, I am a beginner with Visual Studio, I'm working in
VStudio 2003 so I don't have the 2005 widgets which appear to make this
somewhat easier.)
Thanks,
Ed Warren.
I'm at the end of frustration over what is probably a very simple problem.
I want to implement the following User interface.
Display data for all rows from one column from a dataset (Dset1) in a
listview box (ListView1), in a panel (Panel_1) on the left side of the form.
When the user selects a row in listview1, then the rest of the columns are
displayed in a panel (Panel2) to the right in text boxes.
Panel 1:
ListBox1:
Row1.Item1
Row2.Item1
Row3.Item1
......
Panel2:
Textbox1: Row1.Item2
Textbox2: Row1.Item3
...........
Once I get this working I will need to be able to update the recordset with
any changes in the textboxes.
In at least one post I have found:
"A bound form means that you have identified a Row Source for your form.
You
then bind fields from the Row Source (a table or query) to controls on the
form. This is the most common way to get the field data to display on your
form. Each time you select a new record, the field data is loaded into the
form control it is bound to. "
I would greatly appreciate a 'step by step' discription of how to accomplish
this. Every example I can find uses datagrids, good but not what we need to
implement.
(Note: I know data, I am a beginner with Visual Studio, I'm working in
VStudio 2003 so I don't have the 2005 widgets which appear to make this
somewhat easier.)
Thanks,
Ed Warren.