Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 April 11th, 2005, 04:09 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Default the client side does not work

 I am insert values in the data base. the values get inserted in the data base, But the client side doesnot work. When I enter values in three text boxes and hit Save button. The value gets inserted in the data base , but the text boxes disappear and values also disappear. Then I try to run the browser, values are not there, but the values are in database. Also If I hit save say three times, same values gets inserted three times, it should not happen, only once it should be inserted, regardless of how many times the user hits update
  if bAdd="1" then 'add the record
   rsInsert.AddNew
   strDateFromNew = strNull(Request.Form("txtDateFromNew"),false)
   strDateToNew = strNull(Request.Form("txtDateToNew"),false)
   intHourlyRateNew = strNull(Request.Form("txtHourlyRateNew"),true)
   rsInsert.Fields("dtRateFrom").Value = strDateFromNew
   rsInsert.Fields("dtRateTo").Value = strDateToNew
   rsInsert.Fields("decHourlyRate").Value=intHourlyRa teNew
   rsInsert.Update
 end if






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Converting Client-side to Server-side Code kwilliams ASP.NET 2.0 Professional 1 November 21st, 2007 05:25 PM
Firing server side events at client side codes mehdi62b ASP.NET 1.0 and 1.1 Basics 6 May 18th, 2005 09:11 AM
sharing a server-side variable with client-side pigtail Javascript How-To 6 November 4th, 2004 02:01 AM
Two Client Side vs Server Side issues Milo Classic ASP Professional 5 May 25th, 2004 02:47 PM
Accessing Server Side Data on Client Side steve456 Classic ASP Professional 3 October 15th, 2003 02:33 PM





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