获得所有 - CheckBoxListGetAll
2017-02-19 14:01:03 访问(1592) 赞(0) 踩(0)
/// <summary>
/// 获得所有 - CheckBoxListGetAll
/// </summary>
/// <param name="extAspNetCheckBoxList"></param>
/// <returns></returns>
public string CheckBoxListGetAll
(
FineUI.CheckBoxList extAspNetCheckBoxList
)
{
StringBuilder theResult = new StringBuilder();
bool isFirst = true;
foreach (FineUI.CheckItem item in extAspNetCheckBoxList.Items)
{
if (isFirst)
{
isFirst = false;
}
else
{
theResult.Append(",");
}
theResult.Append(item.Value);
}
return theResult.ToString();
}
标签:
获得所有 - CheckBoxListGetAll 


上一条:
下一条:
相关评论
发表评论