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 September 29th, 2003, 09:43 AM
Authorized User
 
Join Date: Sep 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default sql database question

    Do while not objRec.EOF
    %>

    <td><input type="text" name="selectme" size="90" value="<%=ObjRec("option_title")%>"></td>
    <td> <% If ObjRec("cb") = "True" then %> <input type="checkbox" name="cb" value="checkflag" checked>
      <% Else %> <input type="checkbox" name="cb" value="checkflag">
      <% End If %> </td>
  <%
    objRec.movenext
    loop
    %>

The question i have is that this is a form and it is looping through my database and listing all the values from there in a textbox. When i change the value of one of the textbox and click update, it updates all of the values in my database because all of the textbox has the same name because of the loop.

I want to know how can i just update one of the textbox instaed of all of it. thanks.

 
Old September 29th, 2003, 10:06 AM
Authorized User
 
Join Date: Sep 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i figured it out already.. thanks

 
Old December 5th, 2005, 04:22 PM
Registered User
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

how did u do it?

 
Old December 5th, 2005, 04:24 PM
Registered User
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://prasad-veluri.com

-- Narasimha Prasad Veluri


Quote:
quote:Originally posted by prasadvn82
 how did u do it?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Access database/SQL Server backend Question vbJupiter Access VBA 1 October 6th, 2006 07:59 PM
Database Question rose77 Access 0 January 9th, 2005 02:14 PM
Database question! Calibus Classic ASP Databases 3 August 17th, 2004 05:23 PM
HELP database question TnTandyO Classic ASP Databases 0 December 1st, 2003 12:39 PM
database question. kyootepuffy Classic ASP Databases 5 September 29th, 2003 03:11 PM





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