Click here to Skip to main content
15,900,973 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
AnswerRe: 'Dynamic' Javascript Pin
Vasudevan Deepak Kumar24-Aug-07 0:24
Vasudevan Deepak Kumar24-Aug-07 0:24 
GeneralRe: 'Dynamic' Javascript Pin
moon_stick24-Aug-07 0:28
moon_stick24-Aug-07 0:28 
GeneralRe: 'Dynamic' Javascript Pin
J4amieC24-Aug-07 0:45
J4amieC24-Aug-07 0:45 
QuestionASP.Net & NHibernate Pin
Malayil alex23-Aug-07 23:43
Malayil alex23-Aug-07 23:43 
Questionhow to export gridview data to new pdf file without using third party tool / library in ASP.net 2.0 Pin
here2learn23-Aug-07 23:37
here2learn23-Aug-07 23:37 

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.