Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 passing a parameter from code to stored procedure

Author  Topic 

arraysys
Starting Member

12 Posts

Posted - 2010-10-14 : 04:09:02
How do I pass a parameter value from my VB code into my SQL stored procedure?

EXAMPLE:
in my winform code behind (VB) I have an integer value 'ProdId' from a selectedIndex in a datagridviewcombobox

I need to pass this value to my stored procedure as the parameter value of my stored procedure.



Array

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-10-14 : 04:29:06
duplicate post
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=151558


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -