string strAnswer = GetAnswerFromDB();
switch (strAnswer.toUpper())
{
case "MRP":
DoActionRelatedtoMRP();
break;
case "RATE":
DoActionRelatedtoRATE();
break;
case "SALE RATE":
DoActionRelatedtoSALERate();
break;
default:
DoCommonAction();
break;
}
private void DoActionRelatedtoMRP()
{
}
private void DoActionRelatedtoRATE()
{
}
private void DoActionRelatedtoSALERate()
{
}
private void DoCommonAction()
{
}
click Accept Answer button if solves your problem.. it motivates :)