I want the user really click the button, then exec the code in
btnSubmit_Click event . Not by pushing the <return> button. Does anybody have any idea about this?
Create a separate Subroutine that does all the stuff you need the click event to do (separate from the Button's click event)
Then, in the button's click event - call that event. At this point, you can also call it from anywhere else in your application that you'd like.
ASPNet101.com - where to look first!
Please Vote for ASPNet101 - 'Best Community Resource'!
Control Grouper - easily control properties for multiple controls with one control!
Calendar Express - The Best HTML Calendar Generator on the web!
(Please 'Mark as Answer' when it applies)