Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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 May 19th, 2005, 05:42 AM
Registered User
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default retrieving value from dynamic checkbox


I am creating a tool in asp.net, I have a problem retrieving value of a dynamically created checkbox in a table.

I have added checkboxes dynamically to table, now when I select that check box I want that particular row to be cleared

Can any one guide me with the steps I need to take in accomplishing this.

 // to add the checkbox
While i <= Val(txtCounter2.Text)
            Dim cb(i) As CheckBox
            cb(i) = New CheckBox
            cb(i).ID = "check" & i


            i = i + 1
        End While

//txtCounter2.Text is the counter where i store the counter value

now when i check one of the cehckbox i need to clear the row
Kindly help
Old May 19th, 2005, 06:16 PM
Friend of Wrox
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41

This is the classic ASP area of the forum, try the .net area

Wind is your friend

Similar Threads
Thread Thread Starter Forum Replies Last Post
help writing dynamic form data to dynamic table ublend Classic ASP Professional 1 June 1st, 2007 08:08 AM
checkbox checked by default by html:checkbox sachin.tathod Struts 3 December 4th, 2006 03:41 PM
Dynamic checkbox and radiobutton lists Ric_H C# 1 April 5th, 2006 05:04 AM
Dynamic checkbox and radiobutton lists Ric_H General .NET 2 March 30th, 2006 01:52 PM
Retrieving Dynamic Field Names tdaustin Classic ASP Basics 4 January 12th, 2004 11:10 AM

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