Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Dynamic checkboxes and selection

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sck10 - 30 Apr 2008 23:22 GMT
Hello,

I have a list of products (SQL Server) that I need to show with check boxes
next to them.  Once they submit the form, the items checked will be inserted
into a table.  I think I need to use a CheckBoxList, but how do I show what
has been matched in the future.  For example, I check 5 of the 10 products
for a particular customer.  When I edit that customer's information, I want
to show the 10 products with the 5 products that I check previously to be
checked.

Any help with this would be appreciated...
Signature

Thanks in advance,

sck10

Fernando Rodriguez - 02 May 2008 01:50 GMT
You need to iterate through the collection of items and set the Checked
property to true for the ones that you want checked.

You can also use a Repeater or a DataView with a checkbox column and bind
the checkbox's Checked property to a field on your datasource.

> Hello,
>
[quoted text clipped - 7 lines]
>
> Any help with this would be appreciated...
sck10 - 03 May 2008 14:13 GMT
Thanks Fernando,

sck10

> You need to iterate through the collection of items and set the Checked
> property to true for the ones that you want checked.
[quoted text clipped - 13 lines]
>>
>> Any help with this would be appreciated...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.