Friday, March 4, 2011

Conditional Message Box ( Yes, No) Button Click

DialogResult dlgResult = MessageBox.Show("Size Added . Do You Want To Entry the Stock ?", "Continue?", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (dlgResult == DialogResult.Yes)
{

}
else if (dlgResult == DialogResult.No)
{

}

No comments:

SQL Optimization

  SQL Optimization  1. Add where on your query  2. If you remove some data after the data return then remove the remove condition in the sel...