Click here to Skip to main content
14,733,443 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to call SQL store procedure parameter in Java script

What I have tried:

I tried [System.Web.Services.WebMethod]
Updated 12-Jun-20 23:43pm

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[^]

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