List<Dqt.Reporter.Model.user> userlist = UserBLL.GetModelList("UserName='" + this.TxtUserName.Text.Trim()+ "'");
if(userlist.Count > 0)
{
Page.ClientScript.RegisterClientScriptBlock(this.GetType(),"", "alert('请勿重复录入');", true);
return;
}
用来判断是否重复录入
最新推荐文章于 2021-02-12 23:53:51 发布