[Last Call] Learn how to a build a cloud-first strategyRegister Now


Databinding Check Box List and auto check - ASP.NET

Posted on 2006-06-01
Medium Priority
Last Modified: 2008-03-04

I am databinding a check box list in ASP.NET.  This works fine!  However, dependent on some of the values in the datasource I would like to have some of the boxes checked, and others unchecked.  Can anyone tell me the easiest way to do this.  In an ideal world I don't want to have loop round the dataset and populate each check box one at a time.


p.s I am using asp.net 2.0

Question by:kinton
1 Comment
LVL 27

Accepted Solution

Sammy Ageil earned 2000 total points
ID: 16826128
after your checkbox list is bound you can check or uncheck the dependent checkboxes in page load once you checked your datasource values. Unless I am not understanding your question this should be easy

post some of your code please including the aspx page code


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Screencast - Getting to Know the Pipeline
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

826 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question