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

Database

 
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 
AnswerRe: Data Binding, Combo Boxes, and Related tables. PinPopular
Mycroft Holmes28-Sep-10 14:40
professionalMycroft Holmes28-Sep-10 14:40 
patzerFish wrote:
Dataset->DataAdapter->TableAdapter->TableAdapterManager relationship


Here, I believe, lies the cause of your problem. Once you start relying on the Adapters you are screwed, they are sufficient for simplistic solutions and most devs abandon them fairly early in their career.

Move to a properly implemented DAL (or even better build one). A simple one is fairly easy and should only take a couple of days, you need the CRUD methods that service DATATABLES only, rarely should you be loading a dataset (implies multiple tables returned) from a procedure.

Now you have your data in nice easy to use datatables or List<> you need to use BindingSource as the datasource for your controls, this will give you greater control over your UI.

Note: This is a personal opinion, however I have been using this design successfully for many years.
Never underestimate the power of human stupidity
RAH

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 
AnswerRe: new line Pin
Corporal Agarn28-Sep-10 6:44
professionalCorporal Agarn28-Sep-10 6: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.