Author: nesar | Posted on: 8/10/2009 4:32:34 AM | Views : 457

 Hello,
I made a simple data entry web page where i am entering FRNAME, LNAME, AGE and SALARY , for this this i am using four text box and a ADD BUTTON. clicking on BUTTON i validate above text box then insert into database then sets the value of above text box with "".
My question is when i click on refresh button of ie7.0 application EVENT gets fired with previous data was entered on the form whear as i set the value of text box with "".
I think it refresh button is taking value from cashe.
I want to to stop it mean if i click refresh button application EVENT should work like click on ADD BUTTON.
Protected Sub ImgbtnAdd_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImgbtnAdd.Click
        Dim sFname As String = Me.txtFname.text
        Dim sLname As String = Me.txtLname.tex ...

Go to the complete details ...