.net 獲取checkBoxList 選中的值

          public string GetCheckBoxListValues(ListControl lc)
                  {
                      string tempValues = "";
                      foreach (ListItem li in lc.Items)
                      {
                          if (li.Selected)
                              tempValues += li.Value+",";
                      }
                     tempValues = tempValues.Trim(',');
                     return tempValues;
                  }

          posted on 2010-08-12 11:20 sanmao 閱讀(670) 評論(0)  編輯  收藏

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


          網站導航:
           

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 铁岭县| 广水市| 海安县| 富平县| 江华| 彝良县| 建瓯市| 宝兴县| 锦屏县| 宝鸡市| 安国市| 尚志市| 衡东县| 六枝特区| 独山县| 武邑县| 台安县| 九江市| 夏津县| 德化县| 嫩江县| 通道| 芷江| 麻栗坡县| 洛扎县| 博白县| 嘉定区| 海阳市| 科技| 松潘县| 巴林左旗| 枞阳县| 澄江县| 二手房| 商城县| 泸西县| 永登县| 民县| 咸丰县| 潮安县| 泾川县|