Пример #1
0
 protected void btnChapNhanHoSo_Click(object sender, EventArgs e)
 {
     if (don.ChapNhanBienDong(Session["DangKyBienDong"].ToString(), txtNgayNhan.Text, txtNguoiNhan.Text, txtSoTiepNhan.Text, txtQuyen.Text))
     {
         Response.Write("<script>alert('Thành công!')</script>");
         Response.Redirect("~/VanPhong/TiepNhanDon/BaoCaoHoSoBienDongMoi.aspx");
     }
     else
     {
         Response.Write("<script>alert('LỖI! ~_~ ')</script>");
     }
 }