About CheckBoxList Control ...

Discussion in 'ASP .Net Web Controls' started by Kylin, May 27, 2005.

  1. Kylin

    Kylin Guest

    I have a CheckBoxList ,
    and I bind this controls from a database,
    cblxx.DataSource=xxData ;//dataset
    cblxx.DataValueField="xx_Field";
    cblxx.DataTextField="xxx_Field";
    cblxx.DataBind();

    now I have a a string like "1,2,3,4,5,6,7"
    and the string inclue the xx_field ,
    how can I bind the string to the checkboxlist ,
    and if the string include the xx_field,
    the item is checked ,
    if not ,the item is uncheck ?

    do I declare my meaning clearly ?
    any help ?
    thanks a lot !

    --

    Kylin Garden
    MSN:
    ICQ:156134382
     
    Kylin, May 27, 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. Francois Verbeeck
    Replies:
    0
    Views:
    1,902
    Francois Verbeeck
    Jun 24, 2003
  2. Khan Imran

    Re: checkboxlist control

    Khan Imran, Jun 30, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    473
    Khan Imran
    Jun 30, 2003
  3. Ignacio Martinez

    Re: checkboxlist control

    Ignacio Martinez, Jun 30, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    462
    Ignacio Martinez
    Jun 30, 2003
  4. JD
    Replies:
    5
    Views:
    11,794
    NetArchitect
    Aug 8, 2007
  5. Patrick.O.Ige
    Replies:
    5
    Views:
    19,247
    Patrick.O.Ige
    Jun 19, 2005
Loading...

Share This Page