/// <summary>
        /// 添加一条数据
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void lnkbtnAdd_Click(object sender, EventArgs e)
        {
            B_FinanceDeptInfo financeDeptInfo = new B_FinanceDeptInfo();
            financeDeptInfo.FinanceYear = this.ddlFinanceYear.SelectedValue;
            financeDeptInfo.DeptID = this.ddlDept.SelectedValue;
            financeDeptInfo.TripBudgetCost = this.txtTripBudget.Text.Trim();
            financeDeptInfo.TrainingBudgetCost = this.txtTrainingBudget.Text;
            financeDeptInfo.ZDBudgetCost = this.txtZDBudget.Text;
            financeDeptInfo.TripUseCost ="0";
            financeDeptInfo.TrainingUseCost = "0";
            financeDeptInfo.ZDBudgetCost = "0";
            if (financeDeptInfo.Save())
            {
                //得到所有财务费用
                BindFinanceList();
                //清空页面数据
                ClearData();

                IMessage ms = new WebFormMessage(Page, ConstString.PromptInfo.ACTION_ADD_SUC);
                ms.Show();
            }
            else
            {
                IMessage im = new WebFormMessage(Page, financeDeptInfo.ErrMsgs[0].ToString());
                im.Show();
            }
        }
        /// <summary>
        /// 修改选择的数据
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void lnkbtnModify_Click(object sender, EventArgs e)
        {
            int index = gvFinanceFeeList.SelectedIndex;
            int id    = int.Parse(gvFinanceFeeList.DataKeys[index]["ID"].ToString());

            B_FinanceDeptInfo financeDeptInfo = new B_FinanceDeptInfo();

            financeDeptInfo.ID                 = id;
            financeDeptInfo.FinanceYear        = this.ddlFinanceYear.SelectedValue;
            financeDeptInfo.DeptID             = this.ddlDept.SelectedValue;
            financeDeptInfo.TripBudgetCost     = this.txtTripBudget.Text.Trim();
            financeDeptInfo.TrainingBudgetCost = this.txtTrainingBudget.Text;
            financeDeptInfo.ZDBudgetCost       = this.txtZDBudget.Text;
            financeDeptInfo.TripUseCost        = this.txtTripUse.Text;
            financeDeptInfo.TrainingUseCost    = this.txtTrainingUse.Text;
            financeDeptInfo.ZDUseCost          = this.txtZDUse.Text;
            if (financeDeptInfo.Save())
            {
                //得到所有财务费用
                BindFinanceList();
                //清空页面数据
                ClearData();
                IMessage ms = new WebFormMessage(Page, ConstString.PromptInfo.ACTION_EDIT_SUC);
                ms.Show();
            }
            else
            {
                IMessage ms = new WebFormMessage(Page, financeDeptInfo.ErrMsgs[0].ToString());
                ms.Show();
            }
        }
        /// <summary>
        /// 添加一条数据
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void lnkbtnAdd_Click(object sender, EventArgs e)
        {
            B_FinanceDeptInfo financeDeptInfo = new B_FinanceDeptInfo();

            financeDeptInfo.FinanceYear        = this.ddlFinanceYear.SelectedValue;
            financeDeptInfo.DeptID             = this.ddlDept.SelectedValue;
            financeDeptInfo.TripBudgetCost     = this.txtTripBudget.Text.Trim();
            financeDeptInfo.TrainingBudgetCost = this.txtTrainingBudget.Text;
            financeDeptInfo.ZDBudgetCost       = this.txtZDBudget.Text;
            financeDeptInfo.TripUseCost        = "0";
            financeDeptInfo.TrainingUseCost    = "0";
            financeDeptInfo.ZDBudgetCost       = "0";
            if (financeDeptInfo.Save())
            {
                //得到所有财务费用
                BindFinanceList();
                //清空页面数据
                ClearData();

                IMessage ms = new WebFormMessage(Page, ConstString.PromptInfo.ACTION_ADD_SUC);
                ms.Show();
            }
            else
            {
                IMessage im = new WebFormMessage(Page, financeDeptInfo.ErrMsgs[0].ToString());
                im.Show();
            }
        }
        /// <summary>
        /// 修改选择的数据
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void lnkbtnModify_Click(object sender, EventArgs e)
        {
            int index = gvFinanceFeeList.SelectedIndex;
            int id = int.Parse(gvFinanceFeeList.DataKeys[index]["ID"].ToString());

            B_FinanceDeptInfo financeDeptInfo = new B_FinanceDeptInfo();
            financeDeptInfo.ID = id;
            financeDeptInfo.FinanceYear = this.ddlFinanceYear.SelectedValue;
            financeDeptInfo.DeptID = this.ddlDept.SelectedValue;
            financeDeptInfo.TripBudgetCost = this.txtTripBudget.Text.Trim();
            financeDeptInfo.TrainingBudgetCost = this.txtTrainingBudget.Text;
            financeDeptInfo.ZDBudgetCost = this.txtZDBudget.Text;
            financeDeptInfo.TripUseCost = this.txtTripUse.Text;
            financeDeptInfo.TrainingUseCost = this.txtTrainingUse.Text;
            financeDeptInfo.ZDUseCost = this.txtZDUse.Text;
            if (financeDeptInfo.Save())
            {
                //得到所有财务费用
                BindFinanceList();
                //清空页面数据
                ClearData();
                IMessage ms = new WebFormMessage(Page, ConstString.PromptInfo.ACTION_EDIT_SUC);
                ms.Show();

            }
            else
            {
                IMessage ms = new WebFormMessage(Page, financeDeptInfo.ErrMsgs[0].ToString());
                ms.Show();
            }
        }