MESSAGE BOX YES/NO CONDITION IN C# VB.NET
================================================================================
if ((MessageBox.Show("Do U Want To Update?", "YESNO", MessageBoxButtons.YesNo)==DialogResult.Yes))
{
clearall();
MessageBox.Show("Data Updated");
}
else
{
clearall();
MessageBox.Show("Data Not Updated");
}
================================================================================
1 comment:
I know, to you here will help to find the correct decision.
Post a Comment