Click here to Skip to main content
15,913,685 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Suppressing first-chance exception messages Pin
supercat919-Nov-07 9:59
supercat919-Nov-07 9:59 
GeneralRe: Suppressing first-chance exception messages Pin
Luc Pattyn19-Nov-07 10:52
sitebuilderLuc Pattyn19-Nov-07 10:52 
GeneralRe: Suppressing first-chance exception messages Pin
supercat919-Nov-07 13:23
supercat919-Nov-07 13:23 
GeneralRe: Suppressing first-chance exception messages Pin
Luc Pattyn19-Nov-07 13:51
sitebuilderLuc Pattyn19-Nov-07 13:51 
GeneralRe: Suppressing first-chance exception messages Pin
Dave Kreskowiak19-Nov-07 9:58
mveDave Kreskowiak19-Nov-07 9:58 
GeneralRe: Suppressing first-chance exception messages Pin
supercat919-Nov-07 10:39
supercat919-Nov-07 10:39 
QuestionInsert Records into Access DB Pin
culbysl19-Nov-07 8:49
culbysl19-Nov-07 8:49 
AnswerRe: Insert Records into Access DB Pin
Dave Kreskowiak19-Nov-07 10:05
mveDave Kreskowiak19-Nov-07 10:05 
First, this is a bad way to do this.

Second, the DataAdapter is looking at the status of each row in each table in your source dataset that you pass in and not seeing rows that are tagged changed, added, or deleted. So, yes, the DA is doing nothing, because it hasn't found anything to do! It doesn't know that these rows need to be added to the Access database, because it doesn't know anything about the Access database. It's looking solely at the rows you passed in the dataset.

I would recommend reading up on the documentation for any of the DataAdapters to understand HOW and WHY they work the way they do.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Insert Records into Access DB Pin
culbysl19-Nov-07 10:11
culbysl19-Nov-07 10:11 
AnswerRe: Insert Records into Access DB Pin
deathbat20-Nov-07 13:16
deathbat20-Nov-07 13:16 
Questiontyped vs untyped datasets Pin
imonfiredammit19-Nov-07 7:40
imonfiredammit19-Nov-07 7:40 
AnswerRe: typed vs untyped datasets Pin
Vasudevan Deepak Kumar19-Nov-07 18:34
Vasudevan Deepak Kumar19-Nov-07 18:34 
QuestionStoping a cursor with a collusion code Pin
mykingdomforanewusername19-Nov-07 7:01
mykingdomforanewusername19-Nov-07 7:01 
AnswerRe: Stoping a cursor with a collusion code Pin
Luc Pattyn19-Nov-07 10:04
sitebuilderLuc Pattyn19-Nov-07 10:04 
Questiondrawing a polynomial function using graphics panel Pin
billybobthro19-Nov-07 5:52
billybobthro19-Nov-07 5:52 
AnswerRe: drawing a polynomial function using graphics panel Pin
Luc Pattyn19-Nov-07 10:07
sitebuilderLuc Pattyn19-Nov-07 10:07 
GeneralRe: drawing a polynomial function using graphics panel Pin
billybobthro19-Nov-07 10:31
billybobthro19-Nov-07 10:31 
GeneralRe: drawing a polynomial function using graphics panel Pin
Luc Pattyn19-Nov-07 11:32
sitebuilderLuc Pattyn19-Nov-07 11:32 
QuestionGraphics Question Pin
Quecumber25619-Nov-07 3:45
Quecumber25619-Nov-07 3:45 
AnswerRe: Graphics Question Pin
pmarfleet19-Nov-07 9:11
pmarfleet19-Nov-07 9:11 
AnswerRe: Graphics Question Pin
Dave Kreskowiak19-Nov-07 10:07
mveDave Kreskowiak19-Nov-07 10:07 
GeneralRe: Graphics Question Pin
Quecumber25619-Nov-07 10:51
Quecumber25619-Nov-07 10:51 
QuestionComponent to generate pdf or tiff from templates Pin
Nitin198119-Nov-07 1:27
Nitin198119-Nov-07 1:27 
AnswerRe: Component to generate pdf or tiff from templates Pin
DigiOz Multimedia19-Nov-07 8:52
DigiOz Multimedia19-Nov-07 8:52 
GeneralRe: Component to generate pdf or tiff from templates Pin
Nitin198119-Nov-07 19:26
Nitin198119-Nov-07 19:26 

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.