Re: "Object reference not set to an instance of an object."
From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 05/24/04
- Next message: William Ryan eMVP: "Re: Command sent to Access Database using OleDbDataAdapter"
- Previous message: it works I think: "Re: "Object reference not set to an instance of an object.""
- In reply to: Paul: "Re: "Object reference not set to an instance of an object.""
- Next in thread: Stewart Saathoff: "Re: "Object reference not set to an instance of an object.""
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 20:13:04 +0100
Paul <anonymous@discussions.microsoft.com> wrote:
> yep missing the insert cmd for the data adapter. Not exactly sure how
> to set it up since using a stored proc to insert the data. Probably
> worth while to see what coe the wizard would create.
You set the InsertCommand the same way you'd set any other command -
you just set the property to be the command you want to execute.
Presumably in this case that's cmd.
-- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
- Next message: William Ryan eMVP: "Re: Command sent to Access Database using OleDbDataAdapter"
- Previous message: it works I think: "Re: "Object reference not set to an instance of an object.""
- In reply to: Paul: "Re: "Object reference not set to an instance of an object.""
- Next in thread: Stewart Saathoff: "Re: "Object reference not set to an instance of an object.""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|