protected void btnChuyen_Click(object sender, EventArgs e) { if (Session["DSCaSauChuyenNguonGoc"] != null && Session["DSCaSauChuyenNguonGoc"].ToString() != "") { int res = csCont.ChuyenNguonGoc(Session["DSCaSauChuyenNguonGoc"].ToString(), int.Parse(ddlNguonGoc.SelectedValue)); Page.ClientScript.RegisterStartupScript(typeof(string), "updated", "<script language=javascript>alert('Đã chuyển xong với những cá sấu hợp lệ');window.opener.finishEdit();self.close();</script>", false); } }