Click here to Skip to main content
15,901,368 members
Home / Discussions / Database
   

Database

 
AnswerRe: Selection + Selection + Selection Pin
Colin Angus Mackay5-Dec-05 22:41
Colin Angus Mackay5-Dec-05 22:41 
QuestionDatabase, selecting the primary key Pin
steve_rm5-Dec-05 5:06
steve_rm5-Dec-05 5:06 
AnswerRe: Database, selecting the primary key Pin
Duncan Edwards Jones5-Dec-05 6:15
professionalDuncan Edwards Jones5-Dec-05 6:15 
AnswerRe: Database, selecting the primary key Pin
S Douglas7-Dec-05 0:15
professionalS Douglas7-Dec-05 0:15 
QuestionSave and retrieve picture Pin
Mohammad Daba'an4-Dec-05 22:35
Mohammad Daba'an4-Dec-05 22:35 
AnswerRe: Save and retrieve picture Pin
Farhan Noor Qureshi5-Dec-05 10:27
Farhan Noor Qureshi5-Dec-05 10:27 
QuestionServer Explorer in NET VS.2003 Pin
cduwel4-Dec-05 4:06
cduwel4-Dec-05 4:06 
QuestionBinding Database to multiple controls Pin
Taen_Karth3-Dec-05 21:27
Taen_Karth3-Dec-05 21:27 
This was posted in the VB forum as well since I was not sure which it pertained to.

Ok, not sure exactly how to word this so here goes. I have a winform in my project that has the following:

Controls

1. DropDownList1 - Customer Name
2. TextBox1 - Customer ID
3. DropDownList2 - Site Name

DataBase Tables

1. tblCust - Fields(CustName, CustID, Status)
2. tblCustSiteAssoc - Fields(CustId, CustSiteID)
3. tblCustSite - Fields(CustSiteID, CustSiteName, ...)

What I am trying to do is this:
1. When the form open have customers names bound to the DropDownList1 control with nothing selected
2. Once I select something in the DropDownList1 control (SelectedIndexChanged) have it update the other two controls with the selected customers' data.

I assume I make a DataSet that queries all three tables and I understand how to bind the CustName to the first DropDownList box. What I don't understand is how to use the selected information to get the relevant information for the other two controls.


Thanks in advance,

Taen Karth

Thanks,

Taen Karth
QuestionCan ADO be used in C (not C++) Pin
FFKONG3-Dec-05 12:36
FFKONG3-Dec-05 12:36 
AnswerRe: Can ADO be used in C (not C++) Pin
Rob Graham3-Dec-05 15:24
Rob Graham3-Dec-05 15:24 
AnswerRe: Can ADO be used in C (not C++) Pin
Matt Gullett3-Dec-05 17:18
Matt Gullett3-Dec-05 17:18 
GeneralRe: Can ADO be used in C (not C++) Pin
FFKONG4-Dec-05 22:01
FFKONG4-Dec-05 22:01 
GeneralRe: Can ADO be used in C (not C++) Pin
Farhan Noor Qureshi5-Dec-05 10:28
Farhan Noor Qureshi5-Dec-05 10:28 
QuestionDateTime Updating Problem in sql2000? Pin
majidbhutta3-Dec-05 0:08
majidbhutta3-Dec-05 0:08 
AnswerRe: DateTime Updating Problem in sql2000? Pin
Chris Meech5-Dec-05 3:41
Chris Meech5-Dec-05 3:41 
QuestionSQL Server 2005 Report Builder Pin
su772-Dec-05 12:40
su772-Dec-05 12:40 
QuestionRemove duplicates from result set Pin
jszpila2-Dec-05 4:48
jszpila2-Dec-05 4:48 
AnswerRe: Remove duplicates from result set Pin
sreejith ss nair2-Dec-05 6:10
sreejith ss nair2-Dec-05 6:10 
GeneralRe: Remove duplicates from result set Pin
jszpila2-Dec-05 6:22
jszpila2-Dec-05 6:22 
GeneralRe: Remove duplicates from result set Pin
sreejith ss nair2-Dec-05 6:24
sreejith ss nair2-Dec-05 6:24 
GeneralRe: Remove duplicates from result set Pin
jszpila2-Dec-05 6:27
jszpila2-Dec-05 6:27 
QuestionHelp Me plz abt this dateTime UDF_Function? Pin
majidbhutta1-Dec-05 15:32
majidbhutta1-Dec-05 15:32 
AnswerRe: Help Me plz abt this dateTime UDF_Function? Pin
sreejith ss nair2-Dec-05 6:47
sreejith ss nair2-Dec-05 6:47 
QuestionOLEDB data source issue Pin
Joshua Lunsford1-Dec-05 13:06
Joshua Lunsford1-Dec-05 13:06 
QuestionDatabase sample Pin
sasan561-Dec-05 9:44
sasan561-Dec-05 9:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.