`
jiaker
  • 浏览: 21335 次
  • 性别: Icon_minigender_1
  • 来自: 甘肃
最近访客 更多访客>>
社区版块
存档分类
最新评论

asp.net判断checkbox是否选中

阅读更多
<input type="checkbox" name="chk" />

 

 

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

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics