Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the typical way?
Message
From
09/02/2003 16:24:13
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00751194
Message ID:
00751212
Views:
20
Ahmad,

>>Should I make a DataRelation between 2 tables, OR
>>Use .Find method every time the user clickes “Next” or “Back” button to display member information?

Neither ... all you have to do is data bind your ComboBox to the "code" column in the "members" table.

~~Bonnie



>Dear All,
>
>I have window form displays all members basic information, & members data saved to members table, One of these information is for member nationality (as a ComboBox in the form).
>
>Nationality list are in a separate table with only “nationality” and “Code” fields & “Code” as PK.
>
>In members table only nationality “Code” is stored.
>
>Now, when I display the members data, nationality combobox should point to the correct code in the nationality table.
>
>Should I make a DataRelation between 2 tables, OR
>Use .Find method every time the user clickes “Next” or “Back” button to display member information?
>
>Note:
>I have 5 combobox’s in the member form uses the above method of displaying the data based on master tables.
>
>Thanks for the advice.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform