Avoid Duplicate insertion into DB
On ASP.NET 3.5 page, there is a dorpdownlist (shows travelers), image and AJAX popup control extender associated with image to open Formview in it (in a Panel) to create new traveler if it is not in the list.
I am using LINQ to SQL to generate new Traveler ID and record insertion is happening into DB through simple configuration of FormView control.
The problem is: when I add new traveler by open and filling data into FormView control it works fine. But when I refresh Page just after that, it adds same record again.
Is there any way to stop doing that???
I can send you screenshots and code, if you please mention your email.
Thanks very much.