protected void drpFromYear_SelectedIndexChanged(object sender, EventArgs e) { objA = new ProjectPerformanceGroupA(); objA.getValues(drpFromMonth, drpFromYear, drpFromMonth, drpLstYear, drplstMonth); }
public void getValueofCurrentSchedularStatus(DropDownList frmMonth, DropDownList fromYr) { clsEntReports objEnt = (new ProjectPerGroupA()).getCurrentQtrYear(); string month = objEnt.Month == "Mar" ? "1" : objEnt.Month == "Jun" ? "2" : objEnt.Month == "Sep" ? "3" : objEnt.Month == "Dec" ? "4" : ""; frmMonth.Items.FindByValue(month).Selected = true; fromYr.Items.FindByText(objEnt.Year).Selected = true; objA = new ProjectPerformanceGroupA(); objA.getValues(frmMonth, drpFromYear, frmMonth, drpLstYear, drplstMonth); }