private void btnSave_Click(object sender, EventArgs e)
        {
            if (formHelper.inputCheck(groupBox1))
            {
                SetPara();

                #region  检查要插入的字段是否已存在
                if (transportLogic.SearchTransportName(txtName.Text.Trim()))
                {
                    MessageBox.Show("该记录已存在,请从新操作!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    ClearAction();
                    txtName.Focus();
                    return;
                }
                #endregion

                // 插入运输单位信息记录;
                if (transportLogic.FrmTransportInsert(transportClass))
                {
                    ClearAction();
                    //MessageBox.Show("新增记录成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    SetDataGridView();
                }
                else
                {
                    MessageBox.Show("新增记录失败,请从新操作!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }

                //cbxprincipal.DataSource = transportLogic.FrmTransportSearchAll("", 0);
                //cbxprincipal.DisplayMember = "负责人";
                //cbxprincipal.SelectedIndex = -1;

                //cbxPostCode.DataSource = transportLogic.FrmTransportSearchAll("", 0);
                //cbxPostCode.DisplayMember = "邮编";
                //cbxPostCode.SelectedIndex = -1;
            }
        }