Exemplo n.º 1
0
        protected void grDSLoaiHinhTT_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            int  ma = int.Parse(grDSLoaiHinhTT.DataKeys[e.RowIndex].Value.ToString());
            bool kq = lhdao.Xoa(ma);

            if (kq == true)
            {
                loadDS();
            }
        }