int count=0; for(int i=0;i<=items.count;i++) { count=count+1; }
for(initialization; condition; step) statement
initialization : Initialize the value of variable. condition : Evaluate the condition step : Step taken for each execution of loop body
protected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e) { for(int I=0;I<(CheckBoxList1.Items.Count;I++) IF(CheckBoxList1.Items[I].Selected==true) { Response.Write(CheckBoxList1.Items[I]=tostring());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)