protected void Button_submit_Click(object sender, EventArgs e) { int result = 0; UseFunc uf = new UseFunc(); if (!uf.userCheck(member.Account)) { this.Label_fix_tip.Text = "该账号已被占用"; return; } ExcFunc ef = new ExcFunc(); result = ef.Addmembers(member, int.Parse(Session["Userid"].ToString())); if (result > 0) { this.Label_fix_tip.Text = "数据成功提交"; //Session["Lanid"] = result; this.Response.Redirect("U_Manager.aspx"); } else { this.Label_fix_tip.Text = "数据提交失败"; } }