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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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...