protected void Fix_BillingRates(object sender, EventArgs e) { int periodid = Int32.Parse(Request.Params["id"]); TFS.Intranet.Data.Billing.SPs.SpFixPeriodBillingRates(periodid).Execute(); DisabledAccountsRepeater.DataBind(); AccountsBillingRatesRepeater.DataBind(); AccountsPerDiemRepeater.DataBind(); }
protected void Enable_BillingAccount(object sender, EventArgs e) { int accountid = Int32.Parse(((LinkButton)sender).CommandArgument); int periodid = Int32.Parse(Request.Params["id"]); new TFS.Intranet.Data.Billing.BillingPeriodAccountController().Insert(periodid, accountid); DisabledAccountsRepeater.DataBind(); AccountsBillingRatesRepeater.DataBind(); AccountsPerDiemRepeater.DataBind(); rptBillingCityRates.DataBind(); }