Click here to Skip to main content
15,914,447 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: help!!! its about saving data using codes Pin
Fred_Smith26-Aug-07 9:24
Fred_Smith26-Aug-07 9:24 
Questionhow to create itemtemplate in datalist Pin
imranafsari24-Aug-07 3:49
imranafsari24-Aug-07 3:49 
AnswerRe: how to create itemtemplate in datalist Pin
l0kke24-Aug-07 5:29
l0kke24-Aug-07 5:29 
QuestionRunning Audio in ASP.NET web app. Pin
.NET- India 24-Aug-07 3:04
.NET- India 24-Aug-07 3:04 
AnswerRe: Running Audio in ASP.NET web app. Pin
dandy7224-Aug-07 9:31
dandy7224-Aug-07 9:31 
Questionhow to retrive the value from checkboxlist Pin
biswa4724-Aug-07 2:44
biswa4724-Aug-07 2:44 
AnswerRe: how to retrive the value from checkboxlist Pin
imranafsari24-Aug-07 3:44
imranafsari24-Aug-07 3:44 
QuestionRe: how to retrive the value from checkboxlist Pin
biswa4724-Aug-07 18:42
biswa4724-Aug-07 18:42 
Questionproblem on checkboxlist Pin
biswa4724-Aug-07 2:43
biswa4724-Aug-07 2:43 
AnswerRe: problem on checkboxlist Pin
Panchal Hardik24-Aug-07 2:52
Panchal Hardik24-Aug-07 2:52 
QuestionRe: problem on checkboxlist Pin
biswa4724-Aug-07 2:55
biswa4724-Aug-07 2:55 
AnswerRe: problem on checkboxlist Pin
Panchal Hardik24-Aug-07 3:04
Panchal Hardik24-Aug-07 3:04 
AnswerRe: problem on checkboxlist Pin
John-ph24-Aug-07 5:36
John-ph24-Aug-07 5:36 
Here is the code you asked for...

Dim lstItem As New ListItem
Dim lstItems() As String = Value.Split(",")  'Value = "A,B,C"

For Each lstItem In chklstItem.Items
    For I As Int16 = 0 To lstItems.Length - 1
        If lstItems(I) = lstItem.Value Then
            lstItem.Selected = True
        End If
    Next
Next


I suggest you to write a property procedure which will GET and SET the values of the CheckBoxList...




Regards
John



QuestionTwo Select Buttons in GridView Pin
Mahesh.J24-Aug-07 2:09
Mahesh.J24-Aug-07 2:09 
AnswerRe: Two Select Buttons in GridView Pin
ToddHileHoffer24-Aug-07 2:14
ToddHileHoffer24-Aug-07 2:14 
Questionmapping in asp.net Pin
mmm!@#24-Aug-07 1:55
mmm!@#24-Aug-07 1:55 
AnswerRe: mapping in asp.net Pin
Not Active24-Aug-07 2:20
mentorNot Active24-Aug-07 2:20 
QuestionA recommender system for my website Pin
anu8124-Aug-07 0:54
anu8124-Aug-07 0:54 
AnswerRe: A recommender system for my website Pin
N a v a n e e t h24-Aug-07 3:21
N a v a n e e t h24-Aug-07 3:21 
QuestionCreating a simple forum-Please help! Pin
DarynRoberts24-Aug-07 0:28
DarynRoberts24-Aug-07 0:28 
AnswerRe: Creating a simple forum-Please help! Pin
Luka Grabarevic24-Aug-07 1:03
Luka Grabarevic24-Aug-07 1:03 
GeneralRe: Creating a simple forum-Please help! Pin
DarynRoberts24-Aug-07 1:26
DarynRoberts24-Aug-07 1:26 
AnswerRe: Creating a simple forum-Please help! Pin
N a v a n e e t h24-Aug-07 3:31
N a v a n e e t h24-Aug-07 3:31 
GeneralRe: Creating a simple forum-Please help! Pin
DarynRoberts24-Aug-07 22:43
DarynRoberts24-Aug-07 22:43 
Question'Dynamic' Javascript Pin
moon_stick23-Aug-07 23:46
moon_stick23-Aug-07 23:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.