Click here to Skip to main content
15,918,211 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
macid = "UPDATE DBUSERS SET MAC_IP='" + macid + "' where MAC_IP='" + macAddresses + "'";
Posted
Comments
So, what is the issue?

Handle the Application.ApplicationExit Event[^] and do it there. Be sure to read the whole article as there are some things you must do if you handle this event.
 
Share this answer
 
You can handle this in Global.asa if you're using ASP. If you're using Asp.Net you'll have have the same functionality in Global.Asax.
 
Share this answer
 

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