ASP.Net CheckboxList

Discussion in 'ASP .Net' started by =?Utf-8?B?Qw==?=, Feb 28, 2005.

  1. Hi,

    I have a checkboxlist on an ASPX page.

    The user checks some of the checkboxes and I save the details when they
    click save.

    When the user goes back in to edit the details, I loop through a dataset and
    set my checkboxes to be checked based on whatis in the dataset.

    Is there a better way of doing this as I could potentially have a lot of
    checkboxes and I have to find the control whose value matches value in
    dataset and then set it to be checked.

    Just wanted to know if there is a better way of doing this.

    Thanks,
    C.
     
    =?Utf-8?B?Qw==?=, Feb 28, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marshal Antony
    Replies:
    4
    Views:
    14,090
    Marshal Antony
    Dec 30, 2003
  2. JD
    Replies:
    5
    Views:
    11,838
    NetArchitect
    Aug 8, 2007
  3. krzysiek
    Replies:
    0
    Views:
    1,605
    krzysiek
    Oct 18, 2004
  4. bienwell
    Replies:
    8
    Views:
    14,347
    vabraham
    Dec 7, 2011
  5. Patrick.O.Ige
    Replies:
    5
    Views:
    19,292
    Patrick.O.Ige
    Jun 19, 2005
Loading...

Share This Page