Click here to Skip to main content
15,900,714 members
Home / Discussions / C#
   

C#

 
GeneralUpdate to DB Failure Pin
MrJJKoolJ11-Jun-04 7:44
MrJJKoolJ11-Jun-04 7:44 
GeneralRe: Update to DB Failure Pin
Colin Angus Mackay11-Jun-04 8:10
Colin Angus Mackay11-Jun-04 8:10 
GeneralRe: Update to DB Failure Pin
MrJJKoolJ11-Jun-04 8:33
MrJJKoolJ11-Jun-04 8:33 
GeneralRe: Update to DB Failure Pin
Heath Stewart11-Jun-04 8:49
protectorHeath Stewart11-Jun-04 8:49 
GeneralRe: Update to DB Failure Pin
MrJJKoolJ11-Jun-04 9:11
MrJJKoolJ11-Jun-04 9:11 
GeneralRe: Update to DB Failure Pin
Heath Stewart11-Jun-04 10:38
protectorHeath Stewart11-Jun-04 10:38 
GeneralRe: Update to DB Failure Pin
MrJJKoolJ11-Jun-04 11:26
MrJJKoolJ11-Jun-04 11:26 
GeneralRe: Update to DB Failure Pin
Heath Stewart11-Jun-04 11:52
protectorHeath Stewart11-Jun-04 11:52 
To call Fill, you only need the SelectCommand set. When you call DataAdapter.Update, however, you may need all four set depending on what changes have been made. After calling Update, though, there will be no changes because the DataAdapter then calls AcceptChanges on your DataSet or DataTable (whichever you passed in).

So, you really only need to write out a DiffGram (if that's really necessary) after you make changes, otherwise those won't be any differences.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Update to DB Failure Pin
MrJJKoolJ11-Jun-04 12:19
MrJJKoolJ11-Jun-04 12:19 
GeneralImport a comma delimited text file to a access database Pin
kornstyle11-Jun-04 7:31
kornstyle11-Jun-04 7:31 
GeneralRe: Import a comma delimited text file to a access database Pin
Heath Stewart11-Jun-04 8:30
protectorHeath Stewart11-Jun-04 8:30 
GeneralDataGridTextBoxColumn won't word wrap Pin
holt11-Jun-04 6:05
holt11-Jun-04 6:05 
GeneralRe: DataGridTextBoxColumn won't word wrap Pin
Heath Stewart11-Jun-04 6:27
protectorHeath Stewart11-Jun-04 6:27 
GeneralRe: DataGridTextBoxColumn won't word wrap Pin
holt11-Jun-04 7:14
holt11-Jun-04 7:14 
GeneralC++ pointer char* in dll function - string in C# Pin
SasaTod11-Jun-04 5:46
SasaTod11-Jun-04 5:46 
GeneralRe: C++ pointer char* in dll function - string in C# Pin
Heath Stewart11-Jun-04 6:22
protectorHeath Stewart11-Jun-04 6:22 
GeneralRe: C++ pointer char* in dll function - string in C# Pin
SasaTod11-Jun-04 9:29
SasaTod11-Jun-04 9:29 
GeneralRe: C++ pointer char* in dll function - string in C# Pin
Heath Stewart11-Jun-04 10:40
protectorHeath Stewart11-Jun-04 10:40 
GeneralRe: C++ pointer char* in dll function - string in C# Pin
SasaTod12-Jun-04 3:25
SasaTod12-Jun-04 3:25 
GeneralRe: C++ pointer char* in dll function - string in C# Pin
Heath Stewart12-Jun-04 4:31
protectorHeath Stewart12-Jun-04 4:31 
GeneralRe: Delete child in XML document while running an C# Application! Pin
Heath Stewart11-Jun-04 5:29
protectorHeath Stewart11-Jun-04 5:29 
GeneralRe: Delete child in XML document while running an C# Application! Pin
QzRz11-Jun-04 5:34
QzRz11-Jun-04 5:34 
GeneralRe: Delete child in XML document while running an C# Application! Pin
Heath Stewart11-Jun-04 5:43
protectorHeath Stewart11-Jun-04 5:43 
GeneralRe: Delete child in XML document while running an C# Application! Pin
QzRz11-Jun-04 5:48
QzRz11-Jun-04 5:48 
GeneralSurely this is an Easy Question... Pin
Adam °Wimsatt11-Jun-04 4:56
Adam °Wimsatt11-Jun-04 4:56 

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.