inserting Checkboxlist input into database

Discussion in 'ASP .Net' started by wjer, Feb 12, 2004.

  1. wjer

    wjer Guest

    I've successfully bound a checkboxlist control to a sql server table
    to populate the list - now I want to take the user's selections and
    store each checkbox in the list's input in a different field in the
    database. No idea how to do this, and I can't find any samples
    online. I'm pretty sure I need to write some looping code using "For
    each", but don't know how to implement..anyone with ideas?


    Posted Via Usenet.com Premium Usenet Newsgroup Services
    ----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
    ----------------------------------------------------------
    http://www.usenet.com
     
    wjer, Feb 12, 2004
    #1
    1. Advertisements

  2. Your post went unanswered. Have you resolved this issue?

    --
    Regards,
    Alvin Bruney [ASP.NET MVP]
    Got tidbits? Get it here...
    http://tinyurl.com/3he3b
    "wjer" <-spam.invalid> wrote in message
    news:402c057e$...
    > I've successfully bound a checkboxlist control to a sql server table
    > to populate the list - now I want to take the user's selections and
    > store each checkbox in the list's input in a different field in the
    > database. No idea how to do this, and I can't find any samples
    > online. I'm pretty sure I need to write some looping code using "For
    > each", but don't know how to implement..anyone with ideas?
    >
    >
    > Posted Via Usenet.com Premium Usenet Newsgroup Services
    > ----------------------------------------------------------
    > ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
    > ----------------------------------------------------------
    > http://www.usenet.com
     
    Alvin Bruney [MVP], Mar 2, 2004
    #2
    1. Advertisements

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. Replies:
    0
    Views:
    486
  2. wjer
    Replies:
    0
    Views:
    2,192
  3. =?Utf-8?B?U2FuZHk=?=

    Checkboxlist - inserting values into tables

    =?Utf-8?B?U2FuZHk=?=, Feb 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    531
    =?Utf-8?B?U2FuZHk=?=
    Feb 9, 2005
  4. Geoff
    Replies:
    3
    Views:
    897
    Martin Honnen
    Jun 10, 2004
  5. VK

    Checkboxlist and database - Input needed

    VK, Feb 18, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    212
  6. Renie83
    Replies:
    1
    Views:
    275
    Kiran Math
    Jul 10, 2003
  7. Renie83
    Replies:
    2
    Views:
    364
  8. Navillus

    Inserting variable into hidden input

    Navillus, Mar 6, 2006, in forum: Javascript
    Replies:
    2
    Views:
    361
    Jonas Raoni
    Mar 7, 2006
Loading...