J
James McGivney
In a C# program I have an SQL database.
A data adapter is connected to the database and a dataset
has been generated.
I would like to populate a listBox (or comboBox) from the
dataset such that the user can select a record to be
edited.
I would like to have the user be able to select the
information to populate the listBox from a number of
sorted database fields. ie: sorted ID#, sorted age,
sorted LastName, sorted years of service, etc.
This must be a common task in C#.
Any sample code or KB articles or other resources would
be appreciated.
Thanks in advance for your help.
Jim
A data adapter is connected to the database and a dataset
has been generated.
I would like to populate a listBox (or comboBox) from the
dataset such that the user can select a record to be
edited.
I would like to have the user be able to select the
information to populate the listBox from a number of
sorted database fields. ie: sorted ID#, sorted age,
sorted LastName, sorted years of service, etc.
This must be a common task in C#.
Any sample code or KB articles or other resources would
be appreciated.
Thanks in advance for your help.
Jim