----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: saileshsaha Message 4 in Discussion Hi Amit, You can do one thing to handle "Refreshing aspx page inserting value again into DB". You can set a variable in your view state which will hold a flag which states whether the current data is being saved or not. So everytime before saving into the database, first check for this view state value. If it states that the data is not saved, then save it. Otherwise, dont save it. So basically each time you successfully save your database, set this value to false. And next time on saving(be it on save button click/refresh button click), check if the value is true, then save. If false, then dont save. Regards, Sailesh ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
