Advertisement

09.19.2007 at 11:45AM PDT, ID: 22839539
[x]
Attachment Details

VB.Net -- Checkbox DataBind

Asked by mamcw in Access Coding/Macros, Programming for ASP.NET, Microsoft Visual Basic.Net

Tags: checkbox

I have created a form that displays, in labels, information based upon the user's selection from a combobox and allows to edit, delete and create a new record in another form from textboxes(VB.Net 2003).  I have a single table and I am storing the information in a dataset and then bind the information to Labels.  Within the table I have several columns that contain an "X" based upon whether or not a record matches the columns criteria, otherwise it is left blank.  Please note the database columns are not and will not be setup to be in a Yes/No format.

To sum up this is what I want to do:

1- Based upon a user's selection from the combobox the corresponding checkbox for each column containing an "X" should be checked - not sure how to go about this
2 - During the editing if a user checks a checkbox then I want the information sent back to the database to represent an "X" for checked and blank for not checked. - not sure how to go about this

Any help will be greatly appreciated.

Start Free Trial
[+][-]09.19.2007 at 12:15PM PDT, ID: 19923558

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.19.2007 at 12:23PM PDT, ID: 19923617

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.19.2007 at 12:36PM PDT, ID: 19923714

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.19.2007 at 12:56PM PDT, ID: 19923873

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Programming for ASP.NET, Microsoft Visual Basic.Net
Tags: checkbox
Sign Up Now!
Solution Provided By: samtran0331
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.19.2007 at 01:55PM PDT, ID: 19924365

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.25.2007 at 07:12AM PDT, ID: 19955836

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628