asp.net 后台判断checkbox被选中? CheckBox1点后面是什么? 才能判断是否被选中?
if(CheckBox1.Visible!=""){myUser.Add();Page.RegisterStartupScript("zhuce","<scriptlan...
if (CheckBox1.Visible!="")
{
myUser.Add();
Page.RegisterStartupScript("zhuce", "<script language='JavaScript'>alert('您好,您已注册成功!'); window.open('Reg.aspx?', '_parent');</script>");
}
else
{
Response.Write("对vfd");
} 展开
{
myUser.Add();
Page.RegisterStartupScript("zhuce", "<script language='JavaScript'>alert('您好,您已注册成功!'); window.open('Reg.aspx?', '_parent');</script>");
}
else
{
Response.Write("对vfd");
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询