Very Urgent

  • Thread starter Thread starter Archna
  • Start date Start date
A

Archna

Dear All

i have a form by which user can enter, modify,delete data
corrosponding to employees.Problem is whenever user modify
data it updates data into database but form shows previous
data whenever i load it again. It shows new data only when
i close the IE and reopen it.

Can anybody tell me why this is happening.


Warm Regards
Archna
 
Check so that a rebind is done on to the data. I assume your are using a
datagrid or something like that. It could be that the data you have in the
grid is only loaded when there is not a postback.

/Cristian
 
Also, the page is cached probably at the local machine, so the browser
realizes it has been here before and doesn't even check to see if there is a
new page, and displays the caches version.

<meta http-equiv="expires" content="Sun, Dec 31 1970 12:00:00 GMT" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache" />

Try putting that in the <head> section of your page that isn't refreshing.

bill
 
Back
Top