Florida .NET User Groups
Florida .NET User Groups  Status: Not logged in

Hot News
Skip Navigation Links

Our Stuff
Skip Navigation Links

Community
Skip Navigation Links

Resources
Skip Navigation Links


JOBS HERE!
Active Jobs: 9

ADO .NET: Meeting - 12/04
From: Dave Sadler 12/5/2001 2:34:01 PM
Excellent meeting last night Jason!

I have a question about the Parameters collection in ADO.net

Can you still pass parameters to a command object using the ordinal number or do you have to build the parameter?

ie -
objCmd.CommandText = "usp_TakeInTwoSpitOutOne"
objCmd.CommandType = adCmdStoredProc
objCmd.Parameters(1) = "This is the first parameter"
objCmd.Parameters(2) = "This is the second parameter"
objCmd.Execute

strOutput = objCmd.Parameters(3)

and if so, will it still be 1 based with stored procs, or has ado.net fixed that to go 0 based?


ADO .NET: Meeting - 12/04

 

   
     
Copyright © 2001 - 2017 Florida .NET User Groups 
contact us or Call Dave Noderer: 954-418-9799
FlaDotNet is hosted by: http://www.appliedi.net/affiliates/windows-hosting.php?id=6783