Solved

Running SQL query through javascript on an ASP page

Posted on 2008-10-13
2
1,278 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

920 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

14 Experts available now in Live!

Get 1:1 Help Now