Esempio n. 1
0
        protected void btnInsert_Click1(object sender, EventArgs e)
        {
            string txtnoidung = Server.HtmlDecode(Request.Unvalidated.Form["ckeditor1"]);

            dt.ChiTiet_Insert(txttieude.Text, Txtmota.Text, txtduongdananh.Text, txtnoidung, DateTime.Now, Convert.ToInt32(DrBanTin.SelectedValue));
            Response.Redirect("index.aspx");
        }
Esempio n. 2
0
 protected void btnInsert_Click(object sender, EventArgs e)
 {
     dt.ChiTiet_Insert(txtTieuDe.Text, txtNoiDung.Text,
                       DateTime.Now, Convert.ToInt32(drBanTin.SelectedValue), TxtPath.Text);
     Response.Redirect("index.aspx");
 }