Refresh After PostBack

  • Thread starter Thread starter Dot Net Daddy
  • Start date Start date
D

Dot Net Daddy

Hello,

On my page I take some data from the database. There is a DELETE button
to remove the data from the database. DELETE button works fine, it does
what it must do, but after the postback the old data still shows up
whereas it ought to show nothing at all.

Thanks in advance...
 
You are not refreshing the Grid. It is being pulled from ViewState, which is
now old data. Rebind the data in the delete event and you are set.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think Outside the Box!
*************************************************
 
Back
Top