Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. 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 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 February 1st, 2007, 12:53 AM
Authorized User
 
Join Date: Dec 2006
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic Controls with Database.

Hi,
User Interface - Screen

Field1 - Textbox1
Field2 - Textbox2 Add Button

Whenever the user clicks the add button it should display the values underneath along with Edit and Delete button (type=submit) for each values so that the user can edit or delete the single row of values
The user can add as many values as he can.

for eg. Field1 Field2 UserFunction
        Field1value Field2value Edit Delete
        Field1value Field2value Edit Delete
        ... ... ... ...

Also, whenever the user clicks "ADD" button, the data gets inserted into the database - SQL SERVER2000, so when the user wants to modify/delete the single row, only the corressponding row which the user selected should be affected leaving the other rows unaffected in the database.
since the controls created are dynamic in nature, i'm not able to connect to the SQL database.

Pls. help me in giving some relevant sample codes.







Chandru
__________________
Thanks,
Chandra





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Positioning of Controls funnylearning BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 September 22nd, 2006 11:16 AM
Dynamic .NET Controls. rupen ASP.NET 1.0 and 1.1 Basics 3 February 21st, 2006 05:30 AM
Dynamic Controls [xx(] koneruvijay VS.NET 2002/2003 0 November 12th, 2003 12:02 AM
Dynamic Controls tommyuk VB How-To 2 June 26th, 2003 12:54 PM





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