when i click on delete record in gridview it stil show that record bt when i refresh the page then it dosnt show it..
how to refresh it automatically?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit ChoudharyPosted Mar 8, 2010, 8:18 AM
Rebind your Grid/Datalist after performing the operation inside the Item_command or Delete_Command event of Datagrid view or Datalist and your problem will solved.
Please mark the answer if it helps you.
Bryian TanPosted Mar 6, 2010, 6:13 PM
Did you try to re-bind it?
Thanks,
Bryian Tan