|
|
@ -55,6 +55,15 @@ namespace ExportDataToFile |
|
|
|
this.txtSourcePWD = new System.Windows.Forms.TextBox(); |
|
|
|
this.label5 = new System.Windows.Forms.Label(); |
|
|
|
this.dgvExportList = new System.Windows.Forms.DataGridView(); |
|
|
|
this.clExport = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
|
|
|
this.clCancel = new System.Windows.Forms.DataGridViewButtonColumn(); |
|
|
|
this.clSourceTable = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.clTargetTable = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.clTableDel = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
|
|
|
this.clDataTrim = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
|
|
|
this.clMaxRecord = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.clWhere = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.clMappingData = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.label11 = new System.Windows.Forms.Label(); |
|
|
|
this.dgvColumnMapping = new System.Windows.Forms.DataGridView(); |
|
|
|
this.clExpColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
|
|
@ -66,15 +75,7 @@ namespace ExportDataToFile |
|
|
|
this.label14 = new System.Windows.Forms.Label(); |
|
|
|
this.cbTargetTable = new System.Windows.Forms.ComboBox(); |
|
|
|
this.btnMapping = new System.Windows.Forms.Button(); |
|
|
|
this.clExport = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
|
|
|
this.clCancel = new System.Windows.Forms.DataGridViewButtonColumn(); |
|
|
|
this.clSourceTable = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.clTargetTable = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.clTableDel = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
|
|
|
this.clDataTrim = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
|
|
|
this.clMaxRecord = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.clWhere = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.clMappingData = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.sfPath = new System.Windows.Forms.SaveFileDialog(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvExportList)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvColumnMapping)).BeginInit(); |
|
|
|
this.SuspendLayout(); |
|
|
@ -355,6 +356,74 @@ namespace ExportDataToFile |
|
|
|
this.dgvExportList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvExportList_CellContentClick); |
|
|
|
this.dgvExportList.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvExportList_CellEndEdit); |
|
|
|
//
|
|
|
|
// clExport
|
|
|
|
//
|
|
|
|
this.clExport.FalseValue = "false"; |
|
|
|
this.clExport.Frozen = true; |
|
|
|
this.clExport.HeaderText = "匯出"; |
|
|
|
this.clExport.IndeterminateValue = "false"; |
|
|
|
this.clExport.Name = "clExport"; |
|
|
|
this.clExport.ReadOnly = true; |
|
|
|
this.clExport.TrueValue = "true"; |
|
|
|
this.clExport.Width = 55; |
|
|
|
//
|
|
|
|
// clCancel
|
|
|
|
//
|
|
|
|
this.clCancel.Frozen = true; |
|
|
|
this.clCancel.HeaderText = "清除"; |
|
|
|
this.clCancel.Name = "clCancel"; |
|
|
|
this.clCancel.Text = "Clean"; |
|
|
|
this.clCancel.Width = 55; |
|
|
|
//
|
|
|
|
// clSourceTable
|
|
|
|
//
|
|
|
|
this.clSourceTable.DataPropertyName = "TableName"; |
|
|
|
this.clSourceTable.Frozen = true; |
|
|
|
this.clSourceTable.HeaderText = "來源資料表名稱"; |
|
|
|
this.clSourceTable.Name = "clSourceTable"; |
|
|
|
this.clSourceTable.ReadOnly = true; |
|
|
|
this.clSourceTable.Resizable = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.clSourceTable.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
|
|
this.clSourceTable.Width = 250; |
|
|
|
//
|
|
|
|
// clTargetTable
|
|
|
|
//
|
|
|
|
this.clTargetTable.HeaderText = "目標資料表名稱"; |
|
|
|
this.clTargetTable.Name = "clTargetTable"; |
|
|
|
this.clTargetTable.ReadOnly = true; |
|
|
|
this.clTargetTable.Resizable = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.clTargetTable.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
|
|
this.clTargetTable.Width = 250; |
|
|
|
//
|
|
|
|
// clTableDel
|
|
|
|
//
|
|
|
|
this.clTableDel.HeaderText = "清除目標資料表內容"; |
|
|
|
this.clTableDel.Name = "clTableDel"; |
|
|
|
this.clTableDel.Width = 180; |
|
|
|
//
|
|
|
|
// clDataTrim
|
|
|
|
//
|
|
|
|
this.clDataTrim.HeaderText = "清除尾段空白"; |
|
|
|
this.clDataTrim.Name = "clDataTrim"; |
|
|
|
this.clDataTrim.Width = 120; |
|
|
|
//
|
|
|
|
// clMaxRecord
|
|
|
|
//
|
|
|
|
this.clMaxRecord.HeaderText = "檔案匯出上限筆數"; |
|
|
|
this.clMaxRecord.Name = "clMaxRecord"; |
|
|
|
this.clMaxRecord.Width = 180; |
|
|
|
//
|
|
|
|
// clWhere
|
|
|
|
//
|
|
|
|
this.clWhere.HeaderText = "過濾條件"; |
|
|
|
this.clWhere.Name = "clWhere"; |
|
|
|
this.clWhere.Width = 200; |
|
|
|
//
|
|
|
|
// clMappingData
|
|
|
|
//
|
|
|
|
this.clMappingData.HeaderText = "欄位對應"; |
|
|
|
this.clMappingData.Name = "clMappingData"; |
|
|
|
//
|
|
|
|
// label11
|
|
|
|
//
|
|
|
|
this.label11.AutoSize = true; |
|
|
@ -423,18 +492,17 @@ namespace ExportDataToFile |
|
|
|
this.txtWhere.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.txtWhere.Location = new System.Drawing.Point(1297, 592); |
|
|
|
this.txtWhere.Location = new System.Drawing.Point(1297, 556); |
|
|
|
this.txtWhere.Multiline = true; |
|
|
|
this.txtWhere.Name = "txtWhere"; |
|
|
|
this.txtWhere.Size = new System.Drawing.Size(487, 457); |
|
|
|
this.txtWhere.TabIndex = 47; |
|
|
|
this.txtWhere.Leave += new System.EventHandler(this.txtWhere_Leave); |
|
|
|
//
|
|
|
|
// label13
|
|
|
|
//
|
|
|
|
this.label13.AutoSize = true; |
|
|
|
this.label13.ForeColor = System.Drawing.SystemColors.ControlLight; |
|
|
|
this.label13.Location = new System.Drawing.Point(1297, 569); |
|
|
|
this.label13.Location = new System.Drawing.Point(1297, 533); |
|
|
|
this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
|
|
|
this.label13.Name = "label13"; |
|
|
|
this.label13.Size = new System.Drawing.Size(73, 20); |
|
|
@ -468,83 +536,15 @@ namespace ExportDataToFile |
|
|
|
//
|
|
|
|
// btnMapping
|
|
|
|
//
|
|
|
|
this.btnMapping.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.btnMapping.Location = new System.Drawing.Point(1697, 528); |
|
|
|
this.btnMapping.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.btnMapping.Location = new System.Drawing.Point(1697, 1019); |
|
|
|
this.btnMapping.Name = "btnMapping"; |
|
|
|
this.btnMapping.Size = new System.Drawing.Size(87, 33); |
|
|
|
this.btnMapping.TabIndex = 50; |
|
|
|
this.btnMapping.Text = "欄位對應"; |
|
|
|
this.btnMapping.Text = "設 定"; |
|
|
|
this.btnMapping.UseVisualStyleBackColor = true; |
|
|
|
this.btnMapping.Click += new System.EventHandler(this.btnMapping_Click); |
|
|
|
//
|
|
|
|
// clExport
|
|
|
|
//
|
|
|
|
this.clExport.FalseValue = "false"; |
|
|
|
this.clExport.Frozen = true; |
|
|
|
this.clExport.HeaderText = "匯出"; |
|
|
|
this.clExport.IndeterminateValue = "false"; |
|
|
|
this.clExport.Name = "clExport"; |
|
|
|
this.clExport.ReadOnly = true; |
|
|
|
this.clExport.TrueValue = "true"; |
|
|
|
this.clExport.Width = 55; |
|
|
|
//
|
|
|
|
// clCancel
|
|
|
|
//
|
|
|
|
this.clCancel.Frozen = true; |
|
|
|
this.clCancel.HeaderText = "清除"; |
|
|
|
this.clCancel.Name = "clCancel"; |
|
|
|
this.clCancel.Text = "Clean"; |
|
|
|
this.clCancel.Width = 55; |
|
|
|
//
|
|
|
|
// clSourceTable
|
|
|
|
//
|
|
|
|
this.clSourceTable.DataPropertyName = "TableName"; |
|
|
|
this.clSourceTable.Frozen = true; |
|
|
|
this.clSourceTable.HeaderText = "來源資料表名稱"; |
|
|
|
this.clSourceTable.Name = "clSourceTable"; |
|
|
|
this.clSourceTable.ReadOnly = true; |
|
|
|
this.clSourceTable.Resizable = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.clSourceTable.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
|
|
this.clSourceTable.Width = 250; |
|
|
|
//
|
|
|
|
// clTargetTable
|
|
|
|
//
|
|
|
|
this.clTargetTable.HeaderText = "目標資料表名稱"; |
|
|
|
this.clTargetTable.Name = "clTargetTable"; |
|
|
|
this.clTargetTable.ReadOnly = true; |
|
|
|
this.clTargetTable.Resizable = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.clTargetTable.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; |
|
|
|
this.clTargetTable.Width = 250; |
|
|
|
//
|
|
|
|
// clTableDel
|
|
|
|
//
|
|
|
|
this.clTableDel.HeaderText = "清除目標資料表內容"; |
|
|
|
this.clTableDel.Name = "clTableDel"; |
|
|
|
this.clTableDel.Width = 180; |
|
|
|
//
|
|
|
|
// clDataTrim
|
|
|
|
//
|
|
|
|
this.clDataTrim.HeaderText = "清除尾段空白"; |
|
|
|
this.clDataTrim.Name = "clDataTrim"; |
|
|
|
this.clDataTrim.Width = 120; |
|
|
|
//
|
|
|
|
// clMaxRecord
|
|
|
|
//
|
|
|
|
this.clMaxRecord.HeaderText = "檔案匯出上限筆數"; |
|
|
|
this.clMaxRecord.Name = "clMaxRecord"; |
|
|
|
this.clMaxRecord.Width = 180; |
|
|
|
//
|
|
|
|
// clWhere
|
|
|
|
//
|
|
|
|
this.clWhere.HeaderText = "過濾條件"; |
|
|
|
this.clWhere.Name = "clWhere"; |
|
|
|
this.clWhere.Width = 200; |
|
|
|
//
|
|
|
|
// clMappingData
|
|
|
|
//
|
|
|
|
this.clMappingData.HeaderText = "欄位對應"; |
|
|
|
this.clMappingData.Name = "clMappingData"; |
|
|
|
//
|
|
|
|
// Form1
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F); |
|
|
@ -645,6 +645,7 @@ namespace ExportDataToFile |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn clMaxRecord; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn clWhere; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn clMappingData; |
|
|
|
private System.Windows.Forms.SaveFileDialog sfPath; |
|
|
|
} |
|
|
|
} |
|
|
|
|