Click here to Skip to main content
15,913,027 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all experts,
I have created one store procedure ("ListofItem") in Sql Server 2008.This store has 2 parameters ("@GroupCode,@Top").

How can i execute this store procedure by using sqlcommand?

Thanks

TONY
Posted
Comments
Sergey Alexandrovich Kryukov 28-Oct-12 23:14pm    
Why not just reading documentation?
--SA

1 solution

 
Share this answer
 
Comments
soeun tony 29-Oct-12 2:10am    
Hi Sergey,
I mean i want to call this store procedure in vb.net

Thanks

TONY
Sergey Alexandrovich Kryukov 29-Oct-12 2:15am    
Same thing. Use CommandType.StoredProcedure and execute the command.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900