diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs
index 7bd7f5b..b33ff5e 100644
--- a/Project/fMain.Designer.cs
+++ b/Project/fMain.Designer.cs
@@ -80,6 +80,7 @@
this.휴일연장근무집계표출력ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem9 = new System.Windows.Forms.ToolStripSeparator();
this.근태입력ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.출근부출력ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.근로명부ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.personalInventoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mn_docu = new System.Windows.Forms.ToolStripMenuItem();
@@ -124,7 +125,8 @@
this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
- this.출근부출력ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripMenuItem10 = new System.Windows.Forms.ToolStripSeparator();
+ this.휴가신청ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmTab.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
@@ -505,6 +507,8 @@
this.휴일연장근무집계표출력ToolStripMenuItem,
this.toolStripMenuItem9,
this.근태입력ToolStripMenuItem,
+ this.휴가신청ToolStripMenuItem,
+ this.toolStripMenuItem10,
this.출근부출력ToolStripMenuItem,
this.근로명부ToolStripMenuItem});
this.휴가관리ToolStripMenuItem.ForeColor = System.Drawing.Color.Black;
@@ -541,6 +545,13 @@
this.근태입력ToolStripMenuItem.Text = "연차 관리";
this.근태입력ToolStripMenuItem.Click += new System.EventHandler(this.근태입력ToolStripMenuItem_Click);
//
+ // 출근부출력ToolStripMenuItem
+ //
+ this.출근부출력ToolStripMenuItem.Name = "출근부출력ToolStripMenuItem";
+ this.출근부출력ToolStripMenuItem.Size = new System.Drawing.Size(248, 24);
+ this.출근부출력ToolStripMenuItem.Text = "출근부 출력";
+ this.출근부출력ToolStripMenuItem.Click += new System.EventHandler(this.출근부출력ToolStripMenuItem_Click);
+ //
// 근로명부ToolStripMenuItem
//
this.근로명부ToolStripMenuItem.ForeColor = System.Drawing.Color.Tomato;
@@ -933,12 +944,17 @@
this.toolStripButton2.Text = "품목정보";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
//
- // 출근부출력ToolStripMenuItem
+ // toolStripMenuItem10
//
- this.출근부출력ToolStripMenuItem.Name = "출근부출력ToolStripMenuItem";
- this.출근부출력ToolStripMenuItem.Size = new System.Drawing.Size(248, 24);
- this.출근부출력ToolStripMenuItem.Text = "출근부 출력";
- this.출근부출력ToolStripMenuItem.Click += new System.EventHandler(this.출근부출력ToolStripMenuItem_Click);
+ this.toolStripMenuItem10.Name = "toolStripMenuItem10";
+ this.toolStripMenuItem10.Size = new System.Drawing.Size(245, 6);
+ //
+ // 휴가신청ToolStripMenuItem
+ //
+ this.휴가신청ToolStripMenuItem.Name = "휴가신청ToolStripMenuItem";
+ this.휴가신청ToolStripMenuItem.Size = new System.Drawing.Size(248, 24);
+ this.휴가신청ToolStripMenuItem.Text = "휴가 신청";
+ this.휴가신청ToolStripMenuItem.Click += new System.EventHandler(this.휴가신청ToolStripMenuItem_Click);
//
// fMain
//
@@ -1067,6 +1083,8 @@
private System.Windows.Forms.ToolStripMenuItem 휴일연장근무집계표출력ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 메일자동발신테스트ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 출근부출력ToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem 휴가신청ToolStripMenuItem;
+ private System.Windows.Forms.ToolStripSeparator toolStripMenuItem10;
}
}
diff --git a/Project/fMain.cs b/Project/fMain.cs
index 36abf54..65a69a2 100644
--- a/Project/fMain.cs
+++ b/Project/fMain.cs
@@ -1087,5 +1087,12 @@ namespace Project
var f = new FBS0000.WorkTable();
f.Show();
}
+
+ private void 휴가신청ToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ string formkey = "HOLYREQ";
+ if (!ShowForm(formkey))
+ AddForm(formkey, new FPJ0000.fHolyRequest());
+ }
}
}
diff --git a/Project/fMain.resx b/Project/fMain.resx
index 49a33f3..276a2c5 100644
--- a/Project/fMain.resx
+++ b/Project/fMain.resx
@@ -153,6 +153,26 @@
Mi4wAwEBAAAh+QQBAAAXACwAAAAAEAAQAAAIggAvCBwo0IJBCwQTFqwAAQEDhAoXTpgoYQDEhBYqTKDA
kYKEBRclciRAoMEDCREuZtw40oKCCihVauxIIYEBmCkJruxYoWfMggYPsOyJU+WAABMqCJDgM+eFg0iV
Aigg4WfBo0kFADAYwWnBABSkQjSIcYDYiAMtBHCwFW3ag24HBgQAOw==
+
+
+
+
+ R0lGODlhEAAQAIQAAHan1azQ4ldvj9vp9HSQruTr80lVa+vx9pu811SRuXifuj13uYyz2VFhe4Gt2UNL
+ XPL1+Orv+ufu9YOqxYyzzNHW3SkxQz5FVWag2T6CuZe3y5G0t+Do7+r0/77a9f///yH/C05FVFNDQVBF
+ Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIrwA/CBxIsKDAAQESIkBAYYICBQQICCAgMMAACQMyaswo
+ oUKDih0SZMiwoKTJBQcEVDyAoEMHDy5hdnAg4eMHBBIQeNjJcyeDAjYRRNAQs+hMoAIpRNjQs6eDAgYE
+ TshpVCYAqAIV5GzKU0GBB1klMKjqEgMHsB8IiOW60+wFgQQgIGDgoC4AABgwADjw9oOAChAkSChAmIPh
+ AxUswBXAuEEDAwYePLhwwYJNg5gFBgQAOw==
+
+
+
+
+ R0lGODlhEAAQAIQfAHWSrbTY+6nU/I+74/r8/drj7FlxkUlVa9Xp/eLs9cvT2oWpxG+bwqPQ+57N++v1
+ /lJgeabK7JnB5kNLXJG0z5nA1oyw0SkxQz5FVb7e/aC91tHl8qXB2n2gu////////yH/C05FVFNDQVBF
+ Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpAA/CBxIsKDBgwQ9KFzIsKHCDRUqUFhAsQOAiwAMQFBY
+ gYDHjyAJKNjogQIBChoQZAgQAEGCiQUOKFxAIEMEDhsQPEDAQEKDBzI9dKiZIYOFowwENPg5QeHQlRIi
+ SJAwYIADBwWaegCQIMAACQEEKK2KFYNCrgMihBXbwEHVBGY9GFCQIEGBu3jvKrhw1oBfCBAOHJgwAQOG
+ CyQdKlaIsLHjggEBADs=
@@ -335,26 +355,6 @@
oMEBBAgsfsjoAQGDCQsKJEhAAcKBChYQajyZkiWECwYMAHiAkAAAlCop4FRA9ABPDxgqABVqQIGEpxQG
IMTQoCaEphICaFXAAaEABCmZZtUawECGi0gRHGigloFWCgzOYhRAt0OHASg1yD24cUAFDRcNMhwAWLBB
D4UNMwz8ISAAOw==
-
-
-
-
- R0lGODlhEAAQAIQAAHan1azQ4ldvj9vp9HSQruTr80lVa+vx9pu811SRuXifuj13uYyz2VFhe4Gt2UNL
- XPL1+Orv+ufu9YOqxYyzzNHW3SkxQz5FVWag2T6CuZe3y5G0t+Do7+r0/77a9f///yH/C05FVFNDQVBF
- Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIrwA/CBxIsKDAAQESIkBAYYICBQQICCAgMMAACQMyaswo
- oUKDih0SZMiwoKTJBQcEVDyAoEMHDy5hdnAg4eMHBBIQeNjJcyeDAjYRRNAQs+hMoAIpRNjQs6eDAgYE
- TshpVCYAqAIV5GzKU0GBB1klMKjqEgMHsB8IiOW60+wFgQQgIGDgoC4AABgwADjw9oOAChAkSChAmIPh
- AxUswBXAuEEDAwYePLhwwYJNg5gFBgQAOw==
-
-
-
-
- R0lGODlhEAAQAIQfAHWSrbTY+6nU/I+74/r8/drj7FlxkUlVa9Xp/eLs9cvT2oWpxG+bwqPQ+57N++v1
- /lJgeabK7JnB5kNLXJG0z5nA1oyw0SkxQz5FVb7e/aC91tHl8qXB2n2gu////////yH/C05FVFNDQVBF
- Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIpAA/CBxIsKDBgwQ9KFzIsKHCDRUqUFhAsQOAiwAMQFBY
- gYDHjyAJKNjogQIBChoQZAgQAEGCiQUOKFxAIEMEDhsQPEDAQEKDBzI9dKiZIYOFowwENPg5QeHQlRIi
- SJAwYIADBwWaegCQIMAACQEEKK2KFYNCrgMihBXbwEHVBGY9GFCQIEGBu3jvKrhw1oBfCBAOHJgwAQOG
- CyQdKlaIsLHjggEBADs=
@@ -421,20 +421,20 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMVSURBVDhPfZNdTJtlGIZ7amI8wLCKoz+bHiA4k0WXoNEY
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMVSURBVDhPfZNdTJtlGIZ7amI8wLCKoz+bHiBMk0WXoNEY
XcZIhG3MDvkZ3T4YlJYfN7vRYZFRR0tbaIHyU6C4DC1FtrJGJ6NTHJLNmLgtmQtbt3TOdcFpMRjPSMj0
srzrko0Y7+Q+efLc1/e8z/t+soEKNavtLVfTJ6no2aukW6uks0yBqzQdZ/Fa7EVrsRY+y8eaNFp2PoMA
/PG9+799voOF2Xbi55z8/rWde2ds/Hr6KPMhC3dPNtNcIBeA+cipg8RnrcTGCx94bBd3/O9y+3gBP/u2
- Ee17h5tduUScW7jW+hY3XBp+8Ztp2iC/nwCoSiZtW8UXw42bmDz8Cqa8VIIHNjJWv5ERw0sMVW0QNbc2
- E3txBj/5Ggg25PDhtjX9shV5JfWlyyNVzJ04xETd86L5U916hivW0b9HTddulai1apR8ZtnNBefeRDhl
- 4UDOUykC0CspXh8zZXPvmzZCja+K5sHydfSUqegoVmErVIpai2Y9F/s+4BN9Ng15T5eI8EN1axWj51y7
- +MFnYGagjimPgS+79ITcek62V/O5Q8ekq4YvGvMw5ad+l4w9UK8h88l+SRk6Uqa43/Fm+t+rr2pl203b
- 5Stn5nB+6j+WnWnuZFQm81WkpwxI6j+DTW8z69U95pl+HdN9Os72VHGmu5LTnZVMOCV6a1+jpUB+VAAG
- 9qiiE81bOD9UQ/DgJsbrX2SsLgt/bRbHDVkM6zLx7nsBj5SBS5vBkHErozaJzursxETykKyrLO2vuaCJ
+ Ee17h5tduUScW7jW+hY3XBp+8Ztp2iC/nwCoSiZtW8UXw42bmDz8Cqa8VIIHNjJWv5ERw0sMVb0oam5t
+ JvbiDH7yNRBsyOHDbWv6ZSvySupLl0eqmDtxiIm650Xzp7r1DFeso3+Pmq7dKlFr1Sj5zLKbC869iXDK
+ woGcp1IEoFdSvD5myubeN22EGl8VzYPl6+gpU9FRrMJWqBS1Fs16LvZ9wCf6bBryni4R4Yfq1ipGz7l2
+ 8YPPwMxAHVMeA1926Qm59Zxsr+Zzh45JVw1fNOZhyk/9Lhl7oF5D5pP9kjJ0pExxv+PN9L9XX9XKtpu2
+ y1fOzOH81H8sO9PcyahM5qtITxmQ1H8Gm95m1qt7zDP9Oqb7dJztqeJMdyWnOyuZcEr01r5GS4H8qAAM
+ 7FFFJ5q3cH6ohuDBTYzXb2CsLgt/bRbHDVkM6zLx7nsBj5SBS5vBkHErozaJzursxETykKyrLO2vuaCJ
oPFlRqufE8v6PzdtV+A2bOZEe404kgDcnbET+6qR2xP7uTVeSzSg4+bIPq4Pa5nzlnDVU8gV1w4u2/O5
1JrLj5bEgxo2rewjCfi2LREqJXJsB8d6bHg8HuFpx3tcsORw5CMzRqMRvV7PQrRU+JrPJCYSgDtnrcxP
O4iF2wj4OonFYkQiEfx+Pw6Hg3A4zNLSEpUV5VwdbBDhxwCP/nGu+lympqaIx+MsLy8LLy4uEggE0Gne
- EGM/uhNxE6tltVrfN5vN0YdjS5L0W1FR0aBGo3ki2ZKUTPYvVBs1OyeHDDkAAAAASUVORK5CYII=
+ EGM/uhNxE6tltVrfN5vN0YdjS5L0W1FR0aBGo3ki2ZKUTPYvUMs1OgYzlbwAAAAASUVORK5CYII=
diff --git a/SubProject/FCM0000/DSUser.Designer.cs b/SubProject/FCM0000/DSUser.Designer.cs
index fbb36ef..48e82dd 100644
--- a/SubProject/FCM0000/DSUser.Designer.cs
+++ b/SubProject/FCM0000/DSUser.Designer.cs
@@ -1226,6 +1226,8 @@ namespace FCM0000 {
private global::System.Data.DataColumn columnkuntae;
+ private global::System.Data.DataColumn columnholyreq;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public AuthDataTable() {
@@ -1363,6 +1365,14 @@ namespace FCM0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn holyreqColumn {
+ get {
+ return this.columnholyreq;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -1400,7 +1410,7 @@ namespace FCM0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public AuthRow AddAuthRow(string user, string gcode, int purchase, int holyday, int project, int jobreport, int savecost, int scheapp, int equipment, int kusul, int otconfirm, int kuntae) {
+ public AuthRow AddAuthRow(string user, string gcode, int purchase, int holyday, int project, int jobreport, int savecost, int scheapp, int equipment, int kusul, int otconfirm, int kuntae, int holyreq) {
AuthRow rowAuthRow = ((AuthRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -1415,7 +1425,8 @@ namespace FCM0000 {
equipment,
kusul,
otconfirm,
- kuntae};
+ kuntae,
+ holyreq};
rowAuthRow.ItemArray = columnValuesArray;
this.Rows.Add(rowAuthRow);
return rowAuthRow;
@@ -1458,6 +1469,7 @@ namespace FCM0000 {
this.columnkusul = base.Columns["kusul"];
this.columnotconfirm = base.Columns["otconfirm"];
this.columnkuntae = base.Columns["kuntae"];
+ this.columnholyreq = base.Columns["holyreq"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1489,6 +1501,8 @@ namespace FCM0000 {
base.Columns.Add(this.columnotconfirm);
this.columnkuntae = new global::System.Data.DataColumn("kuntae", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnkuntae);
+ this.columnholyreq = new global::System.Data.DataColumn("holyreq", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnholyreq);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -2444,6 +2458,22 @@ namespace FCM0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int holyreq {
+ get {
+ try {
+ return ((int)(this[this.tableAuth.holyreqColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'Auth\' 테이블의 \'holyreq\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableAuth.holyreqColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsuserNull() {
@@ -2575,6 +2605,18 @@ namespace FCM0000 {
public void SetkuntaeNull() {
this[this.tableAuth.kuntaeColumn] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsholyreqNull() {
+ return this.IsNull(this.tableAuth.holyreqColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetholyreqNull() {
+ this[this.tableAuth.holyreqColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -4316,10 +4358,11 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
tableMapping.ColumnMappings.Add("kusul", "kusul");
tableMapping.ColumnMappings.Add("otconfirm", "otconfirm");
tableMapping.ColumnMappings.Add("kuntae", "kuntae");
+ tableMapping.ColumnMappings.Add("holyreq", "holyreq");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Auth] WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)))";
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Auth] WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_user", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -4345,10 +4388,12 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otconfirm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [Auth] ([user], [gcode], [purchase], [holyday], [project], [jobreport], [savecost], [scheapp], [equipment], [kusul], [otconfirm], [kuntae]) VALUES (@user, @gcode, @purchase, @holyday, @project, @jobreport, @savecost, @scheapp, @equipment, @kusul, @otconfirm, @kuntae);
-SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae FROM Auth WHERE (idx = SCOPE_IDENTITY()) ORDER BY [user]";
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [Auth] ([user], [gcode], [purchase], [holyday], [project], [jobreport], [savecost], [scheapp], [equipment], [kusul], [otconfirm], [kuntae], [holyreq]) VALUES (@user, @gcode, @purchase, @holyday, @project, @jobreport, @savecost, @scheapp, @equipment, @kusul, @otconfirm, @kuntae, @holyreq);
+SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq FROM Auth WHERE (idx = SCOPE_IDENTITY()) ORDER BY [user]";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -4362,10 +4407,29 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kusul", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kusul", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
- this._adapter.UpdateCommand.CommandText = @"UPDATE [Auth] SET [user] = @user, [gcode] = @gcode, [purchase] = @purchase, [holyday] = @holyday, [project] = @project, [jobreport] = @jobreport, [savecost] = @savecost, [scheapp] = @scheapp, [equipment] = @equipment, [kusul] = @kusul, [otconfirm] = @otconfirm, [kuntae] = @kuntae WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)));
-SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae FROM Auth WHERE (idx = @idx) ORDER BY [user]";
+ this._adapter.UpdateCommand.CommandText = "UPDATE [Auth] SET [user] = @user, [gcode] = @gcode, [purchase] = @purchase, [holy" +
+ "day] = @holyday, [project] = @project, [jobreport] = @jobreport, [savecost] = @s" +
+ "avecost, [scheapp] = @scheapp, [equipment] = @equipment, [kusul] = @kusul, [otco" +
+ "nfirm] = @otconfirm, [kuntae] = @kuntae, [holyreq] = @holyreq WHERE (([idx] = @O" +
+ "riginal_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_u" +
+ "ser)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] " +
+ "IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [ho" +
+ "lyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AN" +
+ "D [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport" +
+ " = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsN" +
+ "ull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) A" +
+ "ND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheap" +
+ "p)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Orig" +
+ "inal_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Ori" +
+ "ginal_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfir" +
+ "m] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([k" +
+ "untae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR " +
+ "([holyreq] = @Original_holyreq)));\r\nSELECT idx, [user], gcode, purchase, holyday" +
+ ", project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, ho" +
+ "lyreq FROM Auth WHERE (idx = @idx) ORDER BY [user]";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -4379,6 +4443,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kusul", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kusul", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_user", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -4403,6 +4468,8 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otconfirm", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -4420,8 +4487,8 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche" +
- "app, equipment, kusul, otconfirm, kuntae\r\nFROM Auth\r\nWHERE (gcode = @gcode)" +
- "\r\nORDER BY [user]";
+ "app, equipment, kusul, otconfirm, kuntae, holyreq\r\nFROM Auth\r\nWHERE (gcode " +
+ "= @gcode)\r\nORDER BY [user]";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -4495,7 +4562,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
- public virtual int Delete(int Original_idx, string Original_user, string Original_gcode, global::System.Nullable Original_purchase, global::System.Nullable Original_holyday, global::System.Nullable Original_project, global::System.Nullable Original_jobreport, global::System.Nullable Original_savecost, global::System.Nullable Original_scheapp, global::System.Nullable Original_equipment, global::System.Nullable Original_kusul, global::System.Nullable Original_otconfirm, global::System.Nullable Original_kuntae) {
+ public virtual int Delete(int Original_idx, string Original_user, string Original_gcode, global::System.Nullable Original_purchase, global::System.Nullable Original_holyday, global::System.Nullable Original_project, global::System.Nullable Original_jobreport, global::System.Nullable Original_savecost, global::System.Nullable Original_scheapp, global::System.Nullable Original_equipment, global::System.Nullable Original_kusul, global::System.Nullable Original_otconfirm, global::System.Nullable Original_kuntae, global::System.Nullable Original_holyreq) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_user == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -4591,6 +4658,14 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value;
}
+ if ((Original_holyreq.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[25].Value = ((int)(Original_holyreq.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -4611,7 +4686,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
- public virtual int Insert(string user, string gcode, global::System.Nullable purchase, global::System.Nullable holyday, global::System.Nullable project, global::System.Nullable jobreport, global::System.Nullable savecost, global::System.Nullable scheapp, global::System.Nullable equipment, global::System.Nullable kusul, global::System.Nullable otconfirm, global::System.Nullable kuntae) {
+ public virtual int Insert(string user, string gcode, global::System.Nullable purchase, global::System.Nullable holyday, global::System.Nullable project, global::System.Nullable jobreport, global::System.Nullable savecost, global::System.Nullable scheapp, global::System.Nullable equipment, global::System.Nullable kusul, global::System.Nullable otconfirm, global::System.Nullable kuntae, global::System.Nullable holyreq) {
if ((user == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -4684,6 +4759,12 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
else {
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
}
+ if ((holyreq.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[12].Value = ((int)(holyreq.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -4717,6 +4798,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
global::System.Nullable kusul,
global::System.Nullable otconfirm,
global::System.Nullable kuntae,
+ global::System.Nullable holyreq,
int Original_idx,
string Original_user,
string Original_gcode,
@@ -4730,6 +4812,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
global::System.Nullable Original_kusul,
global::System.Nullable Original_otconfirm,
global::System.Nullable Original_kuntae,
+ global::System.Nullable Original_holyreq,
int idx) {
if ((user == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -4803,102 +4886,116 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
else {
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
}
- this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_idx));
- if ((Original_user == null)) {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ if ((holyreq.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(holyreq.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_user));
+ this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idx));
+ if ((Original_user == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_user));
}
if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode");
}
else {
- this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_gcode));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_gcode));
}
if ((Original_purchase.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_purchase.Value));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_purchase.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
}
if ((Original_holyday.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_holyday.Value));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_holyday.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
}
if ((Original_project.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_project.Value));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_project.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
if ((Original_jobreport.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_jobreport.Value));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_jobreport.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
if ((Original_savecost.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_savecost.Value));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_savecost.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
}
if ((Original_scheapp.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_scheapp.Value));
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(Original_scheapp.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
}
if ((Original_equipment.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_equipment.Value));
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_equipment.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
if ((Original_kusul.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_kusul.Value));
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_kusul.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
if ((Original_otconfirm.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_otconfirm.Value));
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_otconfirm.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
if ((Original_kuntae.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(Original_kuntae.Value));
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(Original_kuntae.Value));
}
else {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
- this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(idx));
+ if ((Original_holyreq.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((int)(Original_holyreq.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -4932,6 +5029,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
global::System.Nullable kusul,
global::System.Nullable otconfirm,
global::System.Nullable kuntae,
+ global::System.Nullable holyreq,
int Original_idx,
string Original_user,
string Original_gcode,
@@ -4944,8 +5042,9 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
global::System.Nullable Original_equipment,
global::System.Nullable Original_kusul,
global::System.Nullable Original_otconfirm,
- global::System.Nullable Original_kuntae) {
- return this.Update(user, gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, Original_idx, Original_user, Original_gcode, Original_purchase, Original_holyday, Original_project, Original_jobreport, Original_savecost, Original_scheapp, Original_equipment, Original_kusul, Original_otconfirm, Original_kuntae, Original_idx);
+ global::System.Nullable Original_kuntae,
+ global::System.Nullable Original_holyreq) {
+ return this.Update(user, gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq, Original_idx, Original_user, Original_gcode, Original_purchase, Original_holyday, Original_project, Original_jobreport, Original_savecost, Original_scheapp, Original_equipment, Original_kusul, Original_otconfirm, Original_kuntae, Original_holyreq, Original_idx);
}
}
diff --git a/SubProject/FCM0000/DSUser.xsd b/SubProject/FCM0000/DSUser.xsd
index 8040160..9dd3e5a 100644
--- a/SubProject/FCM0000/DSUser.xsd
+++ b/SubProject/FCM0000/DSUser.xsd
@@ -254,7 +254,7 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
- DELETE FROM [Auth] WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)))
+ DELETE FROM [Auth] WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)))
@@ -280,13 +280,15 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
+
+
- INSERT INTO [Auth] ([user], [gcode], [purchase], [holyday], [project], [jobreport], [savecost], [scheapp], [equipment], [kusul], [otconfirm], [kuntae]) VALUES (@user, @gcode, @purchase, @holyday, @project, @jobreport, @savecost, @scheapp, @equipment, @kusul, @otconfirm, @kuntae);
-SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae FROM Auth WHERE (idx = SCOPE_IDENTITY()) ORDER BY [user]
+ INSERT INTO [Auth] ([user], [gcode], [purchase], [holyday], [project], [jobreport], [savecost], [scheapp], [equipment], [kusul], [otconfirm], [kuntae], [holyreq]) VALUES (@user, @gcode, @purchase, @holyday, @project, @jobreport, @savecost, @scheapp, @equipment, @kusul, @otconfirm, @kuntae, @holyreq);
+SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq FROM Auth WHERE (idx = SCOPE_IDENTITY()) ORDER BY [user]
@@ -300,12 +302,13 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
+
- SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae
+ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq
FROM Auth
WHERE (gcode = @gcode)
ORDER BY [user]
@@ -316,8 +319,8 @@ ORDER BY [user]
- UPDATE [Auth] SET [user] = @user, [gcode] = @gcode, [purchase] = @purchase, [holyday] = @holyday, [project] = @project, [jobreport] = @jobreport, [savecost] = @savecost, [scheapp] = @scheapp, [equipment] = @equipment, [kusul] = @kusul, [otconfirm] = @otconfirm, [kuntae] = @kuntae WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)));
-SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae FROM Auth WHERE (idx = @idx) ORDER BY [user]
+ UPDATE [Auth] SET [user] = @user, [gcode] = @gcode, [purchase] = @purchase, [holyday] = @holyday, [project] = @project, [jobreport] = @jobreport, [savecost] = @savecost, [scheapp] = @scheapp, [equipment] = @equipment, [kusul] = @kusul, [otconfirm] = @otconfirm, [kuntae] = @kuntae, [holyreq] = @holyreq WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)));
+SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq FROM Auth WHERE (idx = @idx) ORDER BY [user]
@@ -331,6 +334,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
+
@@ -355,6 +359,8 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
+
+
@@ -375,6 +381,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
+
@@ -386,7 +393,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
-
+
@@ -414,7 +421,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
-
+
@@ -541,7 +548,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
-
+
@@ -568,7 +575,8 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
-
+
+
diff --git a/SubProject/FCM0000/Mail/fMailList.Designer.cs b/SubProject/FCM0000/Mail/fMailList.Designer.cs
index 0007de9..a3314bd 100644
--- a/SubProject/FCM0000/Mail/fMailList.Designer.cs
+++ b/SubProject/FCM0000/Mail/fMailList.Designer.cs
@@ -85,6 +85,7 @@
//
this.bs.DataMember = "MailData";
this.bs.DataSource = this.dSMail;
+ this.bs.Sort = "wdate desc,pdate";
//
// ta
//
diff --git a/SubProject/FCM0000/User/fUserAuth.Designer.cs b/SubProject/FCM0000/User/fUserAuth.Designer.cs
index ecfe48c..cc42a3d 100644
--- a/SubProject/FCM0000/User/fUserAuth.Designer.cs
+++ b/SubProject/FCM0000/User/fUserAuth.Designer.cs
@@ -30,19 +30,7 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fUserAuth));
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.dSUser = new FCM0000.DSUser();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
@@ -66,16 +54,26 @@
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.ta = new FCM0000.DSUserTableAdapters.AuthTableAdapter();
- this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
+ this.arDatagridView1 = new arCtl.arDatagridView();
+ this.userDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.purchaseDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.holydayDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.projectDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.jobreportDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.savecostDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.scheappDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.equipmentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.kusulDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.otconfirmDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.kuntaeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.holyreqDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dSUser)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
this.cm1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).BeginInit();
this.SuspendLayout();
//
// dSUser
@@ -107,14 +105,14 @@
this.toolStripLabel2,
this.tbFind,
this.btFind});
- this.bn.Location = new System.Drawing.Point(0, 573);
+ this.bn.Location = new System.Drawing.Point(0, 585);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
- this.bn.Size = new System.Drawing.Size(954, 25);
+ this.bn.Size = new System.Drawing.Size(1168, 25);
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
@@ -165,7 +163,6 @@
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AutoSize = false;
- this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
@@ -230,7 +227,6 @@
// tbFind
//
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbFind.Name = "tbFind";
this.tbFind.Size = new System.Drawing.Size(100, 25);
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
@@ -278,154 +274,147 @@
this.loadToolStripMenuItem.Text = "너비값 불러오기";
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
//
- // fpSpread1
- //
- this.fpSpread1.AccessibleDescription = "";
- this.fpSpread1.ContextMenuStrip = this.cm1;
- this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.fpSpread1.Location = new System.Drawing.Point(0, 0);
- this.fpSpread1.Name = "fpSpread1";
- this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
- this.fpSpread1_Sheet1});
- this.fpSpread1.Size = new System.Drawing.Size(954, 573);
- this.fpSpread1.TabIndex = 2;
- //
// ta
//
this.ta.ClearBeforeFill = true;
//
- // fpSpread1_Sheet1
+ // arDatagridView1
//
- this.fpSpread1_Sheet1.Reset();
- this.fpSpread1_Sheet1.SheetName = "Sheet1";
- // Formulas and custom names must be loaded with R1C1 reference style
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
- this.fpSpread1_Sheet1.ColumnCount = 13;
- this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
- this.fpSpread1_Sheet1.ActiveRowIndex = -1;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "사용자 번호";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "구매관리";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "근태관리";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "프로젝트";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "업무일지";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "연장근무";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "근태관리";
- this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 33F;
- numberCellType1.DecimalPlaces = 0;
- numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType1.MaximumValue = 2147483647D;
- numberCellType1.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
- this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
- this.fpSpread1_Sheet1.Columns.Get(0).Visible = false;
- this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F;
- this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
- this.fpSpread1_Sheet1.Columns.Get(1).DataField = "user";
- this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(1).Label = "사용자 번호";
- this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F;
- this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
- this.fpSpread1_Sheet1.Columns.Get(2).DataField = "gcode";
- this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(2).Visible = false;
- this.fpSpread1_Sheet1.Columns.Get(2).Width = 151F;
- numberCellType2.DecimalPlaces = 0;
- numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType2.MaximumValue = 2147483647D;
- numberCellType2.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2;
- this.fpSpread1_Sheet1.Columns.Get(3).DataField = "purchase";
- this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(3).Label = "구매관리";
- this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(3).Width = 77F;
- numberCellType3.DecimalPlaces = 0;
- numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType3.MaximumValue = 2147483647D;
- numberCellType3.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType3;
- this.fpSpread1_Sheet1.Columns.Get(4).DataField = "holyday";
- this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(4).Label = "근태관리";
- this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(4).Width = 77F;
- numberCellType4.DecimalPlaces = 0;
- numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType4.MaximumValue = 2147483647D;
- numberCellType4.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType4;
- this.fpSpread1_Sheet1.Columns.Get(5).DataField = "project";
- this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(5).Label = "프로젝트";
- this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(5).Width = 77F;
- numberCellType5.DecimalPlaces = 0;
- numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType5.MaximumValue = 2147483647D;
- numberCellType5.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType5;
- this.fpSpread1_Sheet1.Columns.Get(6).DataField = "jobreport";
- this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(6).Label = "업무일지";
- this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(6).Width = 77F;
- numberCellType6.DecimalPlaces = 0;
- numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType6.MaximumValue = 2147483647D;
- numberCellType6.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(7).CellType = numberCellType6;
- this.fpSpread1_Sheet1.Columns.Get(7).DataField = "savecost";
- numberCellType7.DecimalPlaces = 0;
- numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType7.MaximumValue = 2147483647D;
- numberCellType7.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(8).CellType = numberCellType7;
- this.fpSpread1_Sheet1.Columns.Get(8).DataField = "scheapp";
- numberCellType8.DecimalPlaces = 0;
- numberCellType8.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType8.MaximumValue = 2147483647D;
- numberCellType8.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType8;
- this.fpSpread1_Sheet1.Columns.Get(9).DataField = "equipment";
- numberCellType9.DecimalPlaces = 0;
- numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType9.MaximumValue = 2147483647D;
- numberCellType9.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType9;
- this.fpSpread1_Sheet1.Columns.Get(10).DataField = "kusul";
- numberCellType10.DecimalPlaces = 0;
- numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType10.MaximumValue = 2147483647D;
- numberCellType10.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType10;
- this.fpSpread1_Sheet1.Columns.Get(11).DataField = "otconfirm";
- this.fpSpread1_Sheet1.Columns.Get(11).Label = "연장근무";
- numberCellType11.DecimalPlaces = 0;
- numberCellType11.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType11.MaximumValue = 2147483647D;
- numberCellType11.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType11;
- this.fpSpread1_Sheet1.Columns.Get(12).DataField = "kuntae";
- this.fpSpread1_Sheet1.Columns.Get(12).Label = "근태관리";
- this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
- this.fpSpread1_Sheet1.DataSource = this.bs;
- this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
+ this.arDatagridView1.A_DelCurrentCell = true;
+ this.arDatagridView1.A_EnterToTab = true;
+ this.arDatagridView1.A_KoreanField = null;
+ this.arDatagridView1.A_UpperField = null;
+ this.arDatagridView1.A_ViewRownumOnHeader = true;
+ this.arDatagridView1.AllowUserToAddRows = false;
+ this.arDatagridView1.AutoGenerateColumns = false;
+ this.arDatagridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(3);
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.arDatagridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+ this.arDatagridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.arDatagridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.userDataGridViewTextBoxColumn,
+ this.purchaseDataGridViewTextBoxColumn,
+ this.holydayDataGridViewTextBoxColumn,
+ this.projectDataGridViewTextBoxColumn,
+ this.jobreportDataGridViewTextBoxColumn,
+ this.savecostDataGridViewTextBoxColumn,
+ this.scheappDataGridViewTextBoxColumn,
+ this.equipmentDataGridViewTextBoxColumn,
+ this.kusulDataGridViewTextBoxColumn,
+ this.otconfirmDataGridViewTextBoxColumn,
+ this.kuntaeDataGridViewTextBoxColumn,
+ this.holyreqDataGridViewTextBoxColumn});
+ this.arDatagridView1.ContextMenuStrip = this.cm1;
+ this.arDatagridView1.DataSource = this.bs;
+ this.arDatagridView1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.arDatagridView1.Location = new System.Drawing.Point(0, 0);
+ this.arDatagridView1.Name = "arDatagridView1";
+ this.arDatagridView1.RowTemplate.Height = 23;
+ this.arDatagridView1.Size = new System.Drawing.Size(1168, 585);
+ this.arDatagridView1.TabIndex = 3;
+ //
+ // userDataGridViewTextBoxColumn
+ //
+ this.userDataGridViewTextBoxColumn.DataPropertyName = "user";
+ this.userDataGridViewTextBoxColumn.HeaderText = "UID";
+ this.userDataGridViewTextBoxColumn.Name = "userDataGridViewTextBoxColumn";
+ this.userDataGridViewTextBoxColumn.Width = 55;
+ //
+ // purchaseDataGridViewTextBoxColumn
+ //
+ this.purchaseDataGridViewTextBoxColumn.DataPropertyName = "purchase";
+ this.purchaseDataGridViewTextBoxColumn.HeaderText = "구매";
+ this.purchaseDataGridViewTextBoxColumn.Name = "purchaseDataGridViewTextBoxColumn";
+ this.purchaseDataGridViewTextBoxColumn.Width = 60;
+ //
+ // holydayDataGridViewTextBoxColumn
+ //
+ this.holydayDataGridViewTextBoxColumn.DataPropertyName = "holyday";
+ this.holydayDataGridViewTextBoxColumn.HeaderText = "출근부";
+ this.holydayDataGridViewTextBoxColumn.Name = "holydayDataGridViewTextBoxColumn";
+ this.holydayDataGridViewTextBoxColumn.Width = 72;
+ //
+ // projectDataGridViewTextBoxColumn
+ //
+ this.projectDataGridViewTextBoxColumn.DataPropertyName = "project";
+ this.projectDataGridViewTextBoxColumn.HeaderText = "프로젝트";
+ this.projectDataGridViewTextBoxColumn.Name = "projectDataGridViewTextBoxColumn";
+ this.projectDataGridViewTextBoxColumn.Width = 84;
+ //
+ // jobreportDataGridViewTextBoxColumn
+ //
+ this.jobreportDataGridViewTextBoxColumn.DataPropertyName = "jobreport";
+ this.jobreportDataGridViewTextBoxColumn.HeaderText = "업무일지";
+ this.jobreportDataGridViewTextBoxColumn.Name = "jobreportDataGridViewTextBoxColumn";
+ this.jobreportDataGridViewTextBoxColumn.Width = 84;
+ //
+ // savecostDataGridViewTextBoxColumn
+ //
+ this.savecostDataGridViewTextBoxColumn.DataPropertyName = "savecost";
+ this.savecostDataGridViewTextBoxColumn.HeaderText = "savecost";
+ this.savecostDataGridViewTextBoxColumn.Name = "savecostDataGridViewTextBoxColumn";
+ this.savecostDataGridViewTextBoxColumn.Width = 87;
+ //
+ // scheappDataGridViewTextBoxColumn
+ //
+ this.scheappDataGridViewTextBoxColumn.DataPropertyName = "scheapp";
+ this.scheappDataGridViewTextBoxColumn.HeaderText = "scheapp";
+ this.scheappDataGridViewTextBoxColumn.Name = "scheappDataGridViewTextBoxColumn";
+ this.scheappDataGridViewTextBoxColumn.Width = 85;
+ //
+ // equipmentDataGridViewTextBoxColumn
+ //
+ this.equipmentDataGridViewTextBoxColumn.DataPropertyName = "equipment";
+ this.equipmentDataGridViewTextBoxColumn.HeaderText = "equipment";
+ this.equipmentDataGridViewTextBoxColumn.Name = "equipmentDataGridViewTextBoxColumn";
+ this.equipmentDataGridViewTextBoxColumn.Width = 95;
+ //
+ // kusulDataGridViewTextBoxColumn
+ //
+ this.kusulDataGridViewTextBoxColumn.DataPropertyName = "kusul";
+ this.kusulDataGridViewTextBoxColumn.HeaderText = "kusul";
+ this.kusulDataGridViewTextBoxColumn.Name = "kusulDataGridViewTextBoxColumn";
+ this.kusulDataGridViewTextBoxColumn.Width = 66;
+ //
+ // otconfirmDataGridViewTextBoxColumn
+ //
+ this.otconfirmDataGridViewTextBoxColumn.DataPropertyName = "otconfirm";
+ this.otconfirmDataGridViewTextBoxColumn.HeaderText = "OT승인";
+ this.otconfirmDataGridViewTextBoxColumn.Name = "otconfirmDataGridViewTextBoxColumn";
+ this.otconfirmDataGridViewTextBoxColumn.Width = 77;
+ //
+ // kuntaeDataGridViewTextBoxColumn
+ //
+ this.kuntaeDataGridViewTextBoxColumn.DataPropertyName = "kuntae";
+ this.kuntaeDataGridViewTextBoxColumn.HeaderText = "kuntae";
+ this.kuntaeDataGridViewTextBoxColumn.Name = "kuntaeDataGridViewTextBoxColumn";
+ this.kuntaeDataGridViewTextBoxColumn.Visible = false;
+ this.kuntaeDataGridViewTextBoxColumn.Width = 73;
+ //
+ // holyreqDataGridViewTextBoxColumn
+ //
+ this.holyreqDataGridViewTextBoxColumn.DataPropertyName = "holyreq";
+ this.holyreqDataGridViewTextBoxColumn.HeaderText = "휴가요청";
+ this.holyreqDataGridViewTextBoxColumn.Name = "holyreqDataGridViewTextBoxColumn";
+ this.holyreqDataGridViewTextBoxColumn.Width = 84;
//
// fUserAuth
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(954, 598);
+ this.ClientSize = new System.Drawing.Size(1168, 610);
this.ContextMenuStrip = this.cm1;
- this.Controls.Add(this.fpSpread1);
+ this.Controls.Add(this.arDatagridView1);
this.Controls.Add(this.bn);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
this.Name = "fUserAuth";
this.Text = "사용자 권한";
this.UseFormSetting = false;
@@ -436,8 +425,7 @@
this.bn.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
this.cm1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -459,7 +447,6 @@
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
private System.Windows.Forms.ToolStripButton customsBindingNavigatorSaveItem;
private System.Windows.Forms.ContextMenuStrip cm1;
- private FarPoint.Win.Spread.FpSpread fpSpread1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
private System.Windows.Forms.ToolStripTextBox tbFind;
@@ -470,6 +457,18 @@
private DSUser dSUser;
private System.Windows.Forms.BindingSource bs;
private DSUserTableAdapters.AuthTableAdapter ta;
- private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
+ private arCtl.arDatagridView arDatagridView1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn userDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn purchaseDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn holydayDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn projectDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn jobreportDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn savecostDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn scheappDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn equipmentDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn kusulDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn otconfirmDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn kuntaeDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn holyreqDataGridViewTextBoxColumn;
}
}
\ No newline at end of file
diff --git a/SubProject/FCM0000/User/fUserAuth.cs b/SubProject/FCM0000/User/fUserAuth.cs
index 74ff8d1..2db5739 100644
--- a/SubProject/FCM0000/User/fUserAuth.cs
+++ b/SubProject/FCM0000/User/fUserAuth.cs
@@ -37,7 +37,7 @@ namespace FCM0000
try
{
this.ta.Fill(this.dSUser.Auth,FCOMMON.info.Login.gcode);
- FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1);
+ // FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1);
}catch (Exception ex)
{
@@ -97,12 +97,12 @@ namespace FCM0000
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
- FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize1);
+ // FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize1);
}
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
{
- FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize1);
+ // FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize1);
}
diff --git a/SubProject/FCM0000/User/fUserAuth.resx b/SubProject/FCM0000/User/fUserAuth.resx
index e393a08..32a92dd 100644
--- a/SubProject/FCM0000/User/fUserAuth.resx
+++ b/SubProject/FCM0000/User/fUserAuth.resx
@@ -232,9 +232,6 @@
vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw==
-
- 439, 17
-
377, 17
diff --git a/SubProject/FCOMMON/Auth.cs b/SubProject/FCOMMON/Auth.cs
index 957f5df..2bd2fd5 100644
--- a/SubProject/FCOMMON/Auth.cs
+++ b/SubProject/FCOMMON/Auth.cs
@@ -18,6 +18,7 @@ namespace FCOMMON
equipment,
otconfirm,
kuntae,
+ holyreq
}
public static int getAuth(eAuthType type, string uid)
{
diff --git a/SubProject/FPJ0000/DSKuntae.Designer.cs b/SubProject/FPJ0000/DSKuntae.Designer.cs
new file mode 100644
index 0000000..8f7c8ed
--- /dev/null
+++ b/SubProject/FPJ0000/DSKuntae.Designer.cs
@@ -0,0 +1,2199 @@
+//------------------------------------------------------------------------------
+//
+// 이 코드는 도구를 사용하여 생성되었습니다.
+// 런타임 버전:4.0.30319.42000
+//
+// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
+// 이러한 변경 내용이 손실됩니다.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace FPJ0000 {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("DSKuntae")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class DSKuntae : global::System.Data.DataSet {
+
+ private EETGW_HolydayRequestDataTable tableEETGW_HolydayRequest;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public DSKuntae() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected DSKuntae(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context, false) {
+ if ((this.IsBinarySerialized(info, context) == true)) {
+ this.InitVars(false);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ this.Tables.CollectionChanged += schemaChangedHandler1;
+ this.Relations.CollectionChanged += schemaChangedHandler1;
+ return;
+ }
+ string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
+ if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ if ((ds.Tables["EETGW_HolydayRequest"] != null)) {
+ base.Tables.Add(new EETGW_HolydayRequestDataTable(ds.Tables["EETGW_HolydayRequest"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public EETGW_HolydayRequestDataTable EETGW_HolydayRequest {
+ get {
+ return this.tableEETGW_HolydayRequest;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public override global::System.Data.DataSet Clone() {
+ DSKuntae cln = ((DSKuntae)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
+ if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ this.Reset();
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXml(reader);
+ if ((ds.Tables["EETGW_HolydayRequest"] != null)) {
+ base.Tables.Add(new EETGW_HolydayRequestDataTable(ds.Tables["EETGW_HolydayRequest"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
+ global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
+ this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
+ stream.Position = 0;
+ return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars(bool initTable) {
+ this.tableEETGW_HolydayRequest = ((EETGW_HolydayRequestDataTable)(base.Tables["EETGW_HolydayRequest"]));
+ if ((initTable == true)) {
+ if ((this.tableEETGW_HolydayRequest != null)) {
+ this.tableEETGW_HolydayRequest.InitVars();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitClass() {
+ this.DataSetName = "DSKuntae";
+ this.Prefix = "";
+ this.Namespace = "http://tempuri.org/DSKuntae.xsd";
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tableEETGW_HolydayRequest = new EETGW_HolydayRequestDataTable();
+ base.Tables.Add(this.tableEETGW_HolydayRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private bool ShouldSerializeEETGW_HolydayRequest() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ DSKuntae ds = new DSKuntae();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public delegate void EETGW_HolydayRequestRowChangeEventHandler(object sender, EETGW_HolydayRequestRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class EETGW_HolydayRequestDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnidx;
+
+ private global::System.Data.DataColumn columngcode;
+
+ private global::System.Data.DataColumn columnuid;
+
+ private global::System.Data.DataColumn columncate;
+
+ private global::System.Data.DataColumn columnsdate;
+
+ private global::System.Data.DataColumn columnedate;
+
+ private global::System.Data.DataColumn columnRemark;
+
+ private global::System.Data.DataColumn columnwuid;
+
+ private global::System.Data.DataColumn columnwdate;
+
+ private global::System.Data.DataColumn columndept;
+
+ private global::System.Data.DataColumn columnname;
+
+ private global::System.Data.DataColumn columngrade;
+
+ private global::System.Data.DataColumn columntel;
+
+ private global::System.Data.DataColumn columnprocesss;
+
+ private global::System.Data.DataColumn columnResponse;
+
+ private global::System.Data.DataColumn columnconf;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_HolydayRequestDataTable() {
+ this.TableName = "EETGW_HolydayRequest";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal EETGW_HolydayRequestDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected EETGW_HolydayRequestDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn idxColumn {
+ get {
+ return this.columnidx;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn gcodeColumn {
+ get {
+ return this.columngcode;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn uidColumn {
+ get {
+ return this.columnuid;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn cateColumn {
+ get {
+ return this.columncate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn sdateColumn {
+ get {
+ return this.columnsdate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn edateColumn {
+ get {
+ return this.columnedate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn RemarkColumn {
+ get {
+ return this.columnRemark;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn wuidColumn {
+ get {
+ return this.columnwuid;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn wdateColumn {
+ get {
+ return this.columnwdate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn deptColumn {
+ get {
+ return this.columndept;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn nameColumn {
+ get {
+ return this.columnname;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn gradeColumn {
+ get {
+ return this.columngrade;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn telColumn {
+ get {
+ return this.columntel;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn processsColumn {
+ get {
+ return this.columnprocesss;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ResponseColumn {
+ get {
+ return this.columnResponse;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn confColumn {
+ get {
+ return this.columnconf;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_HolydayRequestRow this[int index] {
+ get {
+ return ((EETGW_HolydayRequestRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event EETGW_HolydayRequestRowChangeEventHandler EETGW_HolydayRequestRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event EETGW_HolydayRequestRowChangeEventHandler EETGW_HolydayRequestRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event EETGW_HolydayRequestRowChangeEventHandler EETGW_HolydayRequestRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event EETGW_HolydayRequestRowChangeEventHandler EETGW_HolydayRequestRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void AddEETGW_HolydayRequestRow(EETGW_HolydayRequestRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_HolydayRequestRow AddEETGW_HolydayRequestRow(string gcode, string uid, string cate, string sdate, string edate, string Remark, string wuid, System.DateTime wdate, string dept, string name, string grade, string tel, string processs, string Response, int conf) {
+ EETGW_HolydayRequestRow rowEETGW_HolydayRequestRow = ((EETGW_HolydayRequestRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ gcode,
+ uid,
+ cate,
+ sdate,
+ edate,
+ Remark,
+ wuid,
+ wdate,
+ dept,
+ name,
+ grade,
+ tel,
+ processs,
+ Response,
+ conf};
+ rowEETGW_HolydayRequestRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowEETGW_HolydayRequestRow);
+ return rowEETGW_HolydayRequestRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_HolydayRequestRow FindByidx(int idx) {
+ return ((EETGW_HolydayRequestRow)(this.Rows.Find(new object[] {
+ idx})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ EETGW_HolydayRequestDataTable cln = ((EETGW_HolydayRequestDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new EETGW_HolydayRequestDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars() {
+ this.columnidx = base.Columns["idx"];
+ this.columngcode = base.Columns["gcode"];
+ this.columnuid = base.Columns["uid"];
+ this.columncate = base.Columns["cate"];
+ this.columnsdate = base.Columns["sdate"];
+ this.columnedate = base.Columns["edate"];
+ this.columnRemark = base.Columns["Remark"];
+ this.columnwuid = base.Columns["wuid"];
+ this.columnwdate = base.Columns["wdate"];
+ this.columndept = base.Columns["dept"];
+ this.columnname = base.Columns["name"];
+ this.columngrade = base.Columns["grade"];
+ this.columntel = base.Columns["tel"];
+ this.columnprocesss = base.Columns["processs"];
+ this.columnResponse = base.Columns["Response"];
+ this.columnconf = base.Columns["conf"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitClass() {
+ this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidx);
+ this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngcode);
+ this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnuid);
+ this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columncate);
+ this.columnsdate = new global::System.Data.DataColumn("sdate", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnsdate);
+ this.columnedate = new global::System.Data.DataColumn("edate", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnedate);
+ this.columnRemark = new global::System.Data.DataColumn("Remark", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRemark);
+ this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnwuid);
+ this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnwdate);
+ this.columndept = new global::System.Data.DataColumn("dept", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndept);
+ this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnname);
+ this.columngrade = new global::System.Data.DataColumn("grade", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngrade);
+ this.columntel = new global::System.Data.DataColumn("tel", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntel);
+ this.columnprocesss = new global::System.Data.DataColumn("processs", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnprocesss);
+ this.columnResponse = new global::System.Data.DataColumn("Response", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnResponse);
+ this.columnconf = new global::System.Data.DataColumn("conf", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnconf);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnidx}, true));
+ this.columnidx.AutoIncrement = true;
+ this.columnidx.AutoIncrementSeed = -1;
+ this.columnidx.AutoIncrementStep = -1;
+ this.columnidx.AllowDBNull = false;
+ this.columnidx.ReadOnly = true;
+ this.columnidx.Unique = true;
+ this.columngcode.AllowDBNull = false;
+ this.columngcode.MaxLength = 10;
+ this.columnuid.MaxLength = 20;
+ this.columncate.MaxLength = 20;
+ this.columnsdate.MaxLength = 10;
+ this.columnedate.MaxLength = 10;
+ this.columnRemark.MaxLength = 255;
+ this.columnwuid.AllowDBNull = false;
+ this.columnwuid.MaxLength = 20;
+ this.columnwdate.AllowDBNull = false;
+ this.columndept.MaxLength = 100;
+ this.columnname.MaxLength = 100;
+ this.columngrade.MaxLength = 10;
+ this.columntel.MaxLength = 20;
+ this.columnprocesss.ReadOnly = true;
+ this.columnprocesss.MaxLength = 50;
+ this.columnResponse.MaxLength = 255;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_HolydayRequestRow NewEETGW_HolydayRequestRow() {
+ return ((EETGW_HolydayRequestRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new EETGW_HolydayRequestRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(EETGW_HolydayRequestRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.EETGW_HolydayRequestRowChanged != null)) {
+ this.EETGW_HolydayRequestRowChanged(this, new EETGW_HolydayRequestRowChangeEvent(((EETGW_HolydayRequestRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.EETGW_HolydayRequestRowChanging != null)) {
+ this.EETGW_HolydayRequestRowChanging(this, new EETGW_HolydayRequestRowChangeEvent(((EETGW_HolydayRequestRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.EETGW_HolydayRequestRowDeleted != null)) {
+ this.EETGW_HolydayRequestRowDeleted(this, new EETGW_HolydayRequestRowChangeEvent(((EETGW_HolydayRequestRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.EETGW_HolydayRequestRowDeleting != null)) {
+ this.EETGW_HolydayRequestRowDeleting(this, new EETGW_HolydayRequestRowChangeEvent(((EETGW_HolydayRequestRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void RemoveEETGW_HolydayRequestRow(EETGW_HolydayRequestRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DSKuntae ds = new DSKuntae();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "EETGW_HolydayRequestDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class EETGW_HolydayRequestRow : global::System.Data.DataRow {
+
+ private EETGW_HolydayRequestDataTable tableEETGW_HolydayRequest;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal EETGW_HolydayRequestRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableEETGW_HolydayRequest = ((EETGW_HolydayRequestDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int idx {
+ get {
+ return ((int)(this[this.tableEETGW_HolydayRequest.idxColumn]));
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.idxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string gcode {
+ get {
+ return ((string)(this[this.tableEETGW_HolydayRequest.gcodeColumn]));
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.gcodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string uid {
+ get {
+ if (this.IsuidNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.uidColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.uidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string cate {
+ get {
+ if (this.IscateNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.cateColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.cateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string sdate {
+ get {
+ if (this.IssdateNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.sdateColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.sdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string edate {
+ get {
+ if (this.IsedateNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.edateColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.edateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Remark {
+ get {
+ if (this.IsRemarkNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.RemarkColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.RemarkColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string wuid {
+ get {
+ return ((string)(this[this.tableEETGW_HolydayRequest.wuidColumn]));
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.wuidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public System.DateTime wdate {
+ get {
+ return ((global::System.DateTime)(this[this.tableEETGW_HolydayRequest.wdateColumn]));
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.wdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string dept {
+ get {
+ if (this.IsdeptNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.deptColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.deptColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string name {
+ get {
+ if (this.IsnameNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.nameColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.nameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string grade {
+ get {
+ if (this.IsgradeNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.gradeColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.gradeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string tel {
+ get {
+ if (this.IstelNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.telColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.telColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string processs {
+ get {
+ if (this.IsprocesssNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.processsColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.processsColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string Response {
+ get {
+ if (this.IsResponseNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableEETGW_HolydayRequest.ResponseColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.ResponseColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int conf {
+ get {
+ if (this.IsconfNull()) {
+ return 0;
+ }
+ else {
+ return ((int)(this[this.tableEETGW_HolydayRequest.confColumn]));
+ }
+ }
+ set {
+ this[this.tableEETGW_HolydayRequest.confColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsuidNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.uidColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetuidNull() {
+ this[this.tableEETGW_HolydayRequest.uidColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IscateNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.cateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetcateNull() {
+ this[this.tableEETGW_HolydayRequest.cateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IssdateNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.sdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetsdateNull() {
+ this[this.tableEETGW_HolydayRequest.sdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsedateNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.edateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetedateNull() {
+ this[this.tableEETGW_HolydayRequest.edateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsRemarkNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.RemarkColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetRemarkNull() {
+ this[this.tableEETGW_HolydayRequest.RemarkColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsdeptNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.deptColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetdeptNull() {
+ this[this.tableEETGW_HolydayRequest.deptColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsnameNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.nameColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetnameNull() {
+ this[this.tableEETGW_HolydayRequest.nameColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsgradeNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.gradeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetgradeNull() {
+ this[this.tableEETGW_HolydayRequest.gradeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IstelNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.telColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SettelNull() {
+ this[this.tableEETGW_HolydayRequest.telColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsprocesssNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.processsColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetprocesssNull() {
+ this[this.tableEETGW_HolydayRequest.processsColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsResponseNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.ResponseColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetResponseNull() {
+ this[this.tableEETGW_HolydayRequest.ResponseColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsconfNull() {
+ return this.IsNull(this.tableEETGW_HolydayRequest.confColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetconfNull() {
+ this[this.tableEETGW_HolydayRequest.confColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public class EETGW_HolydayRequestRowChangeEvent : global::System.EventArgs {
+
+ private EETGW_HolydayRequestRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_HolydayRequestRowChangeEvent(EETGW_HolydayRequestRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_HolydayRequestRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+namespace FPJ0000.DSKuntaeTableAdapters {
+
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class EETGW_HolydayRequestTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public EETGW_HolydayRequestTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "EETGW_HolydayRequest";
+ tableMapping.ColumnMappings.Add("idx", "idx");
+ tableMapping.ColumnMappings.Add("gcode", "gcode");
+ tableMapping.ColumnMappings.Add("uid", "uid");
+ tableMapping.ColumnMappings.Add("cate", "cate");
+ tableMapping.ColumnMappings.Add("sdate", "sdate");
+ tableMapping.ColumnMappings.Add("edate", "edate");
+ tableMapping.ColumnMappings.Add("Remark", "Remark");
+ tableMapping.ColumnMappings.Add("wuid", "wuid");
+ tableMapping.ColumnMappings.Add("wdate", "wdate");
+ tableMapping.ColumnMappings.Add("dept", "dept");
+ tableMapping.ColumnMappings.Add("name", "name");
+ tableMapping.ColumnMappings.Add("grade", "grade");
+ tableMapping.ColumnMappings.Add("tel", "tel");
+ tableMapping.ColumnMappings.Add("processs", "processs");
+ tableMapping.ColumnMappings.Add("Response", "Response");
+ tableMapping.ColumnMappings.Add("conf", "conf");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM EETGW_HolydayRequest\r\nWHERE (idx = @Original_idx)";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO EETGW_HolydayRequest
+ (gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate, Response)
+VALUES (@gcode,@uid,@cate,@sdate,@edate,@conf,@Remark,@wuid,@wdate,@Response);
+SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW_HolydayRequest WHERE (idx = SCOPE_IDENTITY()) ORDER BY conf, sdate DESC";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conf", global::System.Data.SqlDbType.Int, 1, global::System.Data.ParameterDirection.Input, 0, 0, "conf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Remark", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "Remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Response", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "Response", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE EETGW_HolydayRequest
+SET gcode = @gcode, uid = @uid, cate = @cate, sdate = @sdate, edate = @edate, conf = @conf, Remark = @Remark, wuid = @wuid, wdate = @wdate, Response = @Response
+WHERE (idx = @Original_idx) AND (gcode = @Original_gcode) AND (@IsNull_uid = 1 AND uid IS NULL OR
+ uid = @Original_uid) AND (@IsNull_cate = 1 AND cate IS NULL OR
+ cate = @Original_cate) AND (@IsNull_sdate = 1 AND sdate IS NULL OR
+ sdate = @Original_sdate) AND (@IsNull_edate = 1 AND edate IS NULL OR
+ edate = @Original_edate) AND (@IsNull_conf = 1 AND conf IS NULL OR
+ conf = @Original_conf) AND (@IsNull_Remark = 1 AND Remark IS NULL OR
+ Remark = @Original_Remark) AND (wuid = @Original_wuid) AND (wdate = @Original_wdate);
+SELECT idx, gcode, uid, cate, sdate, edate, conf, Remark, wuid, wdate FROM EETGW_HolydayRequest WHERE (idx = @idx) ORDER BY conf, sdate DESC";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conf", global::System.Data.SqlDbType.Int, 1, global::System.Data.ParameterDirection.Input, 0, 0, "conf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Remark", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "Remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Response", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "Response", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_conf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "conf", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_conf", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "conf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Remark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Remark", global::System.Data.SqlDbType.VarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "Remark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = @"SELECT EETGW_HolydayRequest.idx, EETGW_HolydayRequest.gcode, EETGW_HolydayRequest.uid, EETGW_HolydayRequest.cate, EETGW_HolydayRequest.sdate,
+ EETGW_HolydayRequest.edate, EETGW_HolydayRequest.Remark, EETGW_HolydayRequest.wuid, EETGW_HolydayRequest.wdate, vGroupUser.dept, vGroupUser.name, vGroupUser.grade,
+ vGroupUser.tel, vGroupUser.processs, EETGW_HolydayRequest.Response, EETGW_HolydayRequest.conf
+FROM EETGW_HolydayRequest LEFT OUTER JOIN
+ vGroupUser ON EETGW_HolydayRequest.uid = vGroupUser.id AND EETGW_HolydayRequest.gcode = vGroupUser.gcode
+WHERE (EETGW_HolydayRequest.gcode = @gcode) AND (EETGW_HolydayRequest.sdate >= @sd) AND (EETGW_HolydayRequest.edate <= @ed)
+ORDER BY EETGW_HolydayRequest.conf, EETGW_HolydayRequest.sdate DESC";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DSKuntae.EETGW_HolydayRequestDataTable dataTable, string gcode, string sd, string ed) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
+ }
+ if ((sd == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
+ }
+ if ((ed == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
+ }
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DSKuntae.EETGW_HolydayRequestDataTable GetData(string gcode, string sd, string ed) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
+ }
+ if ((sd == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
+ }
+ if ((ed == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
+ }
+ DSKuntae.EETGW_HolydayRequestDataTable dataTable = new DSKuntae.EETGW_HolydayRequestDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DSKuntae.EETGW_HolydayRequestDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DSKuntae dataSet) {
+ return this.Adapter.Update(dataSet, "EETGW_HolydayRequest");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(int Original_idx) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string gcode, string uid, string cate, string sdate, string edate, global::System.Nullable conf, string Remark, string wuid, System.DateTime wdate, string Response) {
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode));
+ }
+ if ((uid == null)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(uid));
+ }
+ if ((cate == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(cate));
+ }
+ if ((sdate == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(sdate));
+ }
+ if ((edate == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(edate));
+ }
+ if ((conf.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((int)(conf.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((Remark == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Remark));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(wuid));
+ }
+ this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(wdate));
+ if ((Response == null)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Response));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string gcode,
+ string uid,
+ string cate,
+ string sdate,
+ string edate,
+ global::System.Nullable conf,
+ string Remark,
+ string wuid,
+ System.DateTime wdate,
+ string Response,
+ int Original_idx,
+ string Original_gcode,
+ string Original_uid,
+ string Original_cate,
+ string Original_sdate,
+ string Original_edate,
+ global::System.Nullable Original_conf,
+ string Original_Remark,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ int idx) {
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode));
+ }
+ if ((uid == null)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(uid));
+ }
+ if ((cate == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(cate));
+ }
+ if ((sdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(sdate));
+ }
+ if ((edate == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(edate));
+ }
+ if ((conf.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(conf.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((Remark == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Remark));
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(wdate));
+ if ((Response == null)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Response));
+ }
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_idx));
+ if ((Original_gcode == null)) {
+ throw new global::System.ArgumentNullException("Original_gcode");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_gcode));
+ }
+ if ((Original_uid == null)) {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_uid));
+ }
+ if ((Original_cate == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_cate));
+ }
+ if ((Original_sdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_sdate));
+ }
+ if ((Original_edate == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_edate));
+ }
+ if ((Original_conf.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(Original_conf.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ if ((Original_Remark == null)) {
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_Remark));
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((System.DateTime)(Original_wdate));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(idx));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+ }
+
+ ///
+ ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
+ "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
+ public partial class TableAdapterManager : global::System.ComponentModel.Component {
+
+ private UpdateOrderOption _updateOrder;
+
+ private EETGW_HolydayRequestTableAdapter _eETGW_HolydayRequestTableAdapter;
+
+ private bool _backupDataSetBeforeUpdate;
+
+ private global::System.Data.IDbConnection _connection;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public UpdateOrderOption UpdateOrder {
+ get {
+ return this._updateOrder;
+ }
+ set {
+ this._updateOrder = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public EETGW_HolydayRequestTableAdapter EETGW_HolydayRequestTableAdapter {
+ get {
+ return this._eETGW_HolydayRequestTableAdapter;
+ }
+ set {
+ this._eETGW_HolydayRequestTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool BackupDataSetBeforeUpdate {
+ get {
+ return this._backupDataSetBeforeUpdate;
+ }
+ set {
+ this._backupDataSetBeforeUpdate = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public global::System.Data.IDbConnection Connection {
+ get {
+ if ((this._connection != null)) {
+ return this._connection;
+ }
+ if (((this._eETGW_HolydayRequestTableAdapter != null)
+ && (this._eETGW_HolydayRequestTableAdapter.Connection != null))) {
+ return this._eETGW_HolydayRequestTableAdapter.Connection;
+ }
+ return null;
+ }
+ set {
+ this._connection = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int TableAdapterInstanceCount {
+ get {
+ int count = 0;
+ if ((this._eETGW_HolydayRequestTableAdapter != null)) {
+ count = (count + 1);
+ }
+ return count;
+ }
+ }
+
+ ///
+ ///Update rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private int UpdateUpdatedRows(DSKuntae dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._eETGW_HolydayRequestTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.EETGW_HolydayRequest.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._eETGW_HolydayRequestTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Insert rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private int UpdateInsertedRows(DSKuntae dataSet, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._eETGW_HolydayRequestTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.EETGW_HolydayRequest.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._eETGW_HolydayRequestTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Delete rows in bottom-up order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private int UpdateDeletedRows(DSKuntae dataSet, global::System.Collections.Generic.List allChangedRows) {
+ int result = 0;
+ if ((this._eETGW_HolydayRequestTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.EETGW_HolydayRequest.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._eETGW_HolydayRequestTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) {
+ if (((updatedRows == null)
+ || (updatedRows.Length < 1))) {
+ return updatedRows;
+ }
+ if (((allAddedRows == null)
+ || (allAddedRows.Count < 1))) {
+ return updatedRows;
+ }
+ global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List();
+ for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = updatedRows[i];
+ if ((allAddedRows.Contains(row) == false)) {
+ realUpdatedRows.Add(row);
+ }
+ }
+ return realUpdatedRows.ToArray();
+ }
+
+ ///
+ ///Update all changes to the dataset.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public virtual int UpdateAll(DSKuntae dataSet) {
+ if ((dataSet == null)) {
+ throw new global::System.ArgumentNullException("dataSet");
+ }
+ if ((dataSet.HasChanges() == false)) {
+ return 0;
+ }
+ if (((this._eETGW_HolydayRequestTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._eETGW_HolydayRequestTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
+ }
+ global::System.Data.IDbConnection workConnection = this.Connection;
+ if ((workConnection == null)) {
+ throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" +
+ "eAdapter 인스턴스로 설정하십시오.");
+ }
+ bool workConnOpened = false;
+ if (((workConnection.State & global::System.Data.ConnectionState.Broken)
+ == global::System.Data.ConnectionState.Broken)) {
+ workConnection.Close();
+ }
+ if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
+ workConnection.Open();
+ workConnOpened = true;
+ }
+ global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
+ if ((workTransaction == null)) {
+ throw new global::System.ApplicationException("트랜잭션을 시작할 수 없습니다. 현재 데이터 연결에서 트랜잭션이 지원되지 않거나 현재 상태에서 트랜잭션을 시작할 수 없습니다.");
+ }
+ global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.Dictionary