Click here to Skip to main content
15,113,726 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

I have one code behind function like below

Private Sub Get()
Dim test1 As String
Dim test As String
If test IsNot Nothing Then

End If

now i want to call this get() function when user close the web form, I mean when user click (X) on browser.

please help me .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900