I'm trying to find an alternative to MsgBox Yes/No to query users with different Yes No questions based upon where they are and what they're doing. I've found some references to AJAX but I'm not sure how to call these from VB code midsteam after a user has initiated an action. These decisions are being prompted by various scenarios provided after querying a database. I'm looking for code suggestions, I've provided a sample of one scenario however the query to the user is different each time and there are numerous steps in just one of my routines. Thanks for the assist!
If SUSID = True Then
MyMsg = "The ID (" & txtUserID.Text.ToString & ") is currently in a SUSPENDED status, do you want to unsuspend the ID?"
If MsgBox(MyMsg, vbYesNo + MsgBoxStyle.Information) = MsgBoxResult.Yes Then
BTW SUSID is determined by a value in a database.