W
Wingot
Hey,
I have a program I am trying to write using Visual C#, SQL Server
2005/2008, and Visual Studio 2008, and one part of it includes a Schema
called Client. Inside this schema, three tables exist named Country,
MedicalCondition, and Customer.
The Customer table includes various fields, but the important ones for
this problem are MedicalCondition, Country, BillTo, EmergencyContact1
and EmergencyContact2.
What I want to do is have each of these five fields, which are linked
via foreign keys, as selectable dropdown boxes. The Customer entry view
is using Details view, not a DataGrid view, and so I am having
difficulty figuring out how to do this.
As an example, when someone clicks on the dropdown for MedicalCondition,
it should display the MedicalCondition.Name fields as the options. When
they select one, it places the MedicalCondition.MedicalConditionID into
the MedicalCondition field of the Customer database.
Any help greatly appreciated.
Regards,
Wingot
I have a program I am trying to write using Visual C#, SQL Server
2005/2008, and Visual Studio 2008, and one part of it includes a Schema
called Client. Inside this schema, three tables exist named Country,
MedicalCondition, and Customer.
The Customer table includes various fields, but the important ones for
this problem are MedicalCondition, Country, BillTo, EmergencyContact1
and EmergencyContact2.
What I want to do is have each of these five fields, which are linked
via foreign keys, as selectable dropdown boxes. The Customer entry view
is using Details view, not a DataGrid view, and so I am having
difficulty figuring out how to do this.
As an example, when someone clicks on the dropdown for MedicalCondition,
it should display the MedicalCondition.Name fields as the options. When
they select one, it places the MedicalCondition.MedicalConditionID into
the MedicalCondition field of the Customer database.
Any help greatly appreciated.
Regards,
Wingot