private void QuotaData() { //DataTable dt = BGQuotaLogic.GetBGQuota(year); DataTable dt = BG_QuotaManager.GetAllBG_Quota(); PayStore.DataSource = GetPayname(dt); PayStore.DataBind(); }
public void Edit(int id, string PayPrjName, string oldValue, string newValue, object customer) { string message = "<b>编号:</b> {0}<br /><b>科目:</b> {1}<br /><b>原定额:</b> {2}<br /><b>更改定额:</b> {3}"; // Send Message... X.Msg.Notify(new NotificationConfig() { Title = "Edit Record #" + id.ToString(), Html = string.Format(message, id, PayPrjName, oldValue, newValue), Width = 250 }).Show(); BG_Quota qt = BG_QuotaManager.GetBG_QuotaByQtID(id); qt.Money = newValue; BG_QuotaManager.ModifyBG_Quota(qt); }