Link to home
Start Free TrialLog in
Avatar of Rubicon2009
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.

-M
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Hi,

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...
ASKER CERTIFIED SOLUTION
Avatar of Kaushal Arora
Kaushal Arora
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial