Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > bind a Checkboxlist with a string ?

Reply
Thread Tools

bind a Checkboxlist with a string ?

 
 
Kylin
Guest
Posts: n/a
 
      05-18-2005
There is a String like this
Win98,Win2K,Win2003,Linux,Unix
and I want to bind this string to a checkboxlist control ,
how to do this ?

--
FireCrow Studio
Kylin Garden
ICQ:156134382


 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      05-18-2005
Call String.Split(',') to get an array of the items that were seperated by
a comma. Use this array tot hen databind.

-Brock
DevelopMentor
http://staff.develop.com/ballen



> There is a String like this
> Win98,Win2K,Win2003,Linux,Unix
> and I want to bind this string to a checkboxlist control ,
> how to do this ?




 
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
Bind to a checkboxlist - need some checkboxes checked hooterbite@yahoo.com ASP .Net 0 06-30-2006 10:19 AM
Bind CheckBoxList to Business Object Larry R ASP .Net 1 05-19-2006 11:16 PM
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
Bind Array to SelectedIndex of Checkboxlist? =?Utf-8?B?VG9t?= ASP .Net 1 05-04-2004 02:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57