Solved

Running SQL query through javascript on an ASP page

Posted on 2008-10-13
2
1,279 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
ID: 22702003
You should run your sql query using ASP code. Check this http://www.devx.com/asp/Article/17745
0
 

Author Closing Comment

by:cmsRuncorn
ID: 31505555
Thanks very much, that was what i was looking for
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

816 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