Beispiel #1
0
        private void ShowSaveDataTableDialog()
        {
            SAPINT.Gui.DataBase.FormSaveDataTable formSaveDt = new DataBase.FormSaveDataTable();
            formSaveDt.Dt            = localdt;
            formSaveDt.SapSystemName = SystemName;
            formSaveDt.SapTableName  = TableName;

            formSaveDt.Show();
        }
        private void btnSaveToDb_Click(object sender, EventArgs e)
        {
            if (this.selectedField == null)
            {
                return;
            }
            if (dgvTableContent.DataSource != null)
            {
                var dt = dgvTableContent.DataSource as DataTable;
                if (dt != null)
                {
                    SAPINT.Gui.DataBase.FormSaveDataTable formSaveDt = new DataBase.FormSaveDataTable();
                    formSaveDt.Dt = dt;
                    formSaveDt.SapSystemName = this._systemName;
                    formSaveDt.SapTableName = selectedField.Name;
                    formSaveDt.SapStrutureName = selectedField.DataTypeName;

                    formSaveDt.Show();
                }
            }
        }
Beispiel #3
0
        private void btnSaveToDb_Click(object sender, EventArgs e)
        {
            if (this.selectedField == null)
            {
                return;
            }
            if (dgvTableContent.DataSource != null)
            {
                var dt = dgvTableContent.DataSource as DataTable;
                if (dt != null)
                {
                    SAPINT.Gui.DataBase.FormSaveDataTable formSaveDt = new DataBase.FormSaveDataTable();
                    formSaveDt.Dt              = dt;
                    formSaveDt.SapSystemName   = this._systemName;
                    formSaveDt.SapTableName    = selectedField.Name;
                    formSaveDt.SapStrutureName = selectedField.DataTypeName;

                    formSaveDt.Show();
                }
            }
        }
        private void ShowSaveDataTableDialog()
        {
            SAPINT.Gui.DataBase.FormSaveDataTable formSaveDt = new DataBase.FormSaveDataTable();
            formSaveDt.Dt = localdt;
            formSaveDt.SapSystemName = SystemName;
            formSaveDt.SapTableName = TableName;

            formSaveDt.Show();
        }