Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 25th, 2005, 08:03 AM
Registered User
 
Join Date: Oct 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reading asp.net controls values from javascript

Hi All
   I have an asp.net web page where the enduser enters data into that by using textboxes,
dropdowns and check boxes. but my task is over certain period of time say 5minutes those values should be inserted to database through javascript. As i know we can read values in those controls but i don't know how to hit the database server and execute related stored procedure and insert that record into database. How can i achieve this task. can anyone help me.


Thanks

Naidu Babu.k
 
Old October 25th, 2005, 03:10 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

As far as I know, you can't.

 
Old October 27th, 2005, 02:33 PM
Authorized User
 
Join Date: Jun 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to connect2sandep
Default

javascript is a client side script so it can update database on server.

 
Old October 27th, 2005, 02:55 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Exactly..javascript is client side... how would you call server procedures to update a database?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing values from asp to a javascript Abhilash Classic ASP Basics 11 June 15th, 2011 12:38 PM
Get values of asp controls on previous page GraceOriole ASP.NET 2.0 Professional 0 December 20th, 2006 11:35 PM
set ASP variable values inside Javascript crmpicco HTML Code Clinic 1 March 9th, 2005 12:32 PM
Reading XML in ASP.net brettdavis4 General .NET 1 August 22nd, 2004 08:13 PM
Javascript variable values into ASP phungleon Classic ASP Basics 2 May 13th, 2004 02:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.