示例#1
0
        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();
        }
示例#2
0
        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();
        }