protected void inserting_TimesheetBillingCityRate(object sender, EventArgs e) { var city = Convert.ToInt32(drpDwnInsertPerDiemCity.SelectedValue); var count = Convert.ToInt32(drpDwnInsertPerDiemCount.SelectedValue); var billingCityRateControl = new TFS.Intranet.Data.Billing.TimesheetBillingCityRateController(); billingCityRateControl.Insert(TimesheetId, city, count); TimesheetCityRateGridView.DataBind(); }