循环增加checkboxlist的选项
public void  SelectListIndex(ListControl lc,string values)
        {
            string[] tempValues = values.Split(',');
            if (tempValues.Length > 0)
            {
                foreach (string tempvalue in tempValues)
                   lc.Items.Add(new ListItem(tempvalue ,tempvalue ));
            }
           
        } 
                    
                
                
            
        
浙公网安备 33010602011771号