protected void LbSignOf_Click(object sender, EventArgs e) { UserModel userModel = UserModel.Current(Session); if (userModel.Code == Web.USER_DEMO) { var dba = new DBAccess(); dba.AddTable(DBConst.C3010A00); dba.AddWhere(DBConst.C3010A03, Web.USER_DEMO); dba.ExecuteDelete(); } userModel.WpSignOf(); Response.Redirect("~/Index.aspx"); }