Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 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 December 20th, 2010, 11:35 AM
Authorized User
Join Date: Dec 2010
Posts: 38
Thanks: 8
Thanked 0 Times in 0 Posts
Default Create CheckboxList from Listview

Hi all,

I'm new to ASP.Net and would like to say well done for this great forum and series of books?

I hve a question that hopefully someone can answer. I want to create a check box list using List view. Basically, I want to configure an asp list box so that it displays my rows from the database then sticks a check box in front of each row so the user can pick any or all the rows they want. I see there is a 'select' option but that selects one row then manipulates it I want to set many or all rows then manipulate them. Is this possible simply by using an asp listview.
Old December 21st, 2010, 01:36 AM
Friend of Wrox
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts

Not sure about a listview, though I believe a gridview would do the trick. At work, we've even done this kind of thing manually using a stringBuilder object and just written formatted XHTML line by line for custom work.

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Old December 22nd, 2010, 04:41 PM
Authorized User
Join Date: Dec 2010
Posts: 38
Thanks: 8
Thanked 0 Times in 0 Posts

Thanks for the response. I'll try this.
Old December 27th, 2010, 09:15 PM
Authorized User
Join Date: Oct 2010
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post

Please check it out

May be it helpful for you


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkboxlist epkgupta Visual Studio 2005 0 March 11th, 2008 05:31 AM
Get Values from Checkboxlist derekl ASP.NET 1.0 and 1.1 Basics 3 May 26th, 2006 09:46 AM
CheckBoxList stu9820 ASP.NET 1.0 and 1.1 Basics 10 May 25th, 2006 08:15 PM
CheckBoxList eddiema VS.NET 2002/2003 1 April 9th, 2004 09:49 AM

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