Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: Urgent Role Based Menu Pin
Pete O'Hanlon2-May-07 22:29
mvePete O'Hanlon2-May-07 22:29 
QuestionICloneable Collection Property Pin
Kenneth.Cheng2-May-07 20:24
Kenneth.Cheng2-May-07 20:24 
AnswerRe: ICloneable Collection Property Pin
Kenneth.Cheng3-May-07 17:25
Kenneth.Cheng3-May-07 17:25 
AnswerRe: ICloneable Collection Property Pin
AFSEKI7-May-07 5:45
AFSEKI7-May-07 5:45 
QuestionOLEDB vs SQLClient Pin
Sujit Mandal2-May-07 20:08
Sujit Mandal2-May-07 20:08 
AnswerRe: OLEDB vs SQLClient Pin
PIEBALDconsult2-May-07 20:16
mvePIEBALDconsult2-May-07 20:16 
GeneralRe: OLEDB vs SQLClient Pin
Sujit Mandal2-May-07 23:36
Sujit Mandal2-May-07 23:36 
QuestionSelect checkbox from checkbox list through code. Pin
Sushant Duggal2-May-07 20:05
Sushant Duggal2-May-07 20:05 
HI Friends,

I am trying to match the value from database with checkbox list items and if matched I want to check the checkbox:

if(chklstGroups.Items[i].ToString() == objGroups.Title)
{
chklstGroups.SetItemChecked(i,true); // Method 1 -- Generates Error
chklstGroups.SelectedValue = i; // Method 2 -- No Error but no result.
chklstGroups.SetSelected(i,true); // Method 3 -- No Error but no result.
break;
}

Please help me if you know the solution.

Regards,

Sushant Duggal.

AnswerRe: Select checkbox from checkbox list through code. [modified] Pin
PIEBALDconsult2-May-07 20:20
mvePIEBALDconsult2-May-07 20:20 
AnswerRe: Select checkbox from checkbox list through code. [modified] Pin
PIEBALDconsult2-May-07 20:27
mvePIEBALDconsult2-May-07 20:27 
GeneralRe: Select checkbox from checkbox list through code. Pin
Sushant Duggal2-May-07 23:15
Sushant Duggal2-May-07 23:15 
GeneralRe: Select checkbox from checkbox list through code. Pin
PIEBALDconsult3-May-07 5:47
mvePIEBALDconsult3-May-07 5:47 
AnswerRe: Select checkbox from checkbox list through code. Pin
Arun.Immanuel2-May-07 20:27
Arun.Immanuel2-May-07 20:27 
AnswerRe: Select checkbox from checkbox list through code. Pin
PIEBALDconsult2-May-07 20:39
mvePIEBALDconsult2-May-07 20:39 
AnswerRe: Select checkbox from checkbox list through code. Pin
AFSEKI7-May-07 5:50
AFSEKI7-May-07 5:50 
QuestionHow to set permission(Full control) to the folder.. Pin
Dotnetkanna2-May-07 19:28
Dotnetkanna2-May-07 19:28 
AnswerRe: How to set permission(Full control) to the folder.. Pin
Pranav Soral2-May-07 20:21
Pranav Soral2-May-07 20:21 
GeneralRe: How to set permission(Full control) to the folder.. [modified] Pin
Dotnetkanna2-May-07 20:40
Dotnetkanna2-May-07 20:40 
GeneralRe: How to set permission(Full control) to the folder.. Pin
Pranav Soral2-May-07 21:13
Pranav Soral2-May-07 21:13 
GeneralRe: How to set permission(Full control) to the folder.. Pin
Dotnetkanna2-May-07 21:25
Dotnetkanna2-May-07 21:25 
QuestionSpeed Limit (Bandwidth) in WebRequest Pin
SakthiSurya2-May-07 19:19
SakthiSurya2-May-07 19:19 
AnswerRe: Speed Limit (Bandwidth) in WebRequest Pin
Dave Kreskowiak3-May-07 3:54
mveDave Kreskowiak3-May-07 3:54 
QuestionAPI Functions Pin
Mkanchha2-May-07 19:10
Mkanchha2-May-07 19:10 
AnswerRe: API Functions Pin
Christian Graus2-May-07 19:31
protectorChristian Graus2-May-07 19:31 
QuestionReg: Reflection accessing private Memebers.. Pin
Kiran Kumar Singani2-May-07 18:59
Kiran Kumar Singani2-May-07 18:59 

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.