i know that in vb.net you can just do Exit Sub
but i would like to know how do i exit a click event in a button?
here\'s my code:
pr
I'd suggest trying to avoid using return/exit if you don't have to. Some people will devoutly tell you to NEVER do it, but sometimes it just makes sense. However if you can structure you checks so that you don't have to enter into them, I think it makes it easier for people to follow your code later.