switch (strTimeinterval)
{
case "Hour":
timeInterval = "1 Hour";
break;
case "Day":
timeInterval = "1 Day";
break;
case "Month":
timeInterval = "1 Month";
break;
case "Year":
timeInterval = "1 Year";
break;
default:
timeInterval = "10 Day";
break;
}
{
case "Hour":
timeInterval = "1 Hour";
break;
case "Day":
timeInterval = "1 Day";
break;
case "Month":
timeInterval = "1 Month";
break;
case "Year":
timeInterval = "1 Year";
break;
default:
timeInterval = "10 Day";
break;
}
No comments:
Post a Comment