From 3a667f14b15a61641fac6ab98cb19c1f3584e62f Mon Sep 17 00:00:00 2001 From: chi Date: Thu, 25 Mar 2021 11:28:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=EC=9D=B8=20=EC=99=84=EB=A3=8C=ED=95=98=EC=97=AC=20?= =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=EC=97=B0=EA=B2=B0=20=EB=8D=B0?= =?UTF-8?q?=EC=9D=B4=ED=84=B0=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Project/AdoNetEFMain.edmx.diagram | 2 +- Project/Dialog/AccessDB.Designer.cs | 100 + Project/Dialog/AccessDB.cs | 107 + Project/Dialog/AccessDB.resx | 120 + Project/Dialog/fLogin.Designer.cs | 60 +- Project/Dialog/fLogin.cs | 13 + Project/EETGW.csproj | 25 + Project/Properties/AssemblyInfo.cs | 4 +- Project/Properties/Settings.Designer.cs | 11 + Project/Properties/Settings.settings | 8 + Project/app.config | 22 +- Project/dsAccess.Designer.cs | 2697 +++++++++++++++++++ Project/dsAccess.xsc | 9 + Project/dsAccess.xsd | 247 ++ Project/dsAccess.xss | 13 + Project/fMain.Designer.cs | 30 +- Project/fMain.cs | 6 + Project/fMain.resx | 74 +- SubProject/FPJ0000/JobReport_/fJobReport.cs | 1 - SubProject/FPJ0000/dsReport.Designer.cs | 37 +- SubProject/FPJ0000/dsReport.xsd | 39 +- SubProject/FPJ0000/dsReport.xss | 2 +- 22 files changed, 3492 insertions(+), 135 deletions(-) create mode 100644 Project/Dialog/AccessDB.Designer.cs create mode 100644 Project/Dialog/AccessDB.cs create mode 100644 Project/Dialog/AccessDB.resx create mode 100644 Project/dsAccess.Designer.cs create mode 100644 Project/dsAccess.xsc create mode 100644 Project/dsAccess.xsd create mode 100644 Project/dsAccess.xss diff --git a/Project/AdoNetEFMain.edmx.diagram b/Project/AdoNetEFMain.edmx.diagram index 8269f14..a495ad8 100644 --- a/Project/AdoNetEFMain.edmx.diagram +++ b/Project/AdoNetEFMain.edmx.diagram @@ -8,7 +8,7 @@ - + diff --git a/Project/Dialog/AccessDB.Designer.cs b/Project/Dialog/AccessDB.Designer.cs new file mode 100644 index 0000000..107405f --- /dev/null +++ b/Project/Dialog/AccessDB.Designer.cs @@ -0,0 +1,100 @@ + +namespace Project.Dialog +{ + partial class AccessDB + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.button3 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(39, 22); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(170, 58); + this.button1.TabIndex = 0; + this.button1.Text = "부서명 업데이트"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(166, 318); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(749, 47); + this.button2.TabIndex = 1; + this.button2.Text = "인원 업데이트"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // comboBox1 + // + this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox1.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Location = new System.Drawing.Point(39, 86); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(925, 36); + this.comboBox1.TabIndex = 2; + // + // button3 + // + this.button3.Location = new System.Drawing.Point(794, 22); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(170, 58); + this.button3.TabIndex = 3; + this.button3.Text = "등록"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // AccessDB + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(970, 470); + this.Controls.Add(this.button3); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Name = "AccessDB"; + this.Text = "AccessDB"; + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.Button button3; + } +} \ No newline at end of file diff --git a/Project/Dialog/AccessDB.cs b/Project/Dialog/AccessDB.cs new file mode 100644 index 0000000..f234e0c --- /dev/null +++ b/Project/Dialog/AccessDB.cs @@ -0,0 +1,107 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Project.Dialog +{ + public partial class AccessDB : Form + { + public AccessDB() + { + InitializeComponent(); + } + + private void button1_Click(object sender, EventArgs e) + { + var dba = new dsAccessTableAdapters.GrpListTableAdapter(); + var grplist = dba.GetData(); + + comboBox1.Items.Clear(); + foreach (var item in grplist) + this.comboBox1.Items.Add(item.PersonUser2); + } + + private void button3_Click(object sender, EventArgs e) + { + //부서등록 + var ta = new dsMSSQLTableAdapters.UserGroupTableAdapter(); + var usergrp = ta.GetData(); + + //이 부서에 속하지 않은 데이터는 추가한다. + var cnt = 0; + foreach (var item in comboBox1.Items) + { + var dept = item.ToString(); + if (usergrp.Where(t => t.dept == dept).Any() == false) + { + var newdr = usergrp.NewUserGroupRow(); + newdr.dept = dept; + newdr.permission = 511; + usergrp.AddUserGroupRow(newdr); + cnt += 1; + } + } + FCOMMON.Util.MsgI(cnt.ToString() + "건의 자료가 추가됨"); + } + + private void button2_Click(object sender, EventArgs e) + { + //인원업데이트 + var dept = this.comboBox1.Text; + var tauser = new dsMSSQLTableAdapters.UsersTableAdapter(); + + var ta = new dsAccessTableAdapters.VIEW_CARD_PERSONTableAdapter(); + var userlist = ta.GetData(dept); + var cnt = 0; + var cnte = 0; + foreach (dsAccess.VIEW_CARD_PERSONRow dr in userlist) + { + //이 사용자를 user 테이블에서 찾는다. + if (dr.IsSabunNull()) continue; + var dtUser = tauser.GetID(dr.Sabun); + if (dtUser.Rows.Count == 0) + { + //사라없음 + var newdr = dtUser.NewUsersRow(); + newdr.name = dr.Name; + if (dr.GradeName.Length > 5) newdr.grade = dr.GradeName.Substring(0, 5); + else newdr.grade = dr.GradeName; + newdr.dept = dr.PersonUser2; + newdr.hp = dr.Mobile; + if (dr.Tel.Length > 20) newdr.tel = dr.Tel.Substring(0, 15); + else newdr.tel = dr.Tel; + newdr.id = dr.Sabun; + newdr.password = "B6589FC6AB0DC82CF12099D1C2D40AB994E8410C"; + newdr.wuid = "DEV"; + newdr.wdate = DateTime.Now; + dtUser.AddUsersRow(newdr); + tauser.Update(dtUser); + cnt += 1; + } + else + { + //있으니 데이터 변경 + foreach(dsMSSQL.UsersRow druser in dtUser.Rows) + { + druser.name = dr.Name; + druser.dept = dr.PersonUser2; + if (dr.GradeName.Length > 5) druser.grade = dr.GradeName.Substring(0, 5); + else druser.grade = dr.GradeName; + druser.EndEdit(); + } + cnte += 1; + tauser.Update(dtUser); + } + } + FCOMMON.Util.MsgI($"A{cnt},I:{cnte}"); + } + + } +} + diff --git a/Project/Dialog/AccessDB.resx b/Project/Dialog/AccessDB.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Project/Dialog/AccessDB.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Project/Dialog/fLogin.Designer.cs b/Project/Dialog/fLogin.Designer.cs index 0f33998..fad6595 100644 --- a/Project/Dialog/fLogin.Designer.cs +++ b/Project/Dialog/fLogin.Designer.cs @@ -31,6 +31,8 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLogin)); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.panel1 = new System.Windows.Forms.Panel(); + this.cmbDept = new System.Windows.Forms.ComboBox(); + this.label3 = new System.Windows.Forms.Label(); this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.tbID = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); @@ -38,8 +40,6 @@ this.tbPW = new System.Windows.Forms.TextBox(); this.panel2 = new System.Windows.Forms.Panel(); this.btLogin = new System.Windows.Forms.Button(); - this.cmbDept = new System.Windows.Forms.ComboBox(); - this.label3 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); @@ -48,7 +48,7 @@ // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(205, 26); + this.pictureBox1.Location = new System.Drawing.Point(295, 25); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(80, 80); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; @@ -69,9 +69,30 @@ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(488, 377); + this.panel1.Size = new System.Drawing.Size(675, 377); this.panel1.TabIndex = 0; // + // cmbDept + // + this.cmbDept.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbDept.Font = new System.Drawing.Font("Calibri", 20.25F); + this.cmbDept.FormattingEnabled = true; + this.cmbDept.Location = new System.Drawing.Point(16, 136); + this.cmbDept.Name = "cmbDept"; + this.cmbDept.Size = new System.Drawing.Size(645, 41); + this.cmbDept.TabIndex = 9; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.ForeColor = System.Drawing.Color.Gray; + this.label3.Location = new System.Drawing.Point(13, 119); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(31, 15); + this.label3.TabIndex = 8; + this.label3.Text = "부서"; + // // linkLabel2 // this.linkLabel2.AutoSize = true; @@ -92,7 +113,7 @@ this.tbID.FormattingEnabled = true; this.tbID.Location = new System.Drawing.Point(16, 213); this.tbID.Name = "tbID"; - this.tbID.Size = new System.Drawing.Size(460, 41); + this.tbID.Size = new System.Drawing.Size(645, 41); this.tbID.TabIndex = 3; // // label2 @@ -123,7 +144,7 @@ this.tbPW.Location = new System.Drawing.Point(16, 287); this.tbPW.Name = "tbPW"; this.tbPW.PasswordChar = '●'; - this.tbPW.Size = new System.Drawing.Size(460, 40); + this.tbPW.Size = new System.Drawing.Size(645, 40); this.tbPW.TabIndex = 5; this.tbPW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // @@ -134,7 +155,7 @@ this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 377); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(488, 34); + this.panel2.Size = new System.Drawing.Size(675, 34); this.panel2.TabIndex = 6; // // btLogin @@ -142,38 +163,17 @@ this.btLogin.Dock = System.Windows.Forms.DockStyle.Fill; this.btLogin.Location = new System.Drawing.Point(0, 0); this.btLogin.Name = "btLogin"; - this.btLogin.Size = new System.Drawing.Size(488, 34); + this.btLogin.Size = new System.Drawing.Size(675, 34); this.btLogin.TabIndex = 0; this.btLogin.Text = "접속"; this.btLogin.UseVisualStyleBackColor = true; this.btLogin.Click += new System.EventHandler(this.button1_Click); // - // cmbDept - // - this.cmbDept.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbDept.Font = new System.Drawing.Font("Calibri", 20.25F); - this.cmbDept.FormattingEnabled = true; - this.cmbDept.Location = new System.Drawing.Point(16, 136); - this.cmbDept.Name = "cmbDept"; - this.cmbDept.Size = new System.Drawing.Size(460, 41); - this.cmbDept.TabIndex = 9; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.ForeColor = System.Drawing.Color.Gray; - this.label3.Location = new System.Drawing.Point(13, 119); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(31, 15); - this.label3.TabIndex = 8; - this.label3.Text = "부서"; - // // fLogin // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.BackColor = System.Drawing.Color.OrangeRed; - this.ClientSize = new System.Drawing.Size(488, 411); + this.ClientSize = new System.Drawing.Size(675, 411); this.Controls.Add(this.panel1); this.Controls.Add(this.panel2); this.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); diff --git a/Project/Dialog/fLogin.cs b/Project/Dialog/fLogin.cs index 096a4ac..829e3c9 100644 --- a/Project/Dialog/fLogin.cs +++ b/Project/Dialog/fLogin.cs @@ -32,6 +32,19 @@ namespace Project.Dialog if (item != "") tbID.Items.Add(item); if (tbID.Items.Count > 0) tbID.SelectedIndex = 0; + //S1 사용자 그룹목록 확인 + //var tas1 = new S1ACCESS300Entities(); + //var deptlist = tas1.VIEW_CARD_PERSON + // .Where(t => t.CardStatusID == 0 && string.IsNullOrEmpty(t.CardUser2) == false) + // .GroupBy(t => t.PersonUser2) + // .OrderBy(t => t.Key) + // .ToList(); + + //this.cmbDept.Items.Clear(); + //foreach (var dept in deptlist) + // cmbDept.Items.Add(dept); + + //그룹목록가져오기 var tagrp = new dsMSSQLTableAdapters.UserGroupTableAdapter(); var grplist = tagrp.GetData(); diff --git a/Project/EETGW.csproj b/Project/EETGW.csproj index 9525f8e..329da22 100644 --- a/Project/EETGW.csproj +++ b/Project/EETGW.csproj @@ -265,6 +265,12 @@ DataSet1.xsd + + Form + + + AccessDB.cs + Form @@ -325,6 +331,11 @@ PMPUpdate.cs + + True + True + dsAccess.xsd + dsMSSQL.xsd @@ -450,6 +461,9 @@ Form + + AccessDB.cs + fChat.cs @@ -543,6 +557,17 @@ DataSet1.xsd + + dsAccess.xsd + + + Designer + MSDataSetGenerator + dsAccess.Designer.cs + + + dsAccess.xsd + dsMSSQL.xsd diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 2118e8f..1f4f0d6 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("21.03.24.1200")] -[assembly: AssemblyFileVersion("21.03.24.1200")] +[assembly: AssemblyVersion("21.03.25.1100")] +[assembly: AssemblyFileVersion("21.03.25.1100")] diff --git a/Project/Properties/Settings.Designer.cs b/Project/Properties/Settings.Designer.cs index b3eb909..88cc776 100644 --- a/Project/Properties/Settings.Designer.cs +++ b/Project/Properties/Settings.Designer.cs @@ -43,5 +43,16 @@ namespace Project.Properties { return ((string)(this["PMPCS"])); } } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] + [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;U" + + "ser ID=amkoruser;Password=AmkorUser!")] + public string csAccess { + get { + return ((string)(this["csAccess"])); + } + } } } diff --git a/Project/Properties/Settings.settings b/Project/Properties/Settings.settings index 980e2e6..34bdcbf 100644 --- a/Project/Properties/Settings.settings +++ b/Project/Properties/Settings.settings @@ -18,5 +18,13 @@ </SerializableConnectionString> Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Temp\PMP\SPMaster.mdb + + <?xml version="1.0" encoding="utf-16"?> +<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <ConnectionString>Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;User ID=amkoruser;Password=AmkorUser!</ConnectionString> + <ProviderName>System.Data.SqlClient</ProviderName> +</SerializableConnectionString> + Data Source=10.141.18.50;Initial Catalog=S1ACCESS300;Persist Security Info=True;User ID=amkoruser;Password=AmkorUser! + \ No newline at end of file diff --git a/Project/app.config b/Project/app.config index e6d6bfd..43e4f08 100644 --- a/Project/app.config +++ b/Project/app.config @@ -1,12 +1,15 @@  - - - - - - - + + + + + + + + + + @@ -27,4 +30,7 @@ - + + + + \ No newline at end of file diff --git a/Project/dsAccess.Designer.cs b/Project/dsAccess.Designer.cs new file mode 100644 index 0000000..7d58078 --- /dev/null +++ b/Project/dsAccess.Designer.cs @@ -0,0 +1,2697 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace Project { + + + /// + ///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("dsAccess")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class dsAccess : global::System.Data.DataSet { + + private GrpListDataTable tableGrpList; + + private VIEW_CARD_PERSONDataTable tableVIEW_CARD_PERSON; + + 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 dsAccess() { + 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 dsAccess(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["GrpList"] != null)) { + base.Tables.Add(new GrpListDataTable(ds.Tables["GrpList"])); + } + if ((ds.Tables["VIEW_CARD_PERSON"] != null)) { + base.Tables.Add(new VIEW_CARD_PERSONDataTable(ds.Tables["VIEW_CARD_PERSON"])); + } + 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 GrpListDataTable GrpList { + get { + return this.tableGrpList; + } + } + + [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 VIEW_CARD_PERSONDataTable VIEW_CARD_PERSON { + get { + return this.tableVIEW_CARD_PERSON; + } + } + + [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() { + dsAccess cln = ((dsAccess)(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["GrpList"] != null)) { + base.Tables.Add(new GrpListDataTable(ds.Tables["GrpList"])); + } + if ((ds.Tables["VIEW_CARD_PERSON"] != null)) { + base.Tables.Add(new VIEW_CARD_PERSONDataTable(ds.Tables["VIEW_CARD_PERSON"])); + } + 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.tableGrpList = ((GrpListDataTable)(base.Tables["GrpList"])); + if ((initTable == true)) { + if ((this.tableGrpList != null)) { + this.tableGrpList.InitVars(); + } + } + this.tableVIEW_CARD_PERSON = ((VIEW_CARD_PERSONDataTable)(base.Tables["VIEW_CARD_PERSON"])); + if ((initTable == true)) { + if ((this.tableVIEW_CARD_PERSON != null)) { + this.tableVIEW_CARD_PERSON.InitVars(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.DataSetName = "dsAccess"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/dsAccess.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableGrpList = new GrpListDataTable(); + base.Tables.Add(this.tableGrpList); + this.tableVIEW_CARD_PERSON = new VIEW_CARD_PERSONDataTable(); + base.Tables.Add(this.tableVIEW_CARD_PERSON); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeGrpList() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeVIEW_CARD_PERSON() { + 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) { + dsAccess ds = new dsAccess(); + 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 GrpListRowChangeEventHandler(object sender, GrpListRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void VIEW_CARD_PERSONRowChangeEventHandler(object sender, VIEW_CARD_PERSONRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class GrpListDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnPersonUser2; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public GrpListDataTable() { + this.TableName = "GrpList"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal GrpListDataTable(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 GrpListDataTable(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 PersonUser2Column { + get { + return this.columnPersonUser2; + } + } + + [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 GrpListRow this[int index] { + get { + return ((GrpListRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event GrpListRowChangeEventHandler GrpListRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event GrpListRowChangeEventHandler GrpListRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event GrpListRowChangeEventHandler GrpListRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event GrpListRowChangeEventHandler GrpListRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddGrpListRow(GrpListRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public GrpListRow AddGrpListRow(string PersonUser2) { + GrpListRow rowGrpListRow = ((GrpListRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + PersonUser2}; + rowGrpListRow.ItemArray = columnValuesArray; + this.Rows.Add(rowGrpListRow); + return rowGrpListRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + GrpListDataTable cln = ((GrpListDataTable)(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 GrpListDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnPersonUser2 = base.Columns["PersonUser2"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnPersonUser2 = new global::System.Data.DataColumn("PersonUser2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPersonUser2); + this.columnPersonUser2.MaxLength = 100; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public GrpListRow NewGrpListRow() { + return ((GrpListRow)(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 GrpListRow(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(GrpListRow); + } + + [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.GrpListRowChanged != null)) { + this.GrpListRowChanged(this, new GrpListRowChangeEvent(((GrpListRow)(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.GrpListRowChanging != null)) { + this.GrpListRowChanging(this, new GrpListRowChangeEvent(((GrpListRow)(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.GrpListRowDeleted != null)) { + this.GrpListRowDeleted(this, new GrpListRowChangeEvent(((GrpListRow)(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.GrpListRowDeleting != null)) { + this.GrpListRowDeleting(this, new GrpListRowChangeEvent(((GrpListRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveGrpListRow(GrpListRow 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(); + dsAccess ds = new dsAccess(); + 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 = "GrpListDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class VIEW_CARD_PERSONDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCardFullNo; + + private global::System.Data.DataColumn columnCardNo; + + private global::System.Data.DataColumn columnReIssueCnt; + + private global::System.Data.DataColumn columnCardType; + + private global::System.Data.DataColumn columnCardStatusID; + + private global::System.Data.DataColumn columnValidDate; + + private global::System.Data.DataColumn columnSabun; + + private global::System.Data.DataColumn columnName; + + private global::System.Data.DataColumn columnTel; + + private global::System.Data.DataColumn columnMobile; + + private global::System.Data.DataColumn columnOrgName; + + private global::System.Data.DataColumn columnGradeName; + + private global::System.Data.DataColumn columnPersonType; + + private global::System.Data.DataColumn columnPersonStatus; + + private global::System.Data.DataColumn columnpersonValid; + + private global::System.Data.DataColumn columnPersonUser1; + + private global::System.Data.DataColumn columnPersonUser2; + + private global::System.Data.DataColumn columnPersonUser3; + + private global::System.Data.DataColumn columnPersonUser4; + + private global::System.Data.DataColumn columnPersonUser5; + + private global::System.Data.DataColumn columnCardUser1; + + private global::System.Data.DataColumn columnCardUser2; + + private global::System.Data.DataColumn columnCardUser3; + + private global::System.Data.DataColumn columnCardUser4; + + private global::System.Data.DataColumn columnCardUser5; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public VIEW_CARD_PERSONDataTable() { + this.TableName = "VIEW_CARD_PERSON"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal VIEW_CARD_PERSONDataTable(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 VIEW_CARD_PERSONDataTable(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 CardFullNoColumn { + get { + return this.columnCardFullNo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CardNoColumn { + get { + return this.columnCardNo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ReIssueCntColumn { + get { + return this.columnReIssueCnt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CardTypeColumn { + get { + return this.columnCardType; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CardStatusIDColumn { + get { + return this.columnCardStatusID; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ValidDateColumn { + get { + return this.columnValidDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn SabunColumn { + get { + return this.columnSabun; + } + } + + [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 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 MobileColumn { + get { + return this.columnMobile; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OrgNameColumn { + get { + return this.columnOrgName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn GradeNameColumn { + get { + return this.columnGradeName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PersonTypeColumn { + get { + return this.columnPersonType; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PersonStatusColumn { + get { + return this.columnPersonStatus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn personValidColumn { + get { + return this.columnpersonValid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PersonUser1Column { + get { + return this.columnPersonUser1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PersonUser2Column { + get { + return this.columnPersonUser2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PersonUser3Column { + get { + return this.columnPersonUser3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PersonUser4Column { + get { + return this.columnPersonUser4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PersonUser5Column { + get { + return this.columnPersonUser5; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CardUser1Column { + get { + return this.columnCardUser1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CardUser2Column { + get { + return this.columnCardUser2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CardUser3Column { + get { + return this.columnCardUser3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CardUser4Column { + get { + return this.columnCardUser4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CardUser5Column { + get { + return this.columnCardUser5; + } + } + + [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 VIEW_CARD_PERSONRow this[int index] { + get { + return ((VIEW_CARD_PERSONRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event VIEW_CARD_PERSONRowChangeEventHandler VIEW_CARD_PERSONRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event VIEW_CARD_PERSONRowChangeEventHandler VIEW_CARD_PERSONRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event VIEW_CARD_PERSONRowChangeEventHandler VIEW_CARD_PERSONRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event VIEW_CARD_PERSONRowChangeEventHandler VIEW_CARD_PERSONRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddVIEW_CARD_PERSONRow(VIEW_CARD_PERSONRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public VIEW_CARD_PERSONRow AddVIEW_CARD_PERSONRow( + string CardFullNo, + string CardNo, + string ReIssueCnt, + int CardType, + int CardStatusID, + System.DateTime ValidDate, + string Sabun, + string Name, + string Tel, + string Mobile, + string OrgName, + string GradeName, + int PersonType, + int PersonStatus, + System.DateTime personValid, + string PersonUser1, + string PersonUser2, + string PersonUser3, + string PersonUser4, + string PersonUser5, + string CardUser1, + string CardUser2, + string CardUser3, + string CardUser4, + string CardUser5) { + VIEW_CARD_PERSONRow rowVIEW_CARD_PERSONRow = ((VIEW_CARD_PERSONRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CardFullNo, + CardNo, + ReIssueCnt, + CardType, + CardStatusID, + ValidDate, + Sabun, + Name, + Tel, + Mobile, + OrgName, + GradeName, + PersonType, + PersonStatus, + personValid, + PersonUser1, + PersonUser2, + PersonUser3, + PersonUser4, + PersonUser5, + CardUser1, + CardUser2, + CardUser3, + CardUser4, + CardUser5}; + rowVIEW_CARD_PERSONRow.ItemArray = columnValuesArray; + this.Rows.Add(rowVIEW_CARD_PERSONRow); + return rowVIEW_CARD_PERSONRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public VIEW_CARD_PERSONRow FindByCardFullNo(string CardFullNo) { + return ((VIEW_CARD_PERSONRow)(this.Rows.Find(new object[] { + CardFullNo}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + VIEW_CARD_PERSONDataTable cln = ((VIEW_CARD_PERSONDataTable)(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 VIEW_CARD_PERSONDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnCardFullNo = base.Columns["CardFullNo"]; + this.columnCardNo = base.Columns["CardNo"]; + this.columnReIssueCnt = base.Columns["ReIssueCnt"]; + this.columnCardType = base.Columns["CardType"]; + this.columnCardStatusID = base.Columns["CardStatusID"]; + this.columnValidDate = base.Columns["ValidDate"]; + this.columnSabun = base.Columns["Sabun"]; + this.columnName = base.Columns["Name"]; + this.columnTel = base.Columns["Tel"]; + this.columnMobile = base.Columns["Mobile"]; + this.columnOrgName = base.Columns["OrgName"]; + this.columnGradeName = base.Columns["GradeName"]; + this.columnPersonType = base.Columns["PersonType"]; + this.columnPersonStatus = base.Columns["PersonStatus"]; + this.columnpersonValid = base.Columns["personValid"]; + this.columnPersonUser1 = base.Columns["PersonUser1"]; + this.columnPersonUser2 = base.Columns["PersonUser2"]; + this.columnPersonUser3 = base.Columns["PersonUser3"]; + this.columnPersonUser4 = base.Columns["PersonUser4"]; + this.columnPersonUser5 = base.Columns["PersonUser5"]; + this.columnCardUser1 = base.Columns["CardUser1"]; + this.columnCardUser2 = base.Columns["CardUser2"]; + this.columnCardUser3 = base.Columns["CardUser3"]; + this.columnCardUser4 = base.Columns["CardUser4"]; + this.columnCardUser5 = base.Columns["CardUser5"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnCardFullNo = new global::System.Data.DataColumn("CardFullNo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardFullNo); + this.columnCardNo = new global::System.Data.DataColumn("CardNo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardNo); + this.columnReIssueCnt = new global::System.Data.DataColumn("ReIssueCnt", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnReIssueCnt); + this.columnCardType = new global::System.Data.DataColumn("CardType", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardType); + this.columnCardStatusID = new global::System.Data.DataColumn("CardStatusID", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardStatusID); + this.columnValidDate = new global::System.Data.DataColumn("ValidDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnValidDate); + this.columnSabun = new global::System.Data.DataColumn("Sabun", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSabun); + this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnName); + this.columnTel = new global::System.Data.DataColumn("Tel", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTel); + this.columnMobile = new global::System.Data.DataColumn("Mobile", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMobile); + this.columnOrgName = new global::System.Data.DataColumn("OrgName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOrgName); + this.columnGradeName = new global::System.Data.DataColumn("GradeName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnGradeName); + this.columnPersonType = new global::System.Data.DataColumn("PersonType", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPersonType); + this.columnPersonStatus = new global::System.Data.DataColumn("PersonStatus", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPersonStatus); + this.columnpersonValid = new global::System.Data.DataColumn("personValid", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpersonValid); + this.columnPersonUser1 = new global::System.Data.DataColumn("PersonUser1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPersonUser1); + this.columnPersonUser2 = new global::System.Data.DataColumn("PersonUser2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPersonUser2); + this.columnPersonUser3 = new global::System.Data.DataColumn("PersonUser3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPersonUser3); + this.columnPersonUser4 = new global::System.Data.DataColumn("PersonUser4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPersonUser4); + this.columnPersonUser5 = new global::System.Data.DataColumn("PersonUser5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPersonUser5); + this.columnCardUser1 = new global::System.Data.DataColumn("CardUser1", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardUser1); + this.columnCardUser2 = new global::System.Data.DataColumn("CardUser2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardUser2); + this.columnCardUser3 = new global::System.Data.DataColumn("CardUser3", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardUser3); + this.columnCardUser4 = new global::System.Data.DataColumn("CardUser4", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardUser4); + this.columnCardUser5 = new global::System.Data.DataColumn("CardUser5", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCardUser5); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCardFullNo}, true)); + this.columnCardFullNo.AllowDBNull = false; + this.columnCardFullNo.Unique = true; + this.columnCardFullNo.MaxLength = 36; + this.columnCardNo.ReadOnly = true; + this.columnCardNo.MaxLength = 26; + this.columnReIssueCnt.ReadOnly = true; + this.columnReIssueCnt.MaxLength = 36; + this.columnCardType.AllowDBNull = false; + this.columnCardStatusID.AllowDBNull = false; + this.columnValidDate.AllowDBNull = false; + this.columnSabun.MaxLength = 10; + this.columnName.MaxLength = 30; + this.columnTel.MaxLength = 68; + this.columnMobile.MaxLength = 68; + this.columnOrgName.MaxLength = 100; + this.columnGradeName.MaxLength = 30; + this.columnPersonUser1.MaxLength = 30; + this.columnPersonUser2.MaxLength = 100; + this.columnPersonUser3.MaxLength = 30; + this.columnPersonUser4.MaxLength = 30; + this.columnPersonUser5.MaxLength = 30; + this.columnCardUser1.MaxLength = 30; + this.columnCardUser2.MaxLength = 30; + this.columnCardUser3.MaxLength = 30; + this.columnCardUser4.MaxLength = 30; + this.columnCardUser5.MaxLength = 30; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public VIEW_CARD_PERSONRow NewVIEW_CARD_PERSONRow() { + return ((VIEW_CARD_PERSONRow)(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 VIEW_CARD_PERSONRow(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(VIEW_CARD_PERSONRow); + } + + [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.VIEW_CARD_PERSONRowChanged != null)) { + this.VIEW_CARD_PERSONRowChanged(this, new VIEW_CARD_PERSONRowChangeEvent(((VIEW_CARD_PERSONRow)(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.VIEW_CARD_PERSONRowChanging != null)) { + this.VIEW_CARD_PERSONRowChanging(this, new VIEW_CARD_PERSONRowChangeEvent(((VIEW_CARD_PERSONRow)(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.VIEW_CARD_PERSONRowDeleted != null)) { + this.VIEW_CARD_PERSONRowDeleted(this, new VIEW_CARD_PERSONRowChangeEvent(((VIEW_CARD_PERSONRow)(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.VIEW_CARD_PERSONRowDeleting != null)) { + this.VIEW_CARD_PERSONRowDeleting(this, new VIEW_CARD_PERSONRowChangeEvent(((VIEW_CARD_PERSONRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveVIEW_CARD_PERSONRow(VIEW_CARD_PERSONRow 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(); + dsAccess ds = new dsAccess(); + 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 = "VIEW_CARD_PERSONDataTable"; + 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 GrpListRow : global::System.Data.DataRow { + + private GrpListDataTable tableGrpList; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal GrpListRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableGrpList = ((GrpListDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string PersonUser2 { + get { + try { + return ((string)(this[this.tableGrpList.PersonUser2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'GrpList\' 테이블의 \'PersonUser2\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableGrpList.PersonUser2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPersonUser2Null() { + return this.IsNull(this.tableGrpList.PersonUser2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPersonUser2Null() { + this[this.tableGrpList.PersonUser2Column] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class VIEW_CARD_PERSONRow : global::System.Data.DataRow { + + private VIEW_CARD_PERSONDataTable tableVIEW_CARD_PERSON; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal VIEW_CARD_PERSONRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableVIEW_CARD_PERSON = ((VIEW_CARD_PERSONDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CardFullNo { + get { + return ((string)(this[this.tableVIEW_CARD_PERSON.CardFullNoColumn])); + } + set { + this[this.tableVIEW_CARD_PERSON.CardFullNoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CardNo { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.CardNoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'CardNo\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.CardNoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ReIssueCnt { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.ReIssueCntColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'ReIssueCnt\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.ReIssueCntColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int CardType { + get { + return ((int)(this[this.tableVIEW_CARD_PERSON.CardTypeColumn])); + } + set { + this[this.tableVIEW_CARD_PERSON.CardTypeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int CardStatusID { + get { + return ((int)(this[this.tableVIEW_CARD_PERSON.CardStatusIDColumn])); + } + set { + this[this.tableVIEW_CARD_PERSON.CardStatusIDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime ValidDate { + get { + return ((global::System.DateTime)(this[this.tableVIEW_CARD_PERSON.ValidDateColumn])); + } + set { + this[this.tableVIEW_CARD_PERSON.ValidDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Sabun { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.SabunColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'Sabun\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.SabunColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Name { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.NameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'Name\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.NameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Tel { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.TelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'Tel\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.TelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string Mobile { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.MobileColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'Mobile\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.MobileColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OrgName { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.OrgNameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'OrgName\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.OrgNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string GradeName { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.GradeNameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'GradeName\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.GradeNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int PersonType { + get { + try { + return ((int)(this[this.tableVIEW_CARD_PERSON.PersonTypeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'PersonType\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.PersonTypeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int PersonStatus { + get { + try { + return ((int)(this[this.tableVIEW_CARD_PERSON.PersonStatusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'PersonStatus\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.PersonStatusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime personValid { + get { + try { + return ((global::System.DateTime)(this[this.tableVIEW_CARD_PERSON.personValidColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'personValid\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.personValidColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string PersonUser1 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.PersonUser1Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'PersonUser1\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.PersonUser1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string PersonUser2 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.PersonUser2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'PersonUser2\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.PersonUser2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string PersonUser3 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.PersonUser3Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'PersonUser3\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.PersonUser3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string PersonUser4 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.PersonUser4Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'PersonUser4\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.PersonUser4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string PersonUser5 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.PersonUser5Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'PersonUser5\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.PersonUser5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CardUser1 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.CardUser1Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'CardUser1\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.CardUser1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CardUser2 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.CardUser2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'CardUser2\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.CardUser2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CardUser3 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.CardUser3Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'CardUser3\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.CardUser3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CardUser4 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.CardUser4Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'CardUser4\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.CardUser4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CardUser5 { + get { + try { + return ((string)(this[this.tableVIEW_CARD_PERSON.CardUser5Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("\'VIEW_CARD_PERSON\' 테이블의 \'CardUser5\' 열의 값이 DBNull입니다.", e); + } + } + set { + this[this.tableVIEW_CARD_PERSON.CardUser5Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCardNoNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.CardNoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCardNoNull() { + this[this.tableVIEW_CARD_PERSON.CardNoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsReIssueCntNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.ReIssueCntColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetReIssueCntNull() { + this[this.tableVIEW_CARD_PERSON.ReIssueCntColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsSabunNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.SabunColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetSabunNull() { + this[this.tableVIEW_CARD_PERSON.SabunColumn] = 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.tableVIEW_CARD_PERSON.NameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetNameNull() { + this[this.tableVIEW_CARD_PERSON.NameColumn] = 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.tableVIEW_CARD_PERSON.TelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetTelNull() { + this[this.tableVIEW_CARD_PERSON.TelColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsMobileNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.MobileColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetMobileNull() { + this[this.tableVIEW_CARD_PERSON.MobileColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOrgNameNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.OrgNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOrgNameNull() { + this[this.tableVIEW_CARD_PERSON.OrgNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsGradeNameNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.GradeNameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetGradeNameNull() { + this[this.tableVIEW_CARD_PERSON.GradeNameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPersonTypeNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.PersonTypeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPersonTypeNull() { + this[this.tableVIEW_CARD_PERSON.PersonTypeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPersonStatusNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.PersonStatusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPersonStatusNull() { + this[this.tableVIEW_CARD_PERSON.PersonStatusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IspersonValidNull() { + return this.IsNull(this.tableVIEW_CARD_PERSON.personValidColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetpersonValidNull() { + this[this.tableVIEW_CARD_PERSON.personValidColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPersonUser1Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.PersonUser1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPersonUser1Null() { + this[this.tableVIEW_CARD_PERSON.PersonUser1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPersonUser2Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.PersonUser2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPersonUser2Null() { + this[this.tableVIEW_CARD_PERSON.PersonUser2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPersonUser3Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.PersonUser3Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPersonUser3Null() { + this[this.tableVIEW_CARD_PERSON.PersonUser3Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPersonUser4Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.PersonUser4Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPersonUser4Null() { + this[this.tableVIEW_CARD_PERSON.PersonUser4Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPersonUser5Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.PersonUser5Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPersonUser5Null() { + this[this.tableVIEW_CARD_PERSON.PersonUser5Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCardUser1Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.CardUser1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCardUser1Null() { + this[this.tableVIEW_CARD_PERSON.CardUser1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCardUser2Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.CardUser2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCardUser2Null() { + this[this.tableVIEW_CARD_PERSON.CardUser2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCardUser3Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.CardUser3Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCardUser3Null() { + this[this.tableVIEW_CARD_PERSON.CardUser3Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCardUser4Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.CardUser4Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCardUser4Null() { + this[this.tableVIEW_CARD_PERSON.CardUser4Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCardUser5Null() { + return this.IsNull(this.tableVIEW_CARD_PERSON.CardUser5Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCardUser5Null() { + this[this.tableVIEW_CARD_PERSON.CardUser5Column] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class GrpListRowChangeEvent : global::System.EventArgs { + + private GrpListRow 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 GrpListRowChangeEvent(GrpListRow 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 GrpListRow 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; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class VIEW_CARD_PERSONRowChangeEvent : global::System.EventArgs { + + private VIEW_CARD_PERSONRow 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 VIEW_CARD_PERSONRowChangeEvent(VIEW_CARD_PERSONRow 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 VIEW_CARD_PERSONRow 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 Project.dsAccessTableAdapters { + + + /// + ///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 GrpListTableAdapter : 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 GrpListTableAdapter() { + 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 = "GrpList"; + tableMapping.ColumnMappings.Add("PersonUser2", "PersonUser2"); + this._adapter.TableMappings.Add(tableMapping); + } + + [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::Project.Properties.Settings.Default.csAccess; + } + + [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 PersonUser2 from view_card_person \r\nwhere CardStatusID = 0\r\nand isnull(Pe" + + "rsonUser2,\'\') <> \'\'\r\ngroup by PersonUser2\r\norder by PersonUser2"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [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(dsAccess.GrpListDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + 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 dsAccess.GrpListDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + dsAccess.GrpListDataTable dataTable = new dsAccess.GrpListDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 VIEW_CARD_PERSONTableAdapter : 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 VIEW_CARD_PERSONTableAdapter() { + 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 = "VIEW_CARD_PERSON"; + tableMapping.ColumnMappings.Add("CardFullNo", "CardFullNo"); + tableMapping.ColumnMappings.Add("CardNo", "CardNo"); + tableMapping.ColumnMappings.Add("ReIssueCnt", "ReIssueCnt"); + tableMapping.ColumnMappings.Add("CardType", "CardType"); + tableMapping.ColumnMappings.Add("CardStatusID", "CardStatusID"); + tableMapping.ColumnMappings.Add("ValidDate", "ValidDate"); + tableMapping.ColumnMappings.Add("Sabun", "Sabun"); + tableMapping.ColumnMappings.Add("Name", "Name"); + tableMapping.ColumnMappings.Add("Tel", "Tel"); + tableMapping.ColumnMappings.Add("Mobile", "Mobile"); + tableMapping.ColumnMappings.Add("OrgName", "OrgName"); + tableMapping.ColumnMappings.Add("GradeName", "GradeName"); + tableMapping.ColumnMappings.Add("PersonType", "PersonType"); + tableMapping.ColumnMappings.Add("PersonStatus", "PersonStatus"); + tableMapping.ColumnMappings.Add("personValid", "personValid"); + tableMapping.ColumnMappings.Add("PersonUser1", "PersonUser1"); + tableMapping.ColumnMappings.Add("PersonUser2", "PersonUser2"); + tableMapping.ColumnMappings.Add("PersonUser3", "PersonUser3"); + tableMapping.ColumnMappings.Add("PersonUser4", "PersonUser4"); + tableMapping.ColumnMappings.Add("PersonUser5", "PersonUser5"); + tableMapping.ColumnMappings.Add("CardUser1", "CardUser1"); + tableMapping.ColumnMappings.Add("CardUser2", "CardUser2"); + tableMapping.ColumnMappings.Add("CardUser3", "CardUser3"); + tableMapping.ColumnMappings.Add("CardUser4", "CardUser4"); + tableMapping.ColumnMappings.Add("CardUser5", "CardUser5"); + this._adapter.TableMappings.Add(tableMapping); + } + + [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::Project.Properties.Settings.Default.csAccess; + } + + [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 * from view_card_person \r\nwhere CardStatusID = 0\r\nand isnull(PersonUser2" + + ",\'\') = @dept"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dept", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", 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(dsAccess.VIEW_CARD_PERSONDataTable dataTable, string dept) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((dept == null)) { + throw new global::System.ArgumentNullException("dept"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(dept)); + } + 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 dsAccess.VIEW_CARD_PERSONDataTable GetData(string dept) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((dept == null)) { + throw new global::System.ArgumentNullException("dept"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(dept)); + } + dsAccess.VIEW_CARD_PERSONDataTable dataTable = new dsAccess.VIEW_CARD_PERSONDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 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")] + 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; + } + 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; + 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(dsAccess dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + 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(dsAccess dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + 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(dsAccess dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + 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(dsAccess dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + 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 revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/Project/dsAccess.xsc b/Project/dsAccess.xsc new file mode 100644 index 0000000..551fc56 --- /dev/null +++ b/Project/dsAccess.xsc @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/Project/dsAccess.xsd b/Project/dsAccess.xsd new file mode 100644 index 0000000..faa18a9 --- /dev/null +++ b/Project/dsAccess.xsd @@ -0,0 +1,247 @@ + + + + + + + + + + + + + + + select PersonUser2 from view_card_person +where CardStatusID = 0 +and isnull(PersonUser2,'') <> '' +group by PersonUser2 +order by PersonUser2 + + + + + + + + + + + + + + + + select * from view_card_person +where CardStatusID = 0 +and isnull(PersonUser2,'') = @dept + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Project/dsAccess.xss b/Project/dsAccess.xss new file mode 100644 index 0000000..1fbb32f --- /dev/null +++ b/Project/dsAccess.xss @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/Project/fMain.Designer.cs b/Project/fMain.Designer.cs index 477e18c..4fe65b0 100644 --- a/Project/fMain.Designer.cs +++ b/Project/fMain.Designer.cs @@ -119,6 +119,7 @@ this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.accessDBToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.cmTab.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); @@ -239,14 +240,14 @@ // this.codesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("codesToolStripMenuItem.Image"))); this.codesToolStripMenuItem.Name = "codesToolStripMenuItem"; - this.codesToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.codesToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.codesToolStripMenuItem.Text = "공용코드"; this.codesToolStripMenuItem.Click += new System.EventHandler(this.codesToolStripMenuItem_Click); // // itemsToolStripMenuItem // this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem"; - this.itemsToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.itemsToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.itemsToolStripMenuItem.Text = "품목정보"; this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click); // @@ -257,7 +258,7 @@ this.myAccouserToolStripMenuItem, this.권한설정ToolStripMenuItem}); this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem"; - this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.userInfoToolStripMenuItem.Text = "사용자"; // // userAccountToolStripMenuItem @@ -284,14 +285,14 @@ // customerToolStripMenuItem // this.customerToolStripMenuItem.Name = "customerToolStripMenuItem"; - this.customerToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.customerToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.customerToolStripMenuItem.Text = "업체정보"; this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click); // // mn_kuntae // this.mn_kuntae.Name = "mn_kuntae"; - this.mn_kuntae.Size = new System.Drawing.Size(180, 24); + this.mn_kuntae.Size = new System.Drawing.Size(153, 24); this.mn_kuntae.Text = "월별 근무표"; this.mn_kuntae.Click += new System.EventHandler(this.월별근무표ToolStripMenuItem_Click); // @@ -299,7 +300,7 @@ // this.메일양식ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일양식ToolStripMenuItem.Image"))); this.메일양식ToolStripMenuItem.Name = "메일양식ToolStripMenuItem"; - this.메일양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.메일양식ToolStripMenuItem.Size = new System.Drawing.Size(153, 24); this.메일양식ToolStripMenuItem.Text = "메일 양식"; this.메일양식ToolStripMenuItem.Click += new System.EventHandler(this.메일양식ToolStripMenuItem_Click); // @@ -343,14 +344,14 @@ // 목록ToolStripMenuItem // this.목록ToolStripMenuItem.Name = "목록ToolStripMenuItem"; - this.목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.목록ToolStripMenuItem.Size = new System.Drawing.Size(152, 24); this.목록ToolStripMenuItem.Text = "목록"; this.목록ToolStripMenuItem.Click += new System.EventHandler(this.목록ToolStripMenuItem_Click); // // 구매진행현황ToolStripMenuItem // this.구매진행현황ToolStripMenuItem.Name = "구매진행현황ToolStripMenuItem"; - this.구매진행현황ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.구매진행현황ToolStripMenuItem.Size = new System.Drawing.Size(152, 24); this.구매진행현황ToolStripMenuItem.Text = "CR구매현황"; this.구매진행현황ToolStripMenuItem.Click += new System.EventHandler(this.구매진행현황ToolStripMenuItem_Click); // @@ -649,7 +650,7 @@ // 품목검색ToolStripMenuItem // this.품목검색ToolStripMenuItem.Name = "품목검색ToolStripMenuItem"; - this.품목검색ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); + this.품목검색ToolStripMenuItem.Size = new System.Drawing.Size(139, 24); this.품목검색ToolStripMenuItem.Text = "품목 검색"; this.품목검색ToolStripMenuItem.Click += new System.EventHandler(this.품목검색ToolStripMenuItem_Click); // @@ -677,7 +678,8 @@ this.toolStripMenuItem1, this.임의테이블조작ToolStripMenuItem, this.pMP데이터베이스업데이트ToolStripMenuItem, - this.mailBackupToolStripMenuItem}); + this.mailBackupToolStripMenuItem, + this.accessDBToolStripMenuItem}); this.btDev.ForeColor = System.Drawing.Color.Blue; this.btDev.Name = "btDev"; this.btDev.Size = new System.Drawing.Size(91, 23); @@ -884,6 +886,13 @@ this.toolStripButton2.Text = "품목정보"; this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1); // + // accessDBToolStripMenuItem + // + this.accessDBToolStripMenuItem.Name = "accessDBToolStripMenuItem"; + this.accessDBToolStripMenuItem.Size = new System.Drawing.Size(278, 24); + this.accessDBToolStripMenuItem.Text = "Access DB"; + this.accessDBToolStripMenuItem.Click += new System.EventHandler(this.accessDBToolStripMenuItem_Click); + // // fMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1005,6 +1014,7 @@ private System.Windows.Forms.ToolStripMenuItem 기타ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 잉여장비ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 품목검색ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem accessDBToolStripMenuItem; } } diff --git a/Project/fMain.cs b/Project/fMain.cs index 83c9d19..b37d181 100644 --- a/Project/fMain.cs +++ b/Project/fMain.cs @@ -1150,5 +1150,11 @@ namespace Project //var f = new Dialog.fWebView("http://localhost:9000/item/find"); //f.Show(); } + + private void accessDBToolStripMenuItem_Click(object sender, EventArgs e) + { + var f = new Dialog.AccessDB(); + f.ShowDialog(); + } } } diff --git a/Project/fMain.resx b/Project/fMain.resx index 182be84..3f7b8a6 100644 --- a/Project/fMain.resx +++ b/Project/fMain.resx @@ -374,53 +374,53 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJFSURBVDhPjVPtS1NxGP1B3r+gj/0PfUhXQgQJYWUqRFFB - QwoXhVCNrK1o6oJog+iDkJrIvjRlkJQUgjUGI4Teo4g1o31bEGzqiG3e3bteTs/53StLVOiByz7ce55z - nnPO1P9OzlC+r4aal9+iPHbaUL9nDfXHfb35yMdjWUMVCCj0HsNi8ByWBi9gOeyHvIP72foRNu9Ck8rn - W7djMXAWpZt+lEcCKIf2YCXSip9zA6gFN1mQ26JiGUOZhTMnUIr048e1dphRD+yRXaiPOc+v1CDs6xss - yDWpaZFWXxo4j/LdAKrhHai7QHtqL6xnXai9Og47P4rK2+a1C8hM8PLQRVQmgrDueBxgog2150dgZnpg - fjmtH/v7OCrvPY0FvJmyyUywPbxTg63ZDpgfvRr0LePFw5fdCKXaMPphCNti/5xAw3gzZa8yW8lumNlT - WBHw9Isu+OZ2o+NJC/Y/bkb0XQhbJ9wFjIqZlm5dQvVGS4NZwMXPPbid3odOF3gyHkDfeALx5CccujLj - LGDOjKoau6oN482UTWaCDwjw8IOj6LuXwGQyi6nkAu4/zToLhN3HkjBnRkV2bZgrm8wEh+MpDYxOvkFv - JCnguHWwf+Y1zZtnw1gS5syo6DYN482UTWaC/cNpDey8/KhdS+eIgiLryYbp2yVnstNtGsabKZvMBLuw - xsgCm91mPbV8KQkXMCrNLoaRnbLXMK8O7+cfg93W9ZSGsSTMmVHRbcewDdg5jE9U6D8Gu816smEsCXOm - 03y0YetGqb9z/fRfd2rziQAAAABJRU5ErkJggg== + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJGSURBVDhPjVPtS1NxGP1B3r+gj/0PfUhXQgQJYWUqRFFB + QwoXhVCNrK1o6oJog+iDkJrIvjRlkJT0AtZlMELoPYpYM9q3BcGmjtjm3e56OT3nd68sUaEHLvtw73nO + ec45U/87WUP5vhpqTn4L8tgpQ/1+bKg/7uuNRz4eyxgqT0C+9wgWgmewOHgOS2E/5B3cz9aOsHnnm1Qu + 17oVC4HTKF73ozQSQCm0C8uRVvycHUA1uMGC7CYVSxvKyp86hmKkHz+utMOKemCP7EB9zHl+JQdhX11n + QbZJTYu0+uLAWZRuB1AJb0PdBdpTu1F71oXqq6Owc6Mov21evYDMBC8NnUd5IojaLY8DTLSh+vwQrHQP + rC8n9WN/H0f5vaexgDdTNpkJtoe3a3DtSQesj14N+pb24v7LboSSbRj9MIQtsX9OoGG8mbJXmGtmN6zM + CSwLePpFF3yzO9HxqAV7HzYj+i6EzRPuAkbFTIs3LqByraXBLODC5x7cTO1Bpws8Hg+gbzyBuPkJBy7N + OAuYM6OqxC5rw3gzZZOZ4H0CPHjvMPruJDBpZjBlzuPu04yzQNh9LAlzZlRk14a5sslMcDie1MDo5Bv0 + RkwBx2v7+2de07w5NowlYc6Mim7TMN5M2WQm2D+c0sDOiw/atXSOKCiwnmyYvl1yJjvdpmG8mbLJTLAL + a4wssNlt1lPLl5JwAaPS7GIY2Sl7FfPK8H7+MdhtXU9pGEvCnBkV3XYMW4edw/hEhf5jsNusJxvGkjBn + Os1HG7ZmlPoLbev0XNP6gcQAAAAASUVORK5CYII= iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKUSURBVDhPlVJRSFNRGL5PEVE91Us99ZTaU0S3iCLIsN6i - hxAqWgy2hlPadIri5ly4Nadjd7q55XRymVdqM5sOQmUPbjqX00J0oEwwRd96EgYhW32dc7yJUlF9cLjw - nfv9//f9/+H+hOfSDWhDV/AoUIrbvnPfZPrf8XSgrBD91IM3GQE33Wf/v8Az8RLefvRA+uBEues0ZJoL - hUIIBoPo7e2F1+t9zKVSKdAzPT2Nqakp6KVbqBKvw/juAV7PCwim7HgycA2XbSdxofUE+7dQKGB7exuC - IGS5mZkZFItF7O7usqMauAhL7CHC824IcQOs76vQk2iFQixHmflUcWdnB6urq+jo6Pjc3t5exSWTSUZs - bW0hnU5jc3MTlf4SGCL3IKYd8CVfQBmqIK4qMTw8jGw2i0gkAiIul1NxXDwex+zsLGKxGJ9IJDAyMsLf - Ec5AI1VALd1FqelYioq7urp4SZJYfqvVWiLLOW58fBxLS0tsBuvr65icnERuLQf+5VHc917d7zw4OIjF - xUXaHWaz+bgs30M0GkU+n8fExARIF35sbAyBQICndp1OJ0/Fdrud7+vrQ0tLy/5W9hEOh42ZTAa5XA5U - vLKyAsJheXkZdHW0MymIhYUFNDY2fpdlhyGKIvr7++H3+9Hd3Q2XywWHw0HzwmKxUNsYHR2FwWD4fYG/ - gRQ4UldXh+rq6i8ytQeS6/wrAp/PRydNM9O8aGtrY12bm5vR0NCA2tpall2j0eSZ8CfIWoz063a7dZ2d - nRtErGMXB6DX63U1NTUbWq1Wp1arv8r0Hjwej5E8S7auubk5DA0NsUk3NTWhvr4eRAxikD1j8v6hUCjW - ZOlh2Gw2NiyTyfSLA2Jbp1KpoFQqD6yQ434ARtfCPK3Ya1cAAAAASUVORK5CYII= + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKTSURBVDhPlVJRSFNRGL5PEVE91Us99ZTWU0S3iCJoYL1F + DyFUNBhsDae06RTFzblwa07H7nRzy+nkMq/UZjYdhMoe3HQup4boQJlgir71JAxCtvo653gTpaL64HDh + O/f7/+/7/8P9CS+k29CFr+NJsBwK/4VvMv3vUA6UF2OfevA2K+CO5/z/F3guXsW7RS+kjy4o3Gch01w4 + HEYoFEJvby98Pt9TLp1Og57p6WlMTU3BIN1FlXgLpveP8GZeQCjtwLOBm7hmP43LrafYv8ViETs7OxAE + IcfNzMygVCphb2+PHfXAFVjjjxGZ90BIGGH7UIWeZCuUogKXLGdKu7u7WFtbQ0dHx+f29vYqLpVKMWJ7 + exuZTAZbW1uoDJTBGH0AMeOEP/USqnAFcVWJ4eFh5HI5RKNRELFCTsVxiUQCs7OziMfjfDKZxMjICH9P + OAetVAGNdB/l5hNpKu7q6uIlSWL5bTZbmSznuPHxcSwvL7MZbGxsYHJyEvn1PPhXx/HQd+Og8+DgIJaW + lmh3WCyWk7J8H7FYDIVCARMTEyBd+LGxMQSDQZ7adblcPBU7HA6+r68PLS0tB1s5QCQSMWWzWeTzeVDx + 6uoqCIeVlRXQ1dHOpCAWFhbQ2Nj4XZYdhSiK6O/vRyAQQHd3N9xuN5xOJ80Lq9VKbWN0dBRGo/H3Bf4G + UuBYXV0dqqurv8jUPkiui68J/H4/nTTNTPOira2NdW1ubkZDQwNqa2tZdq1WW2DCnyBrMdGvx+PRd3Z2 + bhKxnl0cgsFg0NfU1GzqdDq9RqP5KtP78Hq9JvIs2brm5uYwNDTEJt3U1IT6+noQMYhB9ozJ+4dSqVyX + pUdht9vZsMxm8y8OiG29Wq2GSqU6tEKO+wE7gsI55vmz7AAAAABJRU5ErkJggg== iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMVSURBVDhPfZNdTJNnGIZ7umTZAQYrk/7odsBgLjGbCS7b - wVxEkoGKq4wfqX4glJafzVWprIxRpaUttED5KVA0spUytKzZHFI3JiO6LNk02QxaTTdnDerKwrIzEuJ2 - rbzWRMmyO7lPnjz39T3v876fbKBCzWp7y9X0SSp6Dijp1irpLFPgKk3HWbwee9F6rIXPckyTRsuedQjA - H9+5/9sXO1iYbSd+wcnvX9m5d87G3bPHmQ9ZuHOmmeYCuQDMRz47THzWSmy88KHH9nLb/za3ThXwq28n - 0b63uNmVS8S5nWutb3DDpeE3v5mmbfIHCYCqZNK2Q3wx3LiFyaOvYMpLJXhoM2P1mxkxvMRQ1SZRc2sz - sRdn8LOvgWBDDh/sXNsvW5FXUl++MlLF3OkjTNQ9L5o/1m1kuGID/fvVdO1TiVqrRsknln1cch5IhFMW - DuU8kyIAvZLitTFTNve+biPUuFU0D5ZvoKdMRUexCluhUtRaNBv5se99TuizachbUyLCj9StVYxecO3l - e5+BmYE6pjwGvujSE3LrOdNezacOHZOuGj5vzMOUn/ptMvZQvYbMp/slZehYmeJBR37636uvamXbTbvk - K2fmaH7qP5Y9ae5kVCbzVaSnDEjqP4NN25j16p7wTL+O6T4d53uqONddydnOSiacEr21r9JSID8uAAP7 - VdGJ5u1cHKoheHgL4/UvMlaXhb82i1OGLIZ1mXgPvoBHysClzWDIuINRm0RndXZiInlI1lWW9tdc0ETQ - +DKj1c+JZf2fm3YpcBve5HR7jTiSANyZsRP7spFbE+/xy3gt0YCOmyMHuT6sZc5bwlVPIT+5dnPFns/l - 1lx+sCQe1LBpZR9JwDdtiVApkZO7Odljw+PxCE873uGSJYePPjRjNBrR6/UsREuFr/lMYiIBuH3eyvy0 - g1i4jYCvk1gsRiQSwe/343A4CIfDLC0tUVlRztXBBhF+AvD4H+eqz2Vqaop4PM7y8rLw4uIigUAAneZ1 - MfbjOxE3sVpWq/Vds9kcfTS2JEn3i4qKBjUazVPJlqRksn8Bv2E1Yb7Fq4gAAAAASUVORK5CYII= + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMUSURBVDhPfZNdTJNnGIZ7umTxgIVVJv1Rd8BgW2I2E2bc + gS4iyUDFVcaPVD8QSsvP5uqoWMbopKUttED5KVBmZCtlaFmzKVIdikSXJZsmm8F1pptaw9zKwrIzEuJ2 + rbzWRMmyO7lPnjz39T3v876fbKBCzWp7y9X0SSp6Dirp1irpLFPgKk3HWbwOe9E6rIXP8ZEmjZa9axGA + P752/7evdLAw2078kpPfL9i5f87Gr2eOMx+ycO90M80FcgGYj3x+hPisldh44UOP7eOu/y1unyzgF98u + on1vcqsrl4hzBzdbt/GTS8Mdv5mmbfIHCYCqZNK2U3wx3LiZyaOvYspLJXh4E2P1mxgxvMxQ1Uui5tZm + Yi/O4AdfA8GGHI7terZftiKvpL52faSKuVPvM1H3vGj+RLeB4Yr19B9Q07VfJWqtGiWfWvZz1XkwEU5Z + OJyzJkUAeiXF1jFTNve/aiPU+JpoHixfT0+Zio5iFbZCpai1aDbwXd97fKzPpiHvmRIRfqRurWL0kmsf + 3/gMzAzUMeUx8GWXnpBbz+n2aj5z6Jh01fBFYx6m/NTLydhD9Royn+6XlCFLmeJBR17636uvamXbTbvl + K2fmaH7qP5a9ae5kVCbzVaSnDEjqP4NN25n16p7wTL+O6T4d53uqONddyZnOSiacEr21W2gpkB8XgIED + quhE8w6uDNUQPLKZ8foXGavLwl+bxUlDFsO6TLyHXsAjZeDSZjBk3MmoTaKzOjsxkTwk6ypL+2suaCJo + fIXR6o1iWf/npt0K3IY3ONVeI44kAPdm7MTONnJ74l1+Hq8lGtBxa+QQPw5rmfOWcMNTyPeuPVy353Ot + NZdvLYkHNWxa2UcScLEtESolcmIPJ3pseDwe4WnH21y15PDhB2aMRiN6vZ6FaKnwTZ9JTCQAd89bmZ92 + EAu3EfB1EovFiEQi+P1+HA4H4XCYpaUlKivKuTHYIMJPAB7/41z1uUxNTRGPx1leXhZeXFwkEAig07wu + xn58J+ImVstqtb5jNpujj8aWJOm3oqKiQY1G81SyJSmZ7F+3njVe+vTqWgAAAABJRU5ErkJggg== diff --git a/SubProject/FPJ0000/JobReport_/fJobReport.cs b/SubProject/FPJ0000/JobReport_/fJobReport.cs index 4eede95..1a77c61 100644 --- a/SubProject/FPJ0000/JobReport_/fJobReport.cs +++ b/SubProject/FPJ0000/JobReport_/fJobReport.cs @@ -89,7 +89,6 @@ namespace FPJ0000 tbProcess.Text = FCOMMON.info.Login.process; tbProcess.Tag = new List(new string[] { FCOMMON.info.Login.process }); - //담당자목록 - 사용자목록으로 처리한다. string namestr = string.Format("{0}({1})", FCOMMON.info.Login.nameK, FCOMMON.info.Login.no); // if (FCOMMON.info.Login.no == "dev") namestr = "김치균(395552)"; diff --git a/SubProject/FPJ0000/dsReport.Designer.cs b/SubProject/FPJ0000/dsReport.Designer.cs index 4e7a14a..cdb7c4f 100644 --- a/SubProject/FPJ0000/dsReport.Designer.cs +++ b/SubProject/FPJ0000/dsReport.Designer.cs @@ -1563,6 +1563,7 @@ namespace FPJ0000 { this.columnid.Unique = true; this.columnid.MaxLength = 20; this.columnname.MaxLength = 100; + this.columngcode.AllowDBNull = false; this.columngcode.MaxLength = 10; } @@ -2774,12 +2775,7 @@ namespace FPJ0000 { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string gcode { get { - if (this.IsgcodeNull()) { - return string.Empty; - } - else { - return ((string)(this[this.tableProcessUserList.gcodeColumn])); - } + return ((string)(this[this.tableProcessUserList.gcodeColumn])); } set { this[this.tableProcessUserList.gcodeColumn] = value; @@ -2809,18 +2805,6 @@ namespace FPJ0000 { public void SetnameNull() { this[this.tableProcessUserList.nameColumn] = global::System.Convert.DBNull; } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public bool IsgcodeNull() { - return this.IsNull(this.tableProcessUserList.gcodeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public void SetgcodeNull() { - this[this.tableProcessUserList.gcodeColumn] = global::System.Convert.DBNull; - } } /// @@ -4127,14 +4111,15 @@ SELECT Users.id, Users.name, Users.gcode FROM Users RIGHT OUTER JOIN JobReport O 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 Users.id, Users.name, Users.gcode -FROM Users RIGHT OUTER JOIN - JobReport ON Users.id = JobReport.uid -WHERE (Users.processs LIKE @process) AND (Users.id <> 'dev') AND (Users.id <> 'test') AND (Users.gcode = @gcode) -GROUP BY Users.id, Users.name, Users.gcode + this._commandCollection[0].CommandText = @"SELECT Users.id, Users.name, JobReport.gcode +FROM EETGW_GroupUser INNER JOIN + JobReport ON EETGW_GroupUser.gcode = JobReport.gcode AND EETGW_GroupUser.uid = JobReport.uid LEFT OUTER JOIN + Users ON JobReport.uid = Users.id +WHERE (Users.id <> 'dev') AND (Users.id <> 'test') AND (EETGW_GroupUser.Process LIKE @process) AND (JobReport.gcode = @gcode) +GROUP BY Users.id, Users.name, JobReport.gcode ORDER BY Users.name"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "processs", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Process", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 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, "", "", "")); } @@ -4151,7 +4136,7 @@ ORDER BY Users.name"; this.Adapter.SelectCommand.Parameters[0].Value = ((string)(process)); } if ((gcode == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + throw new global::System.ArgumentNullException("gcode"); } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode)); @@ -4176,7 +4161,7 @@ ORDER BY Users.name"; this.Adapter.SelectCommand.Parameters[0].Value = ((string)(process)); } if ((gcode == null)) { - this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + throw new global::System.ArgumentNullException("gcode"); } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode)); diff --git a/SubProject/FPJ0000/dsReport.xsd b/SubProject/FPJ0000/dsReport.xsd index bdb1009..a731025 100644 --- a/SubProject/FPJ0000/dsReport.xsd +++ b/SubProject/FPJ0000/dsReport.xsd @@ -93,7 +93,7 @@ ORDER BY processs - + DELETE FROM [Users] WHERE (((@IsNull_id = 1 AND [id] IS NULL) OR ([id] = @Original_id)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode))) @@ -109,15 +109,16 @@ ORDER BY processs - SELECT Users.id, Users.name, Users.gcode -FROM Users RIGHT OUTER JOIN - JobReport ON Users.id = JobReport.uid -WHERE (Users.processs LIKE @process) AND (Users.id <> 'dev') AND (Users.id <> 'test') AND (Users.gcode = @gcode) -GROUP BY Users.id, Users.name, Users.gcode + SELECT Users.id, Users.name, JobReport.gcode +FROM EETGW_GroupUser INNER JOIN + JobReport ON EETGW_GroupUser.gcode = JobReport.gcode AND EETGW_GroupUser.uid = JobReport.uid LEFT OUTER JOIN + Users ON JobReport.uid = Users.id +WHERE (Users.id <> 'dev') AND (Users.id <> 'test') AND (EETGW_GroupUser.Process LIKE @process) AND (JobReport.gcode = @gcode) +GROUP BY Users.id, Users.name, JobReport.gcode ORDER BY Users.name - - + + @@ -135,7 +136,7 @@ SELECT Users.id, Users.name, Users.gcode FROM Users RIGHT OUTER JOIN JobReport O - + @@ -234,7 +235,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O - + @@ -271,7 +272,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O - + @@ -314,7 +315,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O - + @@ -327,7 +328,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O - + @@ -344,7 +345,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O - + @@ -354,7 +355,7 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O - + @@ -366,19 +367,19 @@ SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) O - + - + - - + + diff --git a/SubProject/FPJ0000/dsReport.xss b/SubProject/FPJ0000/dsReport.xss index 4bc7ff1..cbc0db4 100644 --- a/SubProject/FPJ0000/dsReport.xss +++ b/SubProject/FPJ0000/dsReport.xss @@ -10,8 +10,8 @@ - + \ No newline at end of file