Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > About CheckBoxList Control ...

Reply
Thread Tools

About CheckBoxList Control ...

 
 
Kylin
Guest
Posts: n/a
 
      05-27-2005
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:(E-Mail Removed)
ICQ:156134382



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkboxlist inside Repeater - doesn't fire click event for Checkboxlist JD ASP .Net 5 08-08-2007 11:28 AM
How to get Selected item in a Databinded CheckBoxList when CheckBoxlist is in a DataList? Patrick.O.Ige ASP .Net 5 06-19-2005 06:11 AM
Re: checkboxlist control Ignacio Martinez ASP .Net 1 06-30-2003 02:51 PM
Re: checkboxlist control Khan Imran ASP .Net 0 06-30-2003 01:36 PM
/!\ How to colorize selected checkbox in checkboxlist control ? Francois Verbeeck ASP .Net 0 06-24-2003 03:13 PM



Advertisments