/// <summary>
    /// GridView刪除明細
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void GridViewRowDelete(object sender, KYTGridView _kgv)
    {
        Button      imgDelPMCostOne = (Button)sender;
        GridViewRow gr = imgDelPMCostOne.NamingContainer as GridViewRow;
        DataTable   dt = _kgv.DataTable;

        dt.Rows[gr.RowIndex].Delete();
        dt.AcceptChanges();
        //if (!string.IsNullOrEmpty(ITEMNO)) this.ResetGridViewITEMNO(dt, ITEMNO);
        _kgv.DataSource = dt;
        _kgv.DataBind();
    }
    /// <summary>
    /// GridView新增明細
    /// </summary>
    private void GridViewRowAdd(KYTGridView _kgv, Dictionary <string, object> param = null)
    {
        DataTable dt = _kgv.DataTable;
        DataRow   dr = dt.NewRow();

        if (param != null)
        {
            foreach (KeyValuePair <string, object> item in param)
            {
                dr[item.Key] = item.Value;                                                                 //放入自訂欄位值
            }
        }
        dt.Rows.Add(dr);
        //if (!string.IsNullOrEmpty(ITEMNO)) this.ResetGridViewITEMNO(dt, ITEMNO); //重新排序項目編號
        _kgv.DataSource = dt;
        _kgv.DataBind();
    }