Click here to Skip to main content
15,923,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to validate name with databae table (no space) Pin
LTMKH27-Nov-09 15:57
LTMKH27-Nov-09 15:57 
GeneralRe: how to validate name with databae table (no space) Pin
Shameel27-Nov-09 18:54
professionalShameel27-Nov-09 18:54 
GeneralRe: how to validate name with databae table (no space) Pin
LTMKH27-Nov-09 20:33
LTMKH27-Nov-09 20:33 
GeneralRe: how to validate name with databae table (no space) Pin
Shameel27-Nov-09 21:54
professionalShameel27-Nov-09 21:54 
GeneralRe: how to validate name with databae table (no space) Pin
LTMKH30-Nov-09 15:16
LTMKH30-Nov-09 15:16 
GeneralRe: how to validate name with databae table (no space) Pin
LTMKH30-Nov-09 15:18
LTMKH30-Nov-09 15:18 
QuestionC# ADO.net Adapter Update Question. Pin
adamzimmer24-Nov-09 17:00
adamzimmer24-Nov-09 17:00 
AnswerRe: C# ADO.net Adapter Update Question. Pin
PIEBALDconsult24-Nov-09 18:18
mvePIEBALDconsult24-Nov-09 18:18 
DataAdapters are very simple; they can only do very simple things. They are really only good for writing quick-and-dirty demoes at Microsoft launch events. Any non-trivial application will quickly become complex enough that a DataAdapter will be of no use -- especially Update.

I don't use DataAdapters and neither should you (or anyone else for that matter); they cause more trouble than they're worth. You would be much better off in the long run, learning how to access databases at a lower level.

ExecuteScalar, ExecuteNonQuery, DataAdapter.Fill, and DataAdapter.Update all use ExecuteReader (and therefore DataReaders); learn to use DataReaders.



(I think part of your problem above may be that myDataAdapter gets changed between calls to openDatabase and updateDatabase. But the whole thing should be rewritten. Dead | X| )
GeneralRe: C# ADO.net Adapter Update Question. Pin
adamzimmer25-Nov-09 4:42
adamzimmer25-Nov-09 4:42 
AnswerRe: C# ADO.net Adapter Update Question. Pin
Mycroft Holmes24-Nov-09 18:52
professionalMycroft Holmes24-Nov-09 18:52 
AnswerRe: C# ADO.net Adapter Update Question. Pin
dxlee25-Nov-09 3:52
dxlee25-Nov-09 3:52 
GeneralRe: C# ADO.net Adapter Update Question. Pin
adamzimmer25-Nov-09 4:52
adamzimmer25-Nov-09 4:52 
QuestionMSMQ Pin
Tiger45624-Nov-09 7:11
Tiger45624-Nov-09 7:11 
AnswerRe: MSMQ Pin
Jimmanuel24-Nov-09 7:31
Jimmanuel24-Nov-09 7:31 
AnswerRe: MSMQ Pin
David Skelly24-Nov-09 22:35
David Skelly24-Nov-09 22:35 
QuestionWindows App Published with Visual Studio 2005 comes up blank Pin
JTRizos24-Nov-09 7:01
JTRizos24-Nov-09 7:01 
QuestionChange Calendar Type of DateTimePicker ? Pin
Mohammad Dayyan24-Nov-09 6:17
Mohammad Dayyan24-Nov-09 6:17 
AnswerRe: Change Calendar Type of DateTimePicker ? Pin
Abhishek Sur24-Nov-09 11:16
professionalAbhishek Sur24-Nov-09 11:16 
QuestionWindows service schedule Pin
Priya Prk24-Nov-09 4:16
Priya Prk24-Nov-09 4:16 
AnswerRe: Windows service schedule Pin
Calla24-Nov-09 4:24
Calla24-Nov-09 4:24 
GeneralRe: Windows service schedule Pin
Priya Prk24-Nov-09 4:29
Priya Prk24-Nov-09 4:29 
GeneralRe: Windows service schedule Pin
PIEBALDconsult24-Nov-09 6:08
mvePIEBALDconsult24-Nov-09 6:08 
AnswerRe: Windows service schedule Pin
PIEBALDconsult24-Nov-09 4:29
mvePIEBALDconsult24-Nov-09 4:29 
AnswerRe: Windows service schedule Pin
Covean24-Nov-09 4:40
Covean24-Nov-09 4:40 
AnswerRe: Windows service schedule Pin
Shameel24-Nov-09 4:44
professionalShameel24-Nov-09 4: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.