to clear the values of Static variable

Mar 8 2009 2:04 PM
hi to all I am doing a project, in which i have use a static variable count, which is incremented each time i upload the data from database. Since i am retrieving data on the same page thus page gets loads up many times thus i have used static variable so not to repeat the uploaded data. The problem arises when the application end and when i restart it, the value of count begins from the same value where it was ended due to which i get incorrect data. pls tell me tht how can i clear the value or reset this value and where to put tht code to reset it. i need to reset this value from aspx page instead of from code behind ie aspx.cs Thanks ...any help will be appreciated

Answers (1)