Avatar of Rubicon2009
 asked on

ASP.NET I need a sample code that lunch a stored procedure from a webpage

Hi :)

I'm looking for a sample code exemple that will only execute a stored procedure on my SQL server.

What I'm excatly looking for is a "page.asp" with the connection string embeded in it and the code to lunch the stored procedure "usp_test".

Just by typing the URL should be lunching the usp.

Thank you.


Avatar of undefined
Last Comment
Kaushal Arora

8/22/2022 - Mon
Roopesh Reddy


Check the following link - http://www.aspnettutorials.com/tutorials/database/db-storedprocs-aspnet2-vb.aspx

I think the example in the above links is in VB.NET, you may require it in C#.NET, which you can easily convert it here - http://converter.telerik.com

Hope it helps u...
Kaushal Arora

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck