Click here to Skip to main content
15,886,689 members
Home / Discussions / Database
   

Database

 
QuestionHow to find SQL Server name? Pin
AmbiguousName29-Sep-10 4:13
AmbiguousName29-Sep-10 4:13 
AnswerRe: How to find SQL Server name? Pin
Karthik. A29-Sep-10 4:36
Karthik. A29-Sep-10 4:36 
GeneralRe: How to find SQL Server name? Pin
AmbiguousName29-Sep-10 5:06
AmbiguousName29-Sep-10 5:06 
GeneralRe: How to find SQL Server name? Pin
Karthik. A29-Sep-10 7:41
Karthik. A29-Sep-10 7:41 
GeneralRe: How to find SQL Server name? Pin
Mycroft Holmes29-Sep-10 15:55
professionalMycroft Holmes29-Sep-10 15:55 
QuestionUnLock Stored Procedures Pin
jojoba201129-Sep-10 3:01
jojoba201129-Sep-10 3:01 
AnswerRe: UnLock Stored Procedures Pin
Mycroft Holmes29-Sep-10 12:11
professionalMycroft Holmes29-Sep-10 12:11 
QuestionData Binding, Combo Boxes, and Related tables. Pin
patzerFish28-Sep-10 14:10
patzerFish28-Sep-10 14:10 
I have two sql tables with the following layout:

Table: Calls
ID - int, PK
ReportGroupID - int, FK -> ReportGroups.ID
Name - nvarchar(50)
PhoneNumber - nvarchar(50)
(other data items)

Table: ReportGroups
ID - int, PK
ReportGroupName - nvarchar(50)

I'm developing in C#, VS 2008. The windows forms interface has the following elements:

listbox - lists the Data in Calls.PhoneNumber
- I have this data bound to a dataset that has this data.

form controls - when a user selects an entry in the listbox, the data is displayed in these controls.
- Fairly straightforward data binding.

report groups combo box - this combo box will display the ReportGroupName based on the Calls.ReportGroupID of the selected item in the listbox.
- HELP!!

I managed to get this working to some degree at one point, but saving the data did not work - despite the dataset being persisted between changing of records. Here's what I really want help with:

1) I have not been able to find a good resource that goes in depth into the whole Dataset->DataAdapter->TableAdapter->TableAdapterManager relationship. Any pointers in the right direction either online or printed would be great. I feel like I'm just on the cusp of getting the right information out.

2) If there is a specific and simple way I am missing the implementation of this sort of behavior by using the Visual Studio designers, it would really help things along on my end.

Thanks!
AnswerRe: Data Binding, Combo Boxes, and Related tables. Pin
Mycroft Holmes28-Sep-10 14:40
professionalMycroft Holmes28-Sep-10 14:40 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
PIEBALDconsult28-Sep-10 14:54
mvePIEBALDconsult28-Sep-10 14:54 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
Mycroft Holmes28-Sep-10 15:15
professionalMycroft Holmes28-Sep-10 15:15 
AnswerRe: Data Binding, Combo Boxes, and Related tables. Pin
Luc Pattyn28-Sep-10 15:34
sitebuilderLuc Pattyn28-Sep-10 15:34 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
Mycroft Holmes28-Sep-10 15:43
professionalMycroft Holmes28-Sep-10 15:43 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
Luc Pattyn28-Sep-10 15:54
sitebuilderLuc Pattyn28-Sep-10 15:54 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
Roger Wright29-Sep-10 3:13
professionalRoger Wright29-Sep-10 3:13 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
Mycroft Holmes29-Sep-10 12:09
professionalMycroft Holmes29-Sep-10 12:09 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
Roger Wright29-Sep-10 17:00
professionalRoger Wright29-Sep-10 17:00 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
MSBassSinger30-Sep-10 3:24
professionalMSBassSinger30-Sep-10 3:24 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
Mycroft Holmes30-Sep-10 12:03
professionalMycroft Holmes30-Sep-10 12:03 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
MSBassSinger30-Sep-10 12:24
professionalMSBassSinger30-Sep-10 12:24 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
patzerFish30-Sep-10 4:20
patzerFish30-Sep-10 4:20 
GeneralRe: Data Binding, Combo Boxes, and Related tables. Pin
Mycroft Holmes30-Sep-10 11:53
professionalMycroft Holmes30-Sep-10 11:53 
AnswerRe: Data Binding, Combo Boxes, and Related tables. Pin
underclocker30-Sep-10 6:00
underclocker30-Sep-10 6:00 
Questionnew line Pin
scottichrosaviakosmos25-Sep-10 23:00
scottichrosaviakosmos25-Sep-10 23:00 
AnswerRe: new line Pin
Mycroft Holmes25-Sep-10 23:40
professionalMycroft Holmes25-Sep-10 23:40 

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.