Solved

Running SQL query through javascript on an ASP page

Posted on 2008-10-13
2
1,277 Views
Last Modified: 2012-08-14
Hi,
    can someone please tell me the correct syntax for running a sql server side query in javascript through an ASP page. I am developing a website and when the user hit's the save button i want it to run a sql query which sets a column to a defined value. I am new to javascript so any examples are really appreciated.
0
Comment
Question by:cmsRuncorn
2 Comments
 
LVL 8

Accepted Solution

by:
tiagosalgado earned 125 total points
Comment Utility
You should run your sql query using ASP code. Check this http://www.devx.com/asp/Article/17745
0
 

Author Closing Comment

by:cmsRuncorn
Comment Utility
Thanks very much, that was what i was looking for
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now