Пример #1
0
 protected void btUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         fc.updateTerms(Session["UserLogin"].ToString(), editorContent.Text);
         loadData();
         Response.Write("<script>alert('Cập nhật thành công')</script>");
     }
     catch (Exception)
     {
         cnDb.conn.Close();
         Response.Write("<script>alert('Cập nhật thất bại')</script>");
     }
 }