Click here to Skip to main content
15,891,375 members
Home / Discussions / C#
   

C#

 
GeneralRe: Excel 2003 interop Pin
Heath Stewart3-Jun-04 3:45
protectorHeath Stewart3-Jun-04 3:45 
GeneralRe: Excel 2003 interop Pin
Dimitris Iliopoulos3-Jun-04 10:40
Dimitris Iliopoulos3-Jun-04 10:40 
GeneralSound Mixer Control Pin
kratchkov2-Jun-04 10:39
kratchkov2-Jun-04 10:39 
GeneralRe: Sound Mixer Control Pin
Wackatronic2-Jun-04 16:42
Wackatronic2-Jun-04 16:42 
GeneralDataSet not Updating Database Pin
Orville2-Jun-04 10:05
Orville2-Jun-04 10:05 
GeneralRe: DataSet not Updating Database Pin
Heath Stewart2-Jun-04 10:22
protectorHeath Stewart2-Jun-04 10:22 
GeneralRe: DataSet not Updating Database Pin
Orville2-Jun-04 10:36
Orville2-Jun-04 10:36 
GeneralRe: DataSet not Updating Database Pin
Heath Stewart2-Jun-04 10:44
protectorHeath Stewart2-Jun-04 10:44 
It should be obvious: you need to assign a command (like a SqlCommand, OleDbCommand, or whatever is appropriate) to the DataAdapter.UpdateCommand property, using whichever DataAdapter is appropriate. How do you expect the DataAdapter to update the database if it doesn't know how to update the database?

If you use a simple SELECT statement, then you can also use a command builder like the SqlCommandBuilder to build the INSERT, UPDATE, and DELETE statements for a DataAdapter. See the .NET Framework SDK documentation for more details.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: DataSet not Updating Database Pin
Orville2-Jun-04 10:59
Orville2-Jun-04 10:59 
QuestionWant to mouse click a toolbar button? Pin
Anonymous2-Jun-04 9:32
Anonymous2-Jun-04 9:32 
AnswerRe: Want to mouse click a toolbar button? Pin
Heath Stewart2-Jun-04 10:18
protectorHeath Stewart2-Jun-04 10:18 
GeneralRe: Want to mouse click a toolbar button? Pin
Anonymous3-Jun-04 3:34
Anonymous3-Jun-04 3:34 
GeneralDisable auto-incrementing version Pin
Anonymous2-Jun-04 9:31
Anonymous2-Jun-04 9:31 
GeneralRe: Disable auto-incrementing version Pin
Heath Stewart2-Jun-04 9:55
protectorHeath Stewart2-Jun-04 9:55 
GeneralRe: Disable auto-incrementing version Pin
Anonymous2-Jun-04 11:27
Anonymous2-Jun-04 11:27 
GeneralRe: Disable auto-incrementing version Pin
Heath Stewart2-Jun-04 11:49
protectorHeath Stewart2-Jun-04 11:49 
QuestionConfig Files ? Pin
triso2-Jun-04 9:24
triso2-Jun-04 9:24 
AnswerRe: Config Files ? Pin
Heath Stewart2-Jun-04 9:53
protectorHeath Stewart2-Jun-04 9:53 
GeneralRe: Config Files ? Pin
triso2-Jun-04 10:06
triso2-Jun-04 10:06 
GeneralRe: Config Files ? Pin
Heath Stewart2-Jun-04 10:07
protectorHeath Stewart2-Jun-04 10:07 
GeneralRe: Config Files ? Pin
triso2-Jun-04 10:17
triso2-Jun-04 10:17 
GeneralRe: Config Files ? Pin
Heath Stewart2-Jun-04 10:21
protectorHeath Stewart2-Jun-04 10:21 
GeneralRe: Config Files ? Pin
triso2-Jun-04 11:56
triso2-Jun-04 11:56 
GeneralRe: Config Files ? Pin
triso2-Jun-04 11:58
triso2-Jun-04 11:58 
GeneralRe: Config Files ? Pin
triso2-Jun-04 12:00
triso2-Jun-04 12:00 

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.