프로젝트 스케쥴 오류 수정
This commit is contained in:
		
							
								
								
									
										697
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										697
									
								
								SubProject/FPJ0000/dsPRJ.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -66,6 +66,8 @@ namespace FPJ0000 { | ||||
|          | ||||
|         private AuthDataTable tableAuth; | ||||
|          | ||||
|         private EETGW_ProjectsSchedule_NoListDataTable tableEETGW_ProjectsSchedule_NoList; | ||||
|          | ||||
|         private SCTableDataTable tableSCTable; | ||||
|          | ||||
|         private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; | ||||
| @@ -163,6 +165,9 @@ namespace FPJ0000 { | ||||
|                 if ((ds.Tables["Auth"] != null)) { | ||||
|                     base.Tables.Add(new AuthDataTable(ds.Tables["Auth"])); | ||||
|                 } | ||||
|                 if ((ds.Tables["EETGW_ProjectsSchedule_NoList"] != null)) { | ||||
|                     base.Tables.Add(new EETGW_ProjectsSchedule_NoListDataTable(ds.Tables["EETGW_ProjectsSchedule_NoList"])); | ||||
|                 } | ||||
|                 if ((ds.Tables["SCTable"] != null)) { | ||||
|                     base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); | ||||
|                 } | ||||
| @@ -395,6 +400,16 @@ namespace FPJ0000 { | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         [global::System.ComponentModel.Browsable(false)] | ||||
|         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] | ||||
|         public EETGW_ProjectsSchedule_NoListDataTable EETGW_ProjectsSchedule_NoList { | ||||
|             get { | ||||
|                 return this.tableEETGW_ProjectsSchedule_NoList; | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         [global::System.ComponentModel.Browsable(false)] | ||||
| @@ -536,6 +551,9 @@ namespace FPJ0000 { | ||||
|                 if ((ds.Tables["Auth"] != null)) { | ||||
|                     base.Tables.Add(new AuthDataTable(ds.Tables["Auth"])); | ||||
|                 } | ||||
|                 if ((ds.Tables["EETGW_ProjectsSchedule_NoList"] != null)) { | ||||
|                     base.Tables.Add(new EETGW_ProjectsSchedule_NoListDataTable(ds.Tables["EETGW_ProjectsSchedule_NoList"])); | ||||
|                 } | ||||
|                 if ((ds.Tables["SCTable"] != null)) { | ||||
|                     base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"])); | ||||
|                 } | ||||
| @@ -698,6 +716,12 @@ namespace FPJ0000 { | ||||
|                     this.tableAuth.InitVars(); | ||||
|                 } | ||||
|             } | ||||
|             this.tableEETGW_ProjectsSchedule_NoList = ((EETGW_ProjectsSchedule_NoListDataTable)(base.Tables["EETGW_ProjectsSchedule_NoList"])); | ||||
|             if ((initTable == true)) { | ||||
|                 if ((this.tableEETGW_ProjectsSchedule_NoList != null)) { | ||||
|                     this.tableEETGW_ProjectsSchedule_NoList.InitVars(); | ||||
|                 } | ||||
|             } | ||||
|             this.tableSCTable = ((SCTableDataTable)(base.Tables["SCTable"])); | ||||
|             if ((initTable == true)) { | ||||
|                 if ((this.tableSCTable != null)) { | ||||
| @@ -756,6 +780,8 @@ namespace FPJ0000 { | ||||
|             base.Tables.Add(this.tableEETGW_DocuForm); | ||||
|             this.tableAuth = new AuthDataTable(); | ||||
|             base.Tables.Add(this.tableAuth); | ||||
|             this.tableEETGW_ProjectsSchedule_NoList = new EETGW_ProjectsSchedule_NoListDataTable(); | ||||
|             base.Tables.Add(this.tableEETGW_ProjectsSchedule_NoList); | ||||
|             this.tableSCTable = new SCTableDataTable(); | ||||
|             base.Tables.Add(this.tableSCTable); | ||||
|         } | ||||
| @@ -886,6 +912,12 @@ namespace FPJ0000 { | ||||
|             return false; | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         private bool ShouldSerializeEETGW_ProjectsSchedule_NoList() { | ||||
|             return false; | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         private bool ShouldSerializeSCTable() { | ||||
| @@ -1017,6 +1049,9 @@ namespace FPJ0000 { | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         public delegate void AuthRowChangeEventHandler(object sender, AuthRowChangeEvent e); | ||||
|          | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         public delegate void EETGW_ProjectsSchedule_NoListRowChangeEventHandler(object sender, EETGW_ProjectsSchedule_NoListRowChangeEvent e); | ||||
|          | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         public delegate void SCTableRowChangeEventHandler(object sender, SCTableRowChangeEvent e); | ||||
|          | ||||
| @@ -13538,6 +13573,264 @@ namespace FPJ0000 { | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         /// <summary> | ||||
|         ///Represents the strongly named DataTable class. | ||||
|         ///</summary> | ||||
|         [global::System.Serializable()] | ||||
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] | ||||
|         public partial class EETGW_ProjectsSchedule_NoListDataTable : global::System.Data.TypedTableBase<EETGW_ProjectsSchedule_NoListRow> { | ||||
|              | ||||
|             private global::System.Data.DataColumn columnno; | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public EETGW_ProjectsSchedule_NoListDataTable() { | ||||
|                 this.TableName = "EETGW_ProjectsSchedule_NoList"; | ||||
|                 this.BeginInit(); | ||||
|                 this.InitClass(); | ||||
|                 this.EndInit(); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             internal EETGW_ProjectsSchedule_NoListDataTable(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", "17.0.0.0")] | ||||
|             protected EETGW_ProjectsSchedule_NoListDataTable(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", "17.0.0.0")] | ||||
|             public global::System.Data.DataColumn noColumn { | ||||
|                 get { | ||||
|                     return this.columnno; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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", "17.0.0.0")] | ||||
|             public EETGW_ProjectsSchedule_NoListRow this[int index] { | ||||
|                 get { | ||||
|                     return ((EETGW_ProjectsSchedule_NoListRow)(this.Rows[index])); | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public event EETGW_ProjectsSchedule_NoListRowChangeEventHandler EETGW_ProjectsSchedule_NoListRowChanging; | ||||
|              | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public event EETGW_ProjectsSchedule_NoListRowChangeEventHandler EETGW_ProjectsSchedule_NoListRowChanged; | ||||
|              | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public event EETGW_ProjectsSchedule_NoListRowChangeEventHandler EETGW_ProjectsSchedule_NoListRowDeleting; | ||||
|              | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public event EETGW_ProjectsSchedule_NoListRowChangeEventHandler EETGW_ProjectsSchedule_NoListRowDeleted; | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public void AddEETGW_ProjectsSchedule_NoListRow(EETGW_ProjectsSchedule_NoListRow row) { | ||||
|                 this.Rows.Add(row); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public EETGW_ProjectsSchedule_NoListRow AddEETGW_ProjectsSchedule_NoListRow(int no) { | ||||
|                 EETGW_ProjectsSchedule_NoListRow rowEETGW_ProjectsSchedule_NoListRow = ((EETGW_ProjectsSchedule_NoListRow)(this.NewRow())); | ||||
|                 object[] columnValuesArray = new object[] { | ||||
|                         no}; | ||||
|                 rowEETGW_ProjectsSchedule_NoListRow.ItemArray = columnValuesArray; | ||||
|                 this.Rows.Add(rowEETGW_ProjectsSchedule_NoListRow); | ||||
|                 return rowEETGW_ProjectsSchedule_NoListRow; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public EETGW_ProjectsSchedule_NoListRow FindByno(int no) { | ||||
|                 return ((EETGW_ProjectsSchedule_NoListRow)(this.Rows.Find(new object[] { | ||||
|                             no}))); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public override global::System.Data.DataTable Clone() { | ||||
|                 EETGW_ProjectsSchedule_NoListDataTable cln = ((EETGW_ProjectsSchedule_NoListDataTable)(base.Clone())); | ||||
|                 cln.InitVars(); | ||||
|                 return cln; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             protected override global::System.Data.DataTable CreateInstance() { | ||||
|                 return new EETGW_ProjectsSchedule_NoListDataTable(); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             internal void InitVars() { | ||||
|                 this.columnno = base.Columns["no"]; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             private void InitClass() { | ||||
|                 this.columnno = new global::System.Data.DataColumn("no", typeof(int), null, global::System.Data.MappingType.Element); | ||||
|                 base.Columns.Add(this.columnno); | ||||
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { | ||||
|                                 this.columnno}, true)); | ||||
|                 this.columnno.AllowDBNull = false; | ||||
|                 this.columnno.Unique = true; | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public EETGW_ProjectsSchedule_NoListRow NewEETGW_ProjectsSchedule_NoListRow() { | ||||
|                 return ((EETGW_ProjectsSchedule_NoListRow)(this.NewRow())); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { | ||||
|                 return new EETGW_ProjectsSchedule_NoListRow(builder); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             protected override global::System.Type GetRowType() { | ||||
|                 return typeof(EETGW_ProjectsSchedule_NoListRow); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { | ||||
|                 base.OnRowChanged(e); | ||||
|                 if ((this.EETGW_ProjectsSchedule_NoListRowChanged != null)) { | ||||
|                     this.EETGW_ProjectsSchedule_NoListRowChanged(this, new EETGW_ProjectsSchedule_NoListRowChangeEvent(((EETGW_ProjectsSchedule_NoListRow)(e.Row)), e.Action)); | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { | ||||
|                 base.OnRowChanging(e); | ||||
|                 if ((this.EETGW_ProjectsSchedule_NoListRowChanging != null)) { | ||||
|                     this.EETGW_ProjectsSchedule_NoListRowChanging(this, new EETGW_ProjectsSchedule_NoListRowChangeEvent(((EETGW_ProjectsSchedule_NoListRow)(e.Row)), e.Action)); | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { | ||||
|                 base.OnRowDeleted(e); | ||||
|                 if ((this.EETGW_ProjectsSchedule_NoListRowDeleted != null)) { | ||||
|                     this.EETGW_ProjectsSchedule_NoListRowDeleted(this, new EETGW_ProjectsSchedule_NoListRowChangeEvent(((EETGW_ProjectsSchedule_NoListRow)(e.Row)), e.Action)); | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { | ||||
|                 base.OnRowDeleting(e); | ||||
|                 if ((this.EETGW_ProjectsSchedule_NoListRowDeleting != null)) { | ||||
|                     this.EETGW_ProjectsSchedule_NoListRowDeleting(this, new EETGW_ProjectsSchedule_NoListRowChangeEvent(((EETGW_ProjectsSchedule_NoListRow)(e.Row)), e.Action)); | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public void RemoveEETGW_ProjectsSchedule_NoListRow(EETGW_ProjectsSchedule_NoListRow row) { | ||||
|                 this.Rows.Remove(row); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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(); | ||||
|                 dsPRJ ds = new dsPRJ(); | ||||
|                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); | ||||
|                 any1.Namespace = "http://www.w3.org/2001/XMLSchema"; | ||||
|                 any1.MinOccurs = new decimal(0); | ||||
|                 any1.MaxOccurs = decimal.MaxValue; | ||||
|                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; | ||||
|                 sequence.Items.Add(any1); | ||||
|                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); | ||||
|                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; | ||||
|                 any2.MinOccurs = new decimal(1); | ||||
|                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; | ||||
|                 sequence.Items.Add(any2); | ||||
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); | ||||
|                 attribute1.Name = "namespace"; | ||||
|                 attribute1.FixedValue = ds.Namespace; | ||||
|                 type.Attributes.Add(attribute1); | ||||
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); | ||||
|                 attribute2.Name = "tableTypeName"; | ||||
|                 attribute2.FixedValue = "EETGW_ProjectsSchedule_NoListDataTable"; | ||||
|                 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; | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         /// <summary> | ||||
|         ///Represents the strongly named DataTable class. | ||||
|         ///</summary> | ||||
| @@ -25611,6 +25904,32 @@ namespace FPJ0000 { | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         /// <summary> | ||||
|         ///Represents strongly named DataRow class. | ||||
|         ///</summary> | ||||
|         public partial class EETGW_ProjectsSchedule_NoListRow : global::System.Data.DataRow { | ||||
|              | ||||
|             private EETGW_ProjectsSchedule_NoListDataTable tableEETGW_ProjectsSchedule_NoList; | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             internal EETGW_ProjectsSchedule_NoListRow(global::System.Data.DataRowBuilder rb) :  | ||||
|                     base(rb) { | ||||
|                 this.tableEETGW_ProjectsSchedule_NoList = ((EETGW_ProjectsSchedule_NoListDataTable)(this.Table)); | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public int no { | ||||
|                 get { | ||||
|                     return ((int)(this[this.tableEETGW_ProjectsSchedule_NoList.noColumn])); | ||||
|                 } | ||||
|                 set { | ||||
|                     this[this.tableEETGW_ProjectsSchedule_NoList.noColumn] = value; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         /// <summary> | ||||
|         ///Represents strongly named DataRow class. | ||||
|         ///</summary> | ||||
| @@ -26519,6 +26838,40 @@ namespace FPJ0000 { | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         /// <summary> | ||||
|         ///Row event argument class | ||||
|         ///</summary> | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         public class EETGW_ProjectsSchedule_NoListRowChangeEvent : global::System.EventArgs { | ||||
|              | ||||
|             private EETGW_ProjectsSchedule_NoListRow eventRow; | ||||
|              | ||||
|             private global::System.Data.DataRowAction eventAction; | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public EETGW_ProjectsSchedule_NoListRowChangeEvent(EETGW_ProjectsSchedule_NoListRow 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", "17.0.0.0")] | ||||
|             public EETGW_ProjectsSchedule_NoListRow Row { | ||||
|                 get { | ||||
|                     return this.eventRow; | ||||
|                 } | ||||
|             } | ||||
|              | ||||
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|             public global::System.Data.DataRowAction Action { | ||||
|                 get { | ||||
|                     return this.eventAction; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|          | ||||
|         /// <summary> | ||||
|         ///Row event argument class | ||||
|         ///</summary> | ||||
| @@ -39893,7 +40246,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         private void InitCommandCollection() { | ||||
|             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; | ||||
|             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; | ||||
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); | ||||
|             this._commandCollection[0].Connection = this.Connection; | ||||
|             this._commandCollection[0].CommandText = "SELECT  idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, " + | ||||
| @@ -39912,13 +40265,6 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, | ||||
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); | ||||
|             this._commandCollection[2].Connection = this.Connection; | ||||
|             this._commandCollection[2].CommandText = "SELECT  no\r\nFROM     EETGW_ProjectsSchedule WITH (nolock)\r\nWHERE  (gcode = @gcode" + | ||||
|                 ") AND (project = @project)\r\nGROUP BY no\r\nORDER BY no"; | ||||
|             this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; | ||||
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
| @@ -40029,29 +40375,6 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, | ||||
|             return dataTable; | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] | ||||
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] | ||||
|         public virtual dsPRJ.EETGW_ProjectsScheduleDataTable GetNoList(string gcode, global::System.Nullable<int> project) { | ||||
|             this.Adapter.SelectCommand = this.CommandCollection[2]; | ||||
|             if ((gcode == null)) { | ||||
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); | ||||
|             } | ||||
|             if ((project.HasValue == true)) { | ||||
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((int)(project.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             dsPRJ.EETGW_ProjectsScheduleDataTable dataTable = new dsPRJ.EETGW_ProjectsScheduleDataTable(); | ||||
|             this.Adapter.Fill(dataTable); | ||||
|             return dataTable; | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] | ||||
| @@ -44863,6 +45186,200 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|         } | ||||
|     } | ||||
|      | ||||
|     /// <summary> | ||||
|     ///Represents the connection and commands used to retrieve and save data. | ||||
|     ///</summary> | ||||
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")] | ||||
|     [global::System.ComponentModel.ToolboxItem(true)] | ||||
|     [global::System.ComponentModel.DataObjectAttribute(true)] | ||||
|     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + | ||||
|         ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] | ||||
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] | ||||
|     public partial class EETGW_ProjectsSchedule_NoListTableAdapter : 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", "17.0.0.0")] | ||||
|         public EETGW_ProjectsSchedule_NoListTableAdapter() { | ||||
|             this.ClearBeforeFill = true; | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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", "17.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", "17.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", "17.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", "17.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", "17.0.0.0")] | ||||
|         private void InitAdapter() { | ||||
|             this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); | ||||
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); | ||||
|             tableMapping.SourceTable = "Table"; | ||||
|             tableMapping.DataSetTable = "EETGW_ProjectsSchedule_NoList"; | ||||
|             tableMapping.ColumnMappings.Add("no", "no"); | ||||
|             this._adapter.TableMappings.Add(tableMapping); | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         private void InitConnection() { | ||||
|             this._connection = new global::System.Data.SqlClient.SqlConnection(); | ||||
|             this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs; | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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  no\r\nFROM     EETGW_ProjectsSchedule WITH (nolock)\r\nWHERE  (gcode = @gcode" + | ||||
|                 ") AND (project = @project)\r\nGROUP BY no\r\nORDER BY no"; | ||||
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); | ||||
|         } | ||||
|          | ||||
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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(dsPRJ.EETGW_ProjectsSchedule_NoListDataTable dataTable, string gcode, global::System.Nullable<int> project) { | ||||
|             this.Adapter.SelectCommand = this.CommandCollection[0]; | ||||
|             if ((gcode == null)) { | ||||
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); | ||||
|             } | ||||
|             if ((project.HasValue == true)) { | ||||
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((int)(project.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             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", "17.0.0.0")] | ||||
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] | ||||
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] | ||||
|         public virtual dsPRJ.EETGW_ProjectsSchedule_NoListDataTable GetData(string gcode, global::System.Nullable<int> project) { | ||||
|             this.Adapter.SelectCommand = this.CommandCollection[0]; | ||||
|             if ((gcode == null)) { | ||||
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode)); | ||||
|             } | ||||
|             if ((project.HasValue == true)) { | ||||
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((int)(project.Value)); | ||||
|             } | ||||
|             else { | ||||
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; | ||||
|             } | ||||
|             dsPRJ.EETGW_ProjectsSchedule_NoListDataTable dataTable = new dsPRJ.EETGW_ProjectsSchedule_NoListDataTable(); | ||||
|             this.Adapter.Fill(dataTable); | ||||
|             return dataTable; | ||||
|         } | ||||
|     } | ||||
|      | ||||
|     /// <summary> | ||||
|     ///Represents the connection and commands used to retrieve and save data. | ||||
|     ///</summary> | ||||
| @@ -45647,6 +46164,15 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_DocuFormTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); | ||||
|                 if (((updatedRows != null)  | ||||
|                             && (0 < updatedRows.Length))) { | ||||
|                     result = (result + this._eETGW_DocuFormTableAdapter.Update(updatedRows)); | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_Project_LayoutTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.EETGW_Project_Layout.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); | ||||
| @@ -45710,6 +46236,15 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._authTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.Auth.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); | ||||
|                 if (((updatedRows != null)  | ||||
|                             && (0 < updatedRows.Length))) { | ||||
|                     result = (result + this._authTableAdapter.Update(updatedRows)); | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_ProjectToDoTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); | ||||
| @@ -45719,15 +46254,6 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); | ||||
|                 if (((updatedRows != null)  | ||||
|                             && (0 < updatedRows.Length))) { | ||||
|                     result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(updatedRows)); | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._projectPartStatusTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.ProjectPartStatus.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); | ||||
| @@ -45800,21 +46326,12 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_DocuFormTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|             if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); | ||||
|                 if (((updatedRows != null)  | ||||
|                             && (0 < updatedRows.Length))) { | ||||
|                     result = (result + this._eETGW_DocuFormTableAdapter.Update(updatedRows)); | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._authTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] updatedRows = dataSet.Auth.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); | ||||
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); | ||||
|                 if (((updatedRows != null)  | ||||
|                             && (0 < updatedRows.Length))) { | ||||
|                     result = (result + this._authTableAdapter.Update(updatedRows)); | ||||
|                     result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(updatedRows)); | ||||
|                     allChangedRows.AddRange(updatedRows); | ||||
|                 } | ||||
|             } | ||||
| @@ -45836,6 +46353,14 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_DocuFormTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|                 if (((addedRows != null)  | ||||
|                             && (0 < addedRows.Length))) { | ||||
|                     result = (result + this._eETGW_DocuFormTableAdapter.Update(addedRows)); | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_Project_LayoutTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.EETGW_Project_Layout.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|                 if (((addedRows != null)  | ||||
| @@ -45892,6 +46417,14 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._authTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.Auth.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|                 if (((addedRows != null)  | ||||
|                             && (0 < addedRows.Length))) { | ||||
|                     result = (result + this._authTableAdapter.Update(addedRows)); | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_ProjectToDoTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|                 if (((addedRows != null)  | ||||
| @@ -45900,14 +46433,6 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|                 if (((addedRows != null)  | ||||
|                             && (0 < addedRows.Length))) { | ||||
|                     result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(addedRows)); | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._projectPartStatusTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.ProjectPartStatus.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|                 if (((addedRows != null)  | ||||
| @@ -45972,19 +46497,11 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_DocuFormTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|             if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|                 if (((addedRows != null)  | ||||
|                             && (0 < addedRows.Length))) { | ||||
|                     result = (result + this._eETGW_DocuFormTableAdapter.Update(addedRows)); | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._authTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] addedRows = dataSet.Auth.Select(null, null, global::System.Data.DataViewRowState.Added); | ||||
|                 if (((addedRows != null)  | ||||
|                             && (0 < addedRows.Length))) { | ||||
|                     result = (result + this._authTableAdapter.Update(addedRows)); | ||||
|                     result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(addedRows)); | ||||
|                     allAddedRows.AddRange(addedRows); | ||||
|                 } | ||||
|             } | ||||
| @@ -45998,19 +46515,11 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] | ||||
|         private int UpdateDeletedRows(dsPRJ dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) { | ||||
|             int result = 0; | ||||
|             if ((this._authTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.Auth.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|             if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|                 if (((deletedRows != null)  | ||||
|                             && (0 < deletedRows.Length))) { | ||||
|                     result = (result + this._authTableAdapter.Update(deletedRows)); | ||||
|                     allChangedRows.AddRange(deletedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_DocuFormTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|                 if (((deletedRows != null)  | ||||
|                             && (0 < deletedRows.Length))) { | ||||
|                     result = (result + this._eETGW_DocuFormTableAdapter.Update(deletedRows)); | ||||
|                     result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(deletedRows)); | ||||
|                     allChangedRows.AddRange(deletedRows); | ||||
|                 } | ||||
|             } | ||||
| @@ -46078,14 +46587,6 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allChangedRows.AddRange(deletedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_ProjecthistoryDTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjecthistoryD.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|                 if (((deletedRows != null)  | ||||
|                             && (0 < deletedRows.Length))) { | ||||
|                     result = (result + this._eETGW_ProjecthistoryDTableAdapter.Update(deletedRows)); | ||||
|                     allChangedRows.AddRange(deletedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_ProjectToDoTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectToDo.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|                 if (((deletedRows != null)  | ||||
| @@ -46094,6 +46595,14 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allChangedRows.AddRange(deletedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._authTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.Auth.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|                 if (((deletedRows != null)  | ||||
|                             && (0 < deletedRows.Length))) { | ||||
|                     result = (result + this._authTableAdapter.Update(deletedRows)); | ||||
|                     allChangedRows.AddRange(deletedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_JobReport_EBoardTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.EETGW_JobReport_EBoard.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|                 if (((deletedRows != null)  | ||||
| @@ -46150,6 +46659,14 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche | ||||
|                     allChangedRows.AddRange(deletedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._eETGW_DocuFormTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|                 if (((deletedRows != null)  | ||||
|                             && (0 < deletedRows.Length))) { | ||||
|                     result = (result + this._eETGW_DocuFormTableAdapter.Update(deletedRows)); | ||||
|                     allChangedRows.AddRange(deletedRows); | ||||
|                 } | ||||
|             } | ||||
|             if ((this._projectsTableAdapter != null)) { | ||||
|                 global::System.Data.DataRow[] deletedRows = dataSet.Projects.Select(null, null, global::System.Data.DataViewRowState.Deleted); | ||||
|                 if (((deletedRows != null)  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi