Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"OK/Cancel" popup dialouge box?

Status
Not open for further replies.

nickmollberg

Programmer
Aug 2, 2004
29
US
Prior to saving changes on a form, I'd like a popup/dialouge box to come up with "Are you sure... YES/NO"

Is this possible to do with web forms in visual studio using C#?
 
Yes it is.

Look up messageBox on MSDN

you want to trigger it on the submit event for your form, and if form == OK, then update your database, else do nothing.
K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top