CheckBoxリストの値と初期化
1105 ワード
CheckBoxリストの値と初期化の古典的なコード
移動http://www.cnblogs.com/shawker/archive/2009/03/17/1414795.html
public static string SetChecked(CheckBoxList checkList,string selval,string separator)
{
selval = separator + selval + separator; // :"0,1,1,2,1"->",0,1,1,2,1,"
for(int i=0; i
/// CheckBoxList
///
/// CheckBoxList
///
///
public static string GetChecked(CheckBoxList checkList, string separator)
{
string selval = "";
for(int i=0;i
移動http://www.cnblogs.com/shawker/archive/2009/03/17/1414795.html