Solved

Running SQL query through javascript on an ASP page

Posted on 2008-10-13
2
1,287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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…
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…
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…

707 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