protected void GV_Sanpham_RowDeleting(object sender, GridViewDeleteEventArgs e) { string Masp = Convert.ToString(GV_Sanpham.DataKeys[e.RowIndex].Value); _QLSP.Deletesp(Masp); GV_Sanpham.DataSource = _QLSP.Getsp(); GV_Sanpham.DataBind(); }
void load() { GV_Sanpham.DataSource = _QLSP.Getsp(); GV_Sanpham.DataBind(); }