Re: "Object reference not set to an instance of an object."

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 05/24/04


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


Relevant Pages

  • Re: getting return value from stored proc
    ... Run your stored procedure via command object: ... Dim cmd as command ... | that passes the params in and calls the stored proc. ...
    (microsoft.public.access.formscoding)
  • Re: getting return value from stored proc
    ... | Dim param As New ADODB.Parameter ... | Dim cmd As ADODB.Command ... || parameters Run your stored procedure via command object: ... The stored proc then returns a value ...
    (microsoft.public.access.formscoding)
  • Re: "Object reference not set to an instance of an object."
    ... 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. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: How To Execute Batch File Line By Line
    ... COMMAND /C string Carries out the command specified by string, ... CMD /C Carries out the command specified by string and then terminates. ... .cmd files will NOT work on non Windows NT versions i.e. Windows 9x, ... Both .cmd and .bat files work on Windows NT versions. ...
    (microsoft.public.windowsxp.general)
  • Re: Command.Com - Sinn und Unsinn?
    ... Kompatibilität für 16-Bit-Porgs dient, dann gilt das auch ... Anforderung die ich an CMD / Command stelle! ... Ich habe seit DOS 4 "Fachwissen" um DOS - und wenn ich ...
    (microsoft.public.de.german.windowsxp.sonstiges)