Posts
247
Comments
67
Trackbacks
4
Fürs Archiv: Werte einer CheckBoxList einlesen (C#)

Die selektierten Werte einer CheckBoxList kann mit der folgenden Schleife abfragen:

for (int i=0; i<checkboxlist1.Items.Count; i++)
{
   if (checkboxlist1.Items[i].Selected)
   {
   ... mach was damit ...
   }
}

posted on Tuesday, January 17, 2006 1:59 PM Print
Comments
No comments posted yet.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 3 and 6 and type the answer here: