Пример #1
0
        protected void gvDanhSachPhim_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            PhimBUS   pBUS = new PhimBUS();
            TableCell cell = gvDanhSachPhim.Rows[e.RowIndex].Cells[0];

            pBUS.XoaPhim(Convert.ToInt32(cell.Text));
            cell = gvDanhSachPhim.Rows[e.RowIndex].Cells[8];
            string strBuilder = "<script language='javascript'>alert('" + "Xóa thành công" + "')</script>";

            Response.Write(strBuilder);
            FilGVDanhSachPhim();
        }