Hi,
I'm using this code in delete command of datagrid:
****************
Dataset1.DSataTable1.Rows(e.Item.ItemIndex).Delete()
adp.Update(DataSet1)
DataGrid1.DataBind()
****************
And it works, but whenever I refresh page another row is deleted. How to stop this from happening?
Thanks
__
Please mark post as answer if it helps, if not come back and ask again!
millet
Contributor
2308 Points
579 Posts
How to upgrade delete command in datagrid
Nov 27, 2005 09:32 AM|LINK
I'm using this code in delete command of datagrid:
****************
Dataset1.DSataTable1.Rows(e.Item.ItemIndex).Delete()
adp.Update(DataSet1)
DataGrid1.DataBind()
****************
And it works, but whenever I refresh page another row is deleted. How to stop this from happening?
Thanks
Please mark post as answer if it helps, if not come back and ask again!