ooKanalyLattanog
New Member
In WinForms, I can do this:\[code\]var msg = MessageBox.Show("Are you sure?", "WARNING!", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2);if (msg == DialogResult.Yes){ //do something}\[/code\]How do I mimic the above in ASP .NET/C#?