Esempio n. 1
0
        protected void btn_edit_Click(object sender, EventArgs e)
        {

            try
            {
                Contact contact = ReceiveHtml();
                ContactBSO contactBSO = new ContactBSO();
                contactBSO.UpdateContact(contact);
                if (chkSendMail.Checked == true)
                {
                    Check_SendMail(contact);
                }
                error.Text = String.Format(Resources.StringAdmin.UpdateSuccessful, "Đặt thuê xe", contact.ContactID);
            }
            catch (Exception ex)
            {
                error.Text = ex.Message.ToString();
            }
        }