当前位置: 代码迷 >> ASP >> asp.net判断checkbox是不是选中
  详细解决方案

asp.net判断checkbox是不是选中

热度:63   发布时间:2012-10-15 09:45:24.0
asp.net判断checkbox是否选中
<input type="checkbox" name="chk" />

?

?

if (Request.Form["chk"] != null)
{
       Response.Write("选中");
 }
else
{
       Response.Write("未选中");
}

?

  相关解决方案