循環(huán)增加checkboxlist的選項(xiàng)

          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 ));
                      }
                    
                  }

          posted on 2010-08-24 14:57 sanmao 閱讀(191) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 贞丰县| 海南省| 文水县| 广州市| 来安县| 常宁市| 和平区| 夏河县| 瓦房店市| 边坝县| 平遥县| 肃北| 唐山市| 茌平县| 合水县| 定州市| 奉化市| 延寿县| 闽清县| 宜阳县| 荥阳市| 信阳市| 宁海县| 高阳县| 昌都县| 新兴县| 顺昌县| 化德县| 娱乐| 兴仁县| 永康市| 岑巩县| 南昌县| 澎湖县| 汝城县| 绥阳县| 大丰市| 江油市| 英吉沙县| 九江县| 谷城县|