ADOCommand Object

Results 1 to 3 of 3

Thread: ADOCommand Object

  1. #1
    Tony Guest

    Default ADOCommand Object

    I can&#039;t seem to find any good examples of how to call a stored procedure using the ADOCommand object. Does anyone have any example code they&#039;d like to share? Or links to some examples?<BR><BR>Thank you,<BR><BR>~~ Tony

  2. #2
    Tony Guest

    Default RE: ADOCommand Object

    Do we just do something like this:<BR><BR>*******************************<BR>oC onn = new SQLConnection(sConn)<BR>oCmd = new SQLDataSetCommand("exec sp_MyStoredProc", oConn)<BR>*******************************<BR><BR>o r is there a way to define the ADOCommand object as a storedprocedure (like in classic ADO)? If the above is the way to do it, how would one pass parameters to the proc? I can&#039;t seem to find any kind of documentation on this.

  3. #3
    Tony Guest

    Default RE: ADOCommand Object

    Never mind..........I just found my answer.<BR><BR>Thanks anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts