In the below code snippet, frmMain is the name of my form. For some reason this form is submitted twice at random times. There is no way that the user could click the button twice. But still duplicate submission happens occasionally. Unable to reproduce the bug during testing and could not figure out why this is happening. Does anyone get a hint of why this could be happening?