Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I want to call SQL store procedure parameter in Java script

What I have tried:

I tried [System.Web.Services.WebMethod]
Posted
Updated 26-Apr-22 20:13pm

1 solution

You can't do it: you cannot establish a direct connection to the DB via your client browser - that is the Server's job: sql server - Call a stored procedure via javascript on the client side? - Stack Overflow[^]
See this as well, it may help: How do I Call a SQL StoredProcedure from JavaScript - Microsoft: ASP.NET - Tek-Tips[^]
 
Share this answer
 
v4

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