F
Fraggle_Rock_1
I have a dataset like so
|ID | type | Name
------------------
|1 | 1 | ham
|2 | 2 | fish
|1 | 2 | lard
|2 | 1 | spam
the data is coming from 2 tables in a database being forced into the
same table in the dataset. There are 2 "types" the ID's are autonumbers
in the database, but in the table in the dataset they are not unique.
ID+type would work as a primary Key.
How can i bind this to a dropdown so the user will see (name), the
system will display a different panel based on the Type, and fill the
controls in the panel depending on the ID of the selection (and using
the appropriate sproc for the particular type of the selection.).
Cheers
Frag
|ID | type | Name
------------------
|1 | 1 | ham
|2 | 2 | fish
|1 | 2 | lard
|2 | 1 | spam
the data is coming from 2 tables in a database being forced into the
same table in the dataset. There are 2 "types" the ID's are autonumbers
in the database, but in the table in the dataset they are not unique.
ID+type would work as a primary Key.
How can i bind this to a dropdown so the user will see (name), the
system will display a different panel based on the Type, and fill the
controls in the panel depending on the ID of the selection (and using
the appropriate sproc for the particular type of the selection.).
Cheers
Frag