Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi to all,
1) i need to throw a exception and give warning message i.e(if i processed or not)
2) if i click 'ok' need to processed or otherwise just click 'cancel'.
3) here im using formview and it just call insert method and then it throw the exception through logic.

Actually i need to show warning message and return to that logic if i click 'ok' otherwise return it no need to process further.
Posted
Comments
CHill60 1-Apr-15 9:00am    
"throw the exception through logic" does not sound like a good idea. It sounds more like you need some validation. Share the code you are using updating your post with the Improve question link

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