//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.33440 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ #pragma warning disable 1591 namespace Saving.Applications.shrlon.dlg.ws_dlg_search_lawmember_ctrl { /// ///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("DataSet1")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] public partial class DataSet1 : global::System.Data.DataSet { private LNLAWMBMASTERDataTable tableLNLAWMBMASTER; private DT_MAINDataTable tableDT_MAIN; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DataSet1() { 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", "4.0.0.0")] protected DataSet1(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["LNLAWMBMASTER"] != null)) { base.Tables.Add(new LNLAWMBMASTERDataTable(ds.Tables["LNLAWMBMASTER"])); } if ((ds.Tables["DT_MAIN"] != null)) { base.Tables.Add(new DT_MAINDataTable(ds.Tables["DT_MAIN"])); } 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", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public LNLAWMBMASTERDataTable LNLAWMBMASTER { get { return this.tableLNLAWMBMASTER; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public DT_MAINDataTable DT_MAIN { get { return this.tableDT_MAIN; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")] public override global::System.Data.DataSet Clone() { DataSet1 cln = ((DataSet1)(base.Clone())); cln.InitVars(); cln.SchemaSerializationMode = this.SchemaSerializationMode; return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override bool ShouldSerializeTables() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override bool ShouldSerializeRelations() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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["LNLAWMBMASTER"] != null)) { base.Tables.Add(new LNLAWMBMASTERDataTable(ds.Tables["LNLAWMBMASTER"])); } if ((ds.Tables["DT_MAIN"] != null)) { base.Tables.Add(new DT_MAINDataTable(ds.Tables["DT_MAIN"])); } 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", "4.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", "4.0.0.0")] internal void InitVars() { this.InitVars(true); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars(bool initTable) { this.tableLNLAWMBMASTER = ((LNLAWMBMASTERDataTable)(base.Tables["LNLAWMBMASTER"])); if ((initTable == true)) { if ((this.tableLNLAWMBMASTER != null)) { this.tableLNLAWMBMASTER.InitVars(); } } this.tableDT_MAIN = ((DT_MAINDataTable)(base.Tables["DT_MAIN"])); if ((initTable == true)) { if ((this.tableDT_MAIN != null)) { this.tableDT_MAIN.InitVars(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.DataSetName = "DataSet1"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DataSet1.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableLNLAWMBMASTER = new LNLAWMBMASTERDataTable(); base.Tables.Add(this.tableLNLAWMBMASTER); this.tableDT_MAIN = new DT_MAINDataTable(); base.Tables.Add(this.tableDT_MAIN); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeLNLAWMBMASTER() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeDT_MAIN() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { DataSet1 ds = new DataSet1(); 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", "4.0.0.0")] public delegate void LNLAWMBMASTERRowChangeEventHandler(object sender, LNLAWMBMASTERRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void DT_MAINRowChangeEventHandler(object sender, DT_MAINRowChangeEvent e); /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class LNLAWMBMASTERDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnMEMBER_NO; private global::System.Data.DataColumn columnPRENAME_CODE; private global::System.Data.DataColumn columnMEMB_NAME; private global::System.Data.DataColumn columnMEMB_SURNAME; private global::System.Data.DataColumn columnMEMBGROUP_CODE; private global::System.Data.DataColumn columnMEMBTYPE_CODE; private global::System.Data.DataColumn columnBIRTH_DATE; private global::System.Data.DataColumn columnMEMBER_DATE; private global::System.Data.DataColumn columnADDR_NO; private global::System.Data.DataColumn columnADDR_MOO; private global::System.Data.DataColumn columnADDR_SOI; private global::System.Data.DataColumn columnADDR_VILLAGE; private global::System.Data.DataColumn columnADDR_ROAD; private global::System.Data.DataColumn columnTAMBOL_CODE; private global::System.Data.DataColumn columnAMPHUR_CODE; private global::System.Data.DataColumn columnPROVINCE_CODE; private global::System.Data.DataColumn columnADDR_POSTCODE; private global::System.Data.DataColumn columnADDR_PHONE; private global::System.Data.DataColumn columnMATE_NAME; private global::System.Data.DataColumn columnCARD_PERSON; private global::System.Data.DataColumn columnREMARK; private global::System.Data.DataColumn columnMEMBER_TYPE; private global::System.Data.DataColumn columnT_PROVINCE; private global::System.Data.DataColumn columnT_AMPHUR; private global::System.Data.DataColumn columnT_TAMBOL; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public LNLAWMBMASTERDataTable() { this.TableName = "LNLAWMBMASTER"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal LNLAWMBMASTERDataTable(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", "4.0.0.0")] protected LNLAWMBMASTERDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn MEMBER_NOColumn { get { return this.columnMEMBER_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PRENAME_CODEColumn { get { return this.columnPRENAME_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn MEMB_NAMEColumn { get { return this.columnMEMB_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn MEMB_SURNAMEColumn { get { return this.columnMEMB_SURNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn MEMBGROUP_CODEColumn { get { return this.columnMEMBGROUP_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn MEMBTYPE_CODEColumn { get { return this.columnMEMBTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn BIRTH_DATEColumn { get { return this.columnBIRTH_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn MEMBER_DATEColumn { get { return this.columnMEMBER_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADDR_NOColumn { get { return this.columnADDR_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADDR_MOOColumn { get { return this.columnADDR_MOO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADDR_SOIColumn { get { return this.columnADDR_SOI; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADDR_VILLAGEColumn { get { return this.columnADDR_VILLAGE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADDR_ROADColumn { get { return this.columnADDR_ROAD; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TAMBOL_CODEColumn { get { return this.columnTAMBOL_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn AMPHUR_CODEColumn { get { return this.columnAMPHUR_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PROVINCE_CODEColumn { get { return this.columnPROVINCE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADDR_POSTCODEColumn { get { return this.columnADDR_POSTCODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADDR_PHONEColumn { get { return this.columnADDR_PHONE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn MATE_NAMEColumn { get { return this.columnMATE_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn CARD_PERSONColumn { get { return this.columnCARD_PERSON; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn REMARKColumn { get { return this.columnREMARK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn MEMBER_TYPEColumn { get { return this.columnMEMBER_TYPE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn T_PROVINCEColumn { get { return this.columnT_PROVINCE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn T_AMPHURColumn { get { return this.columnT_AMPHUR; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn T_TAMBOLColumn { get { return this.columnT_TAMBOL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public LNLAWMBMASTERRow this[int index] { get { return ((LNLAWMBMASTERRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event LNLAWMBMASTERRowChangeEventHandler LNLAWMBMASTERRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event LNLAWMBMASTERRowChangeEventHandler LNLAWMBMASTERRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event LNLAWMBMASTERRowChangeEventHandler LNLAWMBMASTERRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event LNLAWMBMASTERRowChangeEventHandler LNLAWMBMASTERRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddLNLAWMBMASTERRow(LNLAWMBMASTERRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public LNLAWMBMASTERRow AddLNLAWMBMASTERRow( string COOP_ID, string MEMBER_NO, string PRENAME_CODE, string MEMB_NAME, string MEMB_SURNAME, string MEMBGROUP_CODE, string MEMBTYPE_CODE, System.DateTime BIRTH_DATE, System.DateTime MEMBER_DATE, string ADDR_NO, string ADDR_MOO, string ADDR_SOI, string ADDR_VILLAGE, string ADDR_ROAD, string TAMBOL_CODE, string AMPHUR_CODE, string PROVINCE_CODE, string ADDR_POSTCODE, string ADDR_PHONE, string MATE_NAME, string CARD_PERSON, string REMARK, decimal MEMBER_TYPE, string T_PROVINCE, string T_AMPHUR, string T_TAMBOL) { LNLAWMBMASTERRow rowLNLAWMBMASTERRow = ((LNLAWMBMASTERRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, MEMBER_NO, PRENAME_CODE, MEMB_NAME, MEMB_SURNAME, MEMBGROUP_CODE, MEMBTYPE_CODE, BIRTH_DATE, MEMBER_DATE, ADDR_NO, ADDR_MOO, ADDR_SOI, ADDR_VILLAGE, ADDR_ROAD, TAMBOL_CODE, AMPHUR_CODE, PROVINCE_CODE, ADDR_POSTCODE, ADDR_PHONE, MATE_NAME, CARD_PERSON, REMARK, MEMBER_TYPE, T_PROVINCE, T_AMPHUR, T_TAMBOL}; rowLNLAWMBMASTERRow.ItemArray = columnValuesArray; this.Rows.Add(rowLNLAWMBMASTERRow); return rowLNLAWMBMASTERRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public LNLAWMBMASTERRow FindByCOOP_IDMEMBER_NO(string COOP_ID, string MEMBER_NO) { return ((LNLAWMBMASTERRow)(this.Rows.Find(new object[] { COOP_ID, MEMBER_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { LNLAWMBMASTERDataTable cln = ((LNLAWMBMASTERDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new LNLAWMBMASTERDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnMEMBER_NO = base.Columns["MEMBER_NO"]; this.columnPRENAME_CODE = base.Columns["PRENAME_CODE"]; this.columnMEMB_NAME = base.Columns["MEMB_NAME"]; this.columnMEMB_SURNAME = base.Columns["MEMB_SURNAME"]; this.columnMEMBGROUP_CODE = base.Columns["MEMBGROUP_CODE"]; this.columnMEMBTYPE_CODE = base.Columns["MEMBTYPE_CODE"]; this.columnBIRTH_DATE = base.Columns["BIRTH_DATE"]; this.columnMEMBER_DATE = base.Columns["MEMBER_DATE"]; this.columnADDR_NO = base.Columns["ADDR_NO"]; this.columnADDR_MOO = base.Columns["ADDR_MOO"]; this.columnADDR_SOI = base.Columns["ADDR_SOI"]; this.columnADDR_VILLAGE = base.Columns["ADDR_VILLAGE"]; this.columnADDR_ROAD = base.Columns["ADDR_ROAD"]; this.columnTAMBOL_CODE = base.Columns["TAMBOL_CODE"]; this.columnAMPHUR_CODE = base.Columns["AMPHUR_CODE"]; this.columnPROVINCE_CODE = base.Columns["PROVINCE_CODE"]; this.columnADDR_POSTCODE = base.Columns["ADDR_POSTCODE"]; this.columnADDR_PHONE = base.Columns["ADDR_PHONE"]; this.columnMATE_NAME = base.Columns["MATE_NAME"]; this.columnCARD_PERSON = base.Columns["CARD_PERSON"]; this.columnREMARK = base.Columns["REMARK"]; this.columnMEMBER_TYPE = base.Columns["MEMBER_TYPE"]; this.columnT_PROVINCE = base.Columns["T_PROVINCE"]; this.columnT_AMPHUR = base.Columns["T_AMPHUR"]; this.columnT_TAMBOL = base.Columns["T_TAMBOL"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnMEMBER_NO = new global::System.Data.DataColumn("MEMBER_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMEMBER_NO); this.columnPRENAME_CODE = new global::System.Data.DataColumn("PRENAME_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPRENAME_CODE); this.columnMEMB_NAME = new global::System.Data.DataColumn("MEMB_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMEMB_NAME); this.columnMEMB_SURNAME = new global::System.Data.DataColumn("MEMB_SURNAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMEMB_SURNAME); this.columnMEMBGROUP_CODE = new global::System.Data.DataColumn("MEMBGROUP_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMEMBGROUP_CODE); this.columnMEMBTYPE_CODE = new global::System.Data.DataColumn("MEMBTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMEMBTYPE_CODE); this.columnBIRTH_DATE = new global::System.Data.DataColumn("BIRTH_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBIRTH_DATE); this.columnMEMBER_DATE = new global::System.Data.DataColumn("MEMBER_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMEMBER_DATE); this.columnADDR_NO = new global::System.Data.DataColumn("ADDR_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADDR_NO); this.columnADDR_MOO = new global::System.Data.DataColumn("ADDR_MOO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADDR_MOO); this.columnADDR_SOI = new global::System.Data.DataColumn("ADDR_SOI", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADDR_SOI); this.columnADDR_VILLAGE = new global::System.Data.DataColumn("ADDR_VILLAGE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADDR_VILLAGE); this.columnADDR_ROAD = new global::System.Data.DataColumn("ADDR_ROAD", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADDR_ROAD); this.columnTAMBOL_CODE = new global::System.Data.DataColumn("TAMBOL_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTAMBOL_CODE); this.columnAMPHUR_CODE = new global::System.Data.DataColumn("AMPHUR_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAMPHUR_CODE); this.columnPROVINCE_CODE = new global::System.Data.DataColumn("PROVINCE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPROVINCE_CODE); this.columnADDR_POSTCODE = new global::System.Data.DataColumn("ADDR_POSTCODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADDR_POSTCODE); this.columnADDR_PHONE = new global::System.Data.DataColumn("ADDR_PHONE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADDR_PHONE); this.columnMATE_NAME = new global::System.Data.DataColumn("MATE_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMATE_NAME); this.columnCARD_PERSON = new global::System.Data.DataColumn("CARD_PERSON", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCARD_PERSON); this.columnREMARK = new global::System.Data.DataColumn("REMARK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREMARK); this.columnMEMBER_TYPE = new global::System.Data.DataColumn("MEMBER_TYPE", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMEMBER_TYPE); this.columnT_PROVINCE = new global::System.Data.DataColumn("T_PROVINCE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnT_PROVINCE); this.columnT_AMPHUR = new global::System.Data.DataColumn("T_AMPHUR", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnT_AMPHUR); this.columnT_TAMBOL = new global::System.Data.DataColumn("T_TAMBOL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnT_TAMBOL); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnMEMBER_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnMEMBER_NO.AllowDBNull = false; this.columnMEMBER_NO.MaxLength = 8; this.columnPRENAME_CODE.MaxLength = 2; this.columnMEMB_NAME.MaxLength = 60; this.columnMEMB_SURNAME.MaxLength = 60; this.columnMEMBGROUP_CODE.MaxLength = 14; this.columnMEMBTYPE_CODE.MaxLength = 2; this.columnADDR_NO.MaxLength = 100; this.columnADDR_MOO.MaxLength = 3; this.columnADDR_SOI.MaxLength = 50; this.columnADDR_VILLAGE.MaxLength = 60; this.columnADDR_ROAD.MaxLength = 100; this.columnTAMBOL_CODE.MaxLength = 6; this.columnAMPHUR_CODE.MaxLength = 4; this.columnPROVINCE_CODE.MaxLength = 3; this.columnADDR_POSTCODE.MaxLength = 5; this.columnADDR_PHONE.MaxLength = 50; this.columnMATE_NAME.MaxLength = 60; this.columnCARD_PERSON.MaxLength = 13; this.columnREMARK.MaxLength = 500; this.columnT_PROVINCE.MaxLength = 100; this.columnT_AMPHUR.MaxLength = 100; this.columnT_TAMBOL.MaxLength = 100; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public LNLAWMBMASTERRow NewLNLAWMBMASTERRow() { return ((LNLAWMBMASTERRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new LNLAWMBMASTERRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(LNLAWMBMASTERRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.LNLAWMBMASTERRowChanged != null)) { this.LNLAWMBMASTERRowChanged(this, new LNLAWMBMASTERRowChangeEvent(((LNLAWMBMASTERRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.LNLAWMBMASTERRowChanging != null)) { this.LNLAWMBMASTERRowChanging(this, new LNLAWMBMASTERRowChangeEvent(((LNLAWMBMASTERRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.LNLAWMBMASTERRowDeleted != null)) { this.LNLAWMBMASTERRowDeleted(this, new LNLAWMBMASTERRowChangeEvent(((LNLAWMBMASTERRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.LNLAWMBMASTERRowDeleting != null)) { this.LNLAWMBMASTERRowDeleting(this, new LNLAWMBMASTERRowChangeEvent(((LNLAWMBMASTERRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveLNLAWMBMASTERRow(LNLAWMBMASTERRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "LNLAWMBMASTERDataTable"; 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 DT_MAINDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnmember_no; private global::System.Data.DataColumn columnmembname; private global::System.Data.DataColumn columnmembsurname; private global::System.Data.DataColumn columnloantract_no; private global::System.Data.DataColumn columnloan_type; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MAINDataTable() { this.TableName = "DT_MAIN"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DT_MAINDataTable(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", "4.0.0.0")] protected DT_MAINDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn member_noColumn { get { return this.columnmember_no; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn membnameColumn { get { return this.columnmembname; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn membsurnameColumn { get { return this.columnmembsurname; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn loantract_noColumn { get { return this.columnloantract_no; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn loan_typeColumn { get { return this.columnloan_type; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public DT_MAINRow this[int index] { get { return ((DT_MAINRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_MAINRowChangeEventHandler DT_MAINRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_MAINRowChangeEventHandler DT_MAINRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_MAINRowChangeEventHandler DT_MAINRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_MAINRowChangeEventHandler DT_MAINRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddDT_MAINRow(DT_MAINRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MAINRow AddDT_MAINRow(string member_no, string membname, string membsurname, string loantract_no, string loan_type) { DT_MAINRow rowDT_MAINRow = ((DT_MAINRow)(this.NewRow())); object[] columnValuesArray = new object[] { member_no, membname, membsurname, loantract_no, loan_type}; rowDT_MAINRow.ItemArray = columnValuesArray; this.Rows.Add(rowDT_MAINRow); return rowDT_MAINRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { DT_MAINDataTable cln = ((DT_MAINDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new DT_MAINDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnmember_no = base.Columns["member_no"]; this.columnmembname = base.Columns["membname"]; this.columnmembsurname = base.Columns["membsurname"]; this.columnloantract_no = base.Columns["loantract_no"]; this.columnloan_type = base.Columns["loan_type"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnmember_no = new global::System.Data.DataColumn("member_no", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnmember_no); this.columnmembname = new global::System.Data.DataColumn("membname", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnmembname); this.columnmembsurname = new global::System.Data.DataColumn("membsurname", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnmembsurname); this.columnloantract_no = new global::System.Data.DataColumn("loantract_no", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnloantract_no); this.columnloan_type = new global::System.Data.DataColumn("loan_type", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnloan_type); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MAINRow NewDT_MAINRow() { return ((DT_MAINRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new DT_MAINRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(DT_MAINRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.DT_MAINRowChanged != null)) { this.DT_MAINRowChanged(this, new DT_MAINRowChangeEvent(((DT_MAINRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.DT_MAINRowChanging != null)) { this.DT_MAINRowChanging(this, new DT_MAINRowChangeEvent(((DT_MAINRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.DT_MAINRowDeleted != null)) { this.DT_MAINRowDeleted(this, new DT_MAINRowChangeEvent(((DT_MAINRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.DT_MAINRowDeleting != null)) { this.DT_MAINRowDeleting(this, new DT_MAINRowChangeEvent(((DT_MAINRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveDT_MAINRow(DT_MAINRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "DT_MAINDataTable"; 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 LNLAWMBMASTERRow : global::System.Data.DataRow { private LNLAWMBMASTERDataTable tableLNLAWMBMASTER; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal LNLAWMBMASTERRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableLNLAWMBMASTER = ((LNLAWMBMASTERDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableLNLAWMBMASTER.COOP_IDColumn])); } set { this[this.tableLNLAWMBMASTER.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string MEMBER_NO { get { return ((string)(this[this.tableLNLAWMBMASTER.MEMBER_NOColumn])); } set { this[this.tableLNLAWMBMASTER.MEMBER_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string PRENAME_CODE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.PRENAME_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PRENAME_CODE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.PRENAME_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string MEMB_NAME { get { try { return ((string)(this[this.tableLNLAWMBMASTER.MEMB_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MEMB_NAME\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.MEMB_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string MEMB_SURNAME { get { try { return ((string)(this[this.tableLNLAWMBMASTER.MEMB_SURNAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MEMB_SURNAME\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.MEMB_SURNAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string MEMBGROUP_CODE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.MEMBGROUP_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MEMBGROUP_CODE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.MEMBGROUP_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string MEMBTYPE_CODE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.MEMBTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MEMBTYPE_CODE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.MEMBTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime BIRTH_DATE { get { try { return ((global::System.DateTime)(this[this.tableLNLAWMBMASTER.BIRTH_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BIRTH_DATE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.BIRTH_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime MEMBER_DATE { get { try { return ((global::System.DateTime)(this[this.tableLNLAWMBMASTER.MEMBER_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MEMBER_DATE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.MEMBER_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADDR_NO { get { try { return ((string)(this[this.tableLNLAWMBMASTER.ADDR_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADDR_NO\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.ADDR_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADDR_MOO { get { try { return ((string)(this[this.tableLNLAWMBMASTER.ADDR_MOOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADDR_MOO\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.ADDR_MOOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADDR_SOI { get { try { return ((string)(this[this.tableLNLAWMBMASTER.ADDR_SOIColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADDR_SOI\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.ADDR_SOIColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADDR_VILLAGE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.ADDR_VILLAGEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADDR_VILLAGE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.ADDR_VILLAGEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADDR_ROAD { get { try { return ((string)(this[this.tableLNLAWMBMASTER.ADDR_ROADColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADDR_ROAD\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.ADDR_ROADColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TAMBOL_CODE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.TAMBOL_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TAMBOL_CODE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.TAMBOL_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string AMPHUR_CODE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.AMPHUR_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'AMPHUR_CODE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.AMPHUR_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string PROVINCE_CODE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.PROVINCE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PROVINCE_CODE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.PROVINCE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADDR_POSTCODE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.ADDR_POSTCODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADDR_POSTCODE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.ADDR_POSTCODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADDR_PHONE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.ADDR_PHONEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADDR_PHONE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.ADDR_PHONEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string MATE_NAME { get { try { return ((string)(this[this.tableLNLAWMBMASTER.MATE_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MATE_NAME\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.MATE_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string CARD_PERSON { get { try { return ((string)(this[this.tableLNLAWMBMASTER.CARD_PERSONColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'CARD_PERSON\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.CARD_PERSONColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string REMARK { get { try { return ((string)(this[this.tableLNLAWMBMASTER.REMARKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REMARK\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.REMARKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal MEMBER_TYPE { get { try { return ((decimal)(this[this.tableLNLAWMBMASTER.MEMBER_TYPEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MEMBER_TYPE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.MEMBER_TYPEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string T_PROVINCE { get { try { return ((string)(this[this.tableLNLAWMBMASTER.T_PROVINCEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'T_PROVINCE\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.T_PROVINCEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string T_AMPHUR { get { try { return ((string)(this[this.tableLNLAWMBMASTER.T_AMPHURColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'T_AMPHUR\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.T_AMPHURColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string T_TAMBOL { get { try { return ((string)(this[this.tableLNLAWMBMASTER.T_TAMBOLColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'T_TAMBOL\' in table \'LNLAWMBMASTER\' is DBNull.", e); } } set { this[this.tableLNLAWMBMASTER.T_TAMBOLColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPRENAME_CODENull() { return this.IsNull(this.tableLNLAWMBMASTER.PRENAME_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPRENAME_CODENull() { this[this.tableLNLAWMBMASTER.PRENAME_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsMEMB_NAMENull() { return this.IsNull(this.tableLNLAWMBMASTER.MEMB_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetMEMB_NAMENull() { this[this.tableLNLAWMBMASTER.MEMB_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsMEMB_SURNAMENull() { return this.IsNull(this.tableLNLAWMBMASTER.MEMB_SURNAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetMEMB_SURNAMENull() { this[this.tableLNLAWMBMASTER.MEMB_SURNAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsMEMBGROUP_CODENull() { return this.IsNull(this.tableLNLAWMBMASTER.MEMBGROUP_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetMEMBGROUP_CODENull() { this[this.tableLNLAWMBMASTER.MEMBGROUP_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsMEMBTYPE_CODENull() { return this.IsNull(this.tableLNLAWMBMASTER.MEMBTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetMEMBTYPE_CODENull() { this[this.tableLNLAWMBMASTER.MEMBTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsBIRTH_DATENull() { return this.IsNull(this.tableLNLAWMBMASTER.BIRTH_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetBIRTH_DATENull() { this[this.tableLNLAWMBMASTER.BIRTH_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsMEMBER_DATENull() { return this.IsNull(this.tableLNLAWMBMASTER.MEMBER_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetMEMBER_DATENull() { this[this.tableLNLAWMBMASTER.MEMBER_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADDR_NONull() { return this.IsNull(this.tableLNLAWMBMASTER.ADDR_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADDR_NONull() { this[this.tableLNLAWMBMASTER.ADDR_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADDR_MOONull() { return this.IsNull(this.tableLNLAWMBMASTER.ADDR_MOOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADDR_MOONull() { this[this.tableLNLAWMBMASTER.ADDR_MOOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADDR_SOINull() { return this.IsNull(this.tableLNLAWMBMASTER.ADDR_SOIColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADDR_SOINull() { this[this.tableLNLAWMBMASTER.ADDR_SOIColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADDR_VILLAGENull() { return this.IsNull(this.tableLNLAWMBMASTER.ADDR_VILLAGEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADDR_VILLAGENull() { this[this.tableLNLAWMBMASTER.ADDR_VILLAGEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADDR_ROADNull() { return this.IsNull(this.tableLNLAWMBMASTER.ADDR_ROADColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADDR_ROADNull() { this[this.tableLNLAWMBMASTER.ADDR_ROADColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTAMBOL_CODENull() { return this.IsNull(this.tableLNLAWMBMASTER.TAMBOL_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTAMBOL_CODENull() { this[this.tableLNLAWMBMASTER.TAMBOL_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsAMPHUR_CODENull() { return this.IsNull(this.tableLNLAWMBMASTER.AMPHUR_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetAMPHUR_CODENull() { this[this.tableLNLAWMBMASTER.AMPHUR_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPROVINCE_CODENull() { return this.IsNull(this.tableLNLAWMBMASTER.PROVINCE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPROVINCE_CODENull() { this[this.tableLNLAWMBMASTER.PROVINCE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADDR_POSTCODENull() { return this.IsNull(this.tableLNLAWMBMASTER.ADDR_POSTCODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADDR_POSTCODENull() { this[this.tableLNLAWMBMASTER.ADDR_POSTCODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADDR_PHONENull() { return this.IsNull(this.tableLNLAWMBMASTER.ADDR_PHONEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADDR_PHONENull() { this[this.tableLNLAWMBMASTER.ADDR_PHONEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsMATE_NAMENull() { return this.IsNull(this.tableLNLAWMBMASTER.MATE_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetMATE_NAMENull() { this[this.tableLNLAWMBMASTER.MATE_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCARD_PERSONNull() { return this.IsNull(this.tableLNLAWMBMASTER.CARD_PERSONColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetCARD_PERSONNull() { this[this.tableLNLAWMBMASTER.CARD_PERSONColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREMARKNull() { return this.IsNull(this.tableLNLAWMBMASTER.REMARKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREMARKNull() { this[this.tableLNLAWMBMASTER.REMARKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsMEMBER_TYPENull() { return this.IsNull(this.tableLNLAWMBMASTER.MEMBER_TYPEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetMEMBER_TYPENull() { this[this.tableLNLAWMBMASTER.MEMBER_TYPEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsT_PROVINCENull() { return this.IsNull(this.tableLNLAWMBMASTER.T_PROVINCEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetT_PROVINCENull() { this[this.tableLNLAWMBMASTER.T_PROVINCEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsT_AMPHURNull() { return this.IsNull(this.tableLNLAWMBMASTER.T_AMPHURColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetT_AMPHURNull() { this[this.tableLNLAWMBMASTER.T_AMPHURColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsT_TAMBOLNull() { return this.IsNull(this.tableLNLAWMBMASTER.T_TAMBOLColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetT_TAMBOLNull() { this[this.tableLNLAWMBMASTER.T_TAMBOLColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class DT_MAINRow : global::System.Data.DataRow { private DT_MAINDataTable tableDT_MAIN; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DT_MAINRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDT_MAIN = ((DT_MAINDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string member_no { get { try { return ((string)(this[this.tableDT_MAIN.member_noColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'member_no\' in table \'DT_MAIN\' is DBNull.", e); } } set { this[this.tableDT_MAIN.member_noColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string membname { get { try { return ((string)(this[this.tableDT_MAIN.membnameColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'membname\' in table \'DT_MAIN\' is DBNull.", e); } } set { this[this.tableDT_MAIN.membnameColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string membsurname { get { try { return ((string)(this[this.tableDT_MAIN.membsurnameColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'membsurname\' in table \'DT_MAIN\' is DBNull.", e); } } set { this[this.tableDT_MAIN.membsurnameColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string loantract_no { get { try { return ((string)(this[this.tableDT_MAIN.loantract_noColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'loantract_no\' in table \'DT_MAIN\' is DBNull.", e); } } set { this[this.tableDT_MAIN.loantract_noColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string loan_type { get { try { return ((string)(this[this.tableDT_MAIN.loan_typeColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'loan_type\' in table \'DT_MAIN\' is DBNull.", e); } } set { this[this.tableDT_MAIN.loan_typeColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Ismember_noNull() { return this.IsNull(this.tableDT_MAIN.member_noColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setmember_noNull() { this[this.tableDT_MAIN.member_noColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsmembnameNull() { return this.IsNull(this.tableDT_MAIN.membnameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetmembnameNull() { this[this.tableDT_MAIN.membnameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsmembsurnameNull() { return this.IsNull(this.tableDT_MAIN.membsurnameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetmembsurnameNull() { this[this.tableDT_MAIN.membsurnameColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isloantract_noNull() { return this.IsNull(this.tableDT_MAIN.loantract_noColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setloantract_noNull() { this[this.tableDT_MAIN.loantract_noColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isloan_typeNull() { return this.IsNull(this.tableDT_MAIN.loan_typeColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setloan_typeNull() { this[this.tableDT_MAIN.loan_typeColumn] = global::System.Convert.DBNull; } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class LNLAWMBMASTERRowChangeEvent : global::System.EventArgs { private LNLAWMBMASTERRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public LNLAWMBMASTERRowChangeEvent(LNLAWMBMASTERRow 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", "4.0.0.0")] public LNLAWMBMASTERRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public class DT_MAINRowChangeEvent : global::System.EventArgs { private DT_MAINRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MAINRowChangeEvent(DT_MAINRow 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", "4.0.0.0")] public DT_MAINRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } } } namespace Saving.Applications.shrlon.dlg.ws_dlg_search_lawmember_ctrl.DataSet1TableAdapters { /// ///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 LNLAWMBMASTERTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public LNLAWMBMASTERTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "LNLAWMBMASTER"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("MEMBER_NO", "MEMBER_NO"); tableMapping.ColumnMappings.Add("PRENAME_CODE", "PRENAME_CODE"); tableMapping.ColumnMappings.Add("MEMB_NAME", "MEMB_NAME"); tableMapping.ColumnMappings.Add("MEMB_SURNAME", "MEMB_SURNAME"); tableMapping.ColumnMappings.Add("MEMBGROUP_CODE", "MEMBGROUP_CODE"); tableMapping.ColumnMappings.Add("MEMBTYPE_CODE", "MEMBTYPE_CODE"); tableMapping.ColumnMappings.Add("BIRTH_DATE", "BIRTH_DATE"); tableMapping.ColumnMappings.Add("MEMBER_DATE", "MEMBER_DATE"); tableMapping.ColumnMappings.Add("ADDR_NO", "ADDR_NO"); tableMapping.ColumnMappings.Add("ADDR_MOO", "ADDR_MOO"); tableMapping.ColumnMappings.Add("ADDR_SOI", "ADDR_SOI"); tableMapping.ColumnMappings.Add("ADDR_VILLAGE", "ADDR_VILLAGE"); tableMapping.ColumnMappings.Add("ADDR_ROAD", "ADDR_ROAD"); tableMapping.ColumnMappings.Add("TAMBOL_CODE", "TAMBOL_CODE"); tableMapping.ColumnMappings.Add("AMPHUR_CODE", "AMPHUR_CODE"); tableMapping.ColumnMappings.Add("PROVINCE_CODE", "PROVINCE_CODE"); tableMapping.ColumnMappings.Add("ADDR_POSTCODE", "ADDR_POSTCODE"); tableMapping.ColumnMappings.Add("ADDR_PHONE", "ADDR_PHONE"); tableMapping.ColumnMappings.Add("MATE_NAME", "MATE_NAME"); tableMapping.ColumnMappings.Add("CARD_PERSON", "CARD_PERSON"); tableMapping.ColumnMappings.Add("REMARK", "REMARK"); tableMapping.ColumnMappings.Add("MEMBER_TYPE", "MEMBER_TYPE"); tableMapping.ColumnMappings.Add("T_PROVINCE", "T_PROVINCE"); tableMapping.ColumnMappings.Add("T_AMPHUR", "T_AMPHUR"); tableMapping.ColumnMappings.Add("T_TAMBOL", "T_TAMBOL"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"LNLAWMBMASTER\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"MEMBER_N" + "O\" = :Original_MEMBER_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_MEMBER_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MEMBER_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""LNLAWMBMASTER"" (""COOP_ID"", ""MEMBER_NO"", ""PRENAME_CODE"", ""MEMB_NAME"", ""MEMB_SURNAME"", ""MEMBGROUP_CODE"", ""MEMBTYPE_CODE"", ""BIRTH_DATE"", ""MEMBER_DATE"", ""ADDR_NO"", ""ADDR_MOO"", ""ADDR_SOI"", ""ADDR_VILLAGE"", ""ADDR_ROAD"", ""TAMBOL_CODE"", ""AMPHUR_CODE"", ""PROVINCE_CODE"", ""ADDR_POSTCODE"", ""ADDR_PHONE"", ""MATE_NAME"", ""CARD_PERSON"", ""REMARK"", ""MEMBER_TYPE"", ""T_PROVINCE"", ""T_AMPHUR"", ""T_TAMBOL"") VALUES (:COOP_ID, :MEMBER_NO, :PRENAME_CODE, :MEMB_NAME, :MEMB_SURNAME, :MEMBGROUP_CODE, :MEMBTYPE_CODE, :BIRTH_DATE, :MEMBER_DATE, :ADDR_NO, :ADDR_MOO, :ADDR_SOI, :ADDR_VILLAGE, :ADDR_ROAD, :TAMBOL_CODE, :AMPHUR_CODE, :PROVINCE_CODE, :ADDR_POSTCODE, :ADDR_PHONE, :MATE_NAME, :CARD_PERSON, :REMARK, :MEMBER_TYPE, :T_PROVINCE, :T_AMPHUR, :T_TAMBOL)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBER_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MEMBER_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRENAME_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "PRENAME_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMB_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "MEMB_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMB_SURNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "MEMB_SURNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBGROUP_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MEMBGROUP_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MEMBTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BIRTH_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "BIRTH_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBER_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "MEMBER_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_MOO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_MOO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_SOI", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_SOI", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_VILLAGE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_VILLAGE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_ROAD", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_ROAD", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TAMBOL_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "TAMBOL_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("AMPHUR_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "AMPHUR_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVINCE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "PROVINCE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_POSTCODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "ADDR_POSTCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_PHONE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_PHONE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MATE_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "MATE_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("CARD_PERSON", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "CARD_PERSON", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBER_TYPE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "MEMBER_TYPE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("T_PROVINCE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "T_PROVINCE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("T_AMPHUR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "T_AMPHUR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("T_TAMBOL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "T_TAMBOL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""LNLAWMBMASTER"" SET ""COOP_ID"" = :COOP_ID, ""MEMBER_NO"" = :MEMBER_NO, ""PRENAME_CODE"" = :PRENAME_CODE, ""MEMB_NAME"" = :MEMB_NAME, ""MEMB_SURNAME"" = :MEMB_SURNAME, ""MEMBGROUP_CODE"" = :MEMBGROUP_CODE, ""MEMBTYPE_CODE"" = :MEMBTYPE_CODE, ""BIRTH_DATE"" = :BIRTH_DATE, ""MEMBER_DATE"" = :MEMBER_DATE, ""ADDR_NO"" = :ADDR_NO, ""ADDR_MOO"" = :ADDR_MOO, ""ADDR_SOI"" = :ADDR_SOI, ""ADDR_VILLAGE"" = :ADDR_VILLAGE, ""ADDR_ROAD"" = :ADDR_ROAD, ""TAMBOL_CODE"" = :TAMBOL_CODE, ""AMPHUR_CODE"" = :AMPHUR_CODE, ""PROVINCE_CODE"" = :PROVINCE_CODE, ""ADDR_POSTCODE"" = :ADDR_POSTCODE, ""ADDR_PHONE"" = :ADDR_PHONE, ""MATE_NAME"" = :MATE_NAME, ""CARD_PERSON"" = :CARD_PERSON, ""REMARK"" = :REMARK, ""MEMBER_TYPE"" = :MEMBER_TYPE, ""T_PROVINCE"" = :T_PROVINCE, ""T_AMPHUR"" = :T_AMPHUR, ""T_TAMBOL"" = :T_TAMBOL WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""MEMBER_NO"" = :Original_MEMBER_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBER_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MEMBER_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRENAME_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "PRENAME_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMB_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "MEMB_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMB_SURNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "MEMB_SURNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBGROUP_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MEMBGROUP_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MEMBTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BIRTH_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "BIRTH_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBER_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "MEMBER_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_MOO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_MOO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_SOI", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_SOI", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_VILLAGE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_VILLAGE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_ROAD", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_ROAD", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TAMBOL_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "TAMBOL_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("AMPHUR_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "AMPHUR_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVINCE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "PROVINCE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_POSTCODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "ADDR_POSTCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADDR_PHONE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADDR_PHONE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MATE_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "MATE_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("CARD_PERSON", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "CARD_PERSON", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MEMBER_TYPE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "MEMBER_TYPE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("T_PROVINCE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "T_PROVINCE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("T_AMPHUR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "T_AMPHUR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("T_TAMBOL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "T_TAMBOL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_MEMBER_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MEMBER_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString1"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "select * from lnlawmbmaster"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.LNLAWMBMASTERDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.LNLAWMBMASTERDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.LNLAWMBMASTERDataTable dataTable = new DataSet1.LNLAWMBMASTERDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.LNLAWMBMASTERDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "LNLAWMBMASTER"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow dataRow) { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow[] dataRows) { return this.Adapter.Update(dataRows); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete(string Original_COOP_ID, string Original_MEMBER_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_MEMBER_NO == null)) { throw new global::System.ArgumentNullException("Original_MEMBER_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_MEMBER_NO)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.DeleteCommand.Connection.Open(); } try { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.DeleteCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert( string COOP_ID, string MEMBER_NO, string PRENAME_CODE, string MEMB_NAME, string MEMB_SURNAME, string MEMBGROUP_CODE, string MEMBTYPE_CODE, global::System.Nullable BIRTH_DATE, global::System.Nullable MEMBER_DATE, string ADDR_NO, string ADDR_MOO, string ADDR_SOI, string ADDR_VILLAGE, string ADDR_ROAD, string TAMBOL_CODE, string AMPHUR_CODE, string PROVINCE_CODE, string ADDR_POSTCODE, string ADDR_PHONE, string MATE_NAME, string CARD_PERSON, string REMARK, global::System.Nullable MEMBER_TYPE, string T_PROVINCE, string T_AMPHUR, string T_TAMBOL) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((MEMBER_NO == null)) { throw new global::System.ArgumentNullException("MEMBER_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(MEMBER_NO)); } if ((PRENAME_CODE == null)) { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(PRENAME_CODE)); } if ((MEMB_NAME == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(MEMB_NAME)); } if ((MEMB_SURNAME == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(MEMB_SURNAME)); } if ((MEMBGROUP_CODE == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(MEMBGROUP_CODE)); } if ((MEMBTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(MEMBTYPE_CODE)); } if ((BIRTH_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(BIRTH_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((MEMBER_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(MEMBER_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((ADDR_NO == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(ADDR_NO)); } if ((ADDR_MOO == null)) { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[10].Value = ((string)(ADDR_MOO)); } if ((ADDR_SOI == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[11].Value = ((string)(ADDR_SOI)); } if ((ADDR_VILLAGE == null)) { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[12].Value = ((string)(ADDR_VILLAGE)); } if ((ADDR_ROAD == null)) { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[13].Value = ((string)(ADDR_ROAD)); } if ((TAMBOL_CODE == null)) { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[14].Value = ((string)(TAMBOL_CODE)); } if ((AMPHUR_CODE == null)) { this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[15].Value = ((string)(AMPHUR_CODE)); } if ((PROVINCE_CODE == null)) { this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[16].Value = ((string)(PROVINCE_CODE)); } if ((ADDR_POSTCODE == null)) { this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[17].Value = ((string)(ADDR_POSTCODE)); } if ((ADDR_PHONE == null)) { this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[18].Value = ((string)(ADDR_PHONE)); } if ((MATE_NAME == null)) { this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[19].Value = ((string)(MATE_NAME)); } if ((CARD_PERSON == null)) { this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[20].Value = ((string)(CARD_PERSON)); } if ((REMARK == null)) { this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[21].Value = ((string)(REMARK)); } if ((MEMBER_TYPE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[22].Value = ((decimal)(MEMBER_TYPE.Value)); } else { this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; } if ((T_PROVINCE == null)) { this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[23].Value = ((string)(T_PROVINCE)); } if ((T_AMPHUR == null)) { this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[24].Value = ((string)(T_AMPHUR)); } if ((T_TAMBOL == null)) { this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[25].Value = ((string)(T_TAMBOL)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.InsertCommand.Connection.Open(); } try { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.InsertCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( string COOP_ID, string MEMBER_NO, string PRENAME_CODE, string MEMB_NAME, string MEMB_SURNAME, string MEMBGROUP_CODE, string MEMBTYPE_CODE, global::System.Nullable BIRTH_DATE, global::System.Nullable MEMBER_DATE, string ADDR_NO, string ADDR_MOO, string ADDR_SOI, string ADDR_VILLAGE, string ADDR_ROAD, string TAMBOL_CODE, string AMPHUR_CODE, string PROVINCE_CODE, string ADDR_POSTCODE, string ADDR_PHONE, string MATE_NAME, string CARD_PERSON, string REMARK, global::System.Nullable MEMBER_TYPE, string T_PROVINCE, string T_AMPHUR, string T_TAMBOL, string Original_COOP_ID, string Original_MEMBER_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((MEMBER_NO == null)) { throw new global::System.ArgumentNullException("MEMBER_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(MEMBER_NO)); } if ((PRENAME_CODE == null)) { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(PRENAME_CODE)); } if ((MEMB_NAME == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(MEMB_NAME)); } if ((MEMB_SURNAME == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(MEMB_SURNAME)); } if ((MEMBGROUP_CODE == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(MEMBGROUP_CODE)); } if ((MEMBTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(MEMBTYPE_CODE)); } if ((BIRTH_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(BIRTH_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((MEMBER_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(MEMBER_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((ADDR_NO == null)) { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(ADDR_NO)); } if ((ADDR_MOO == null)) { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(ADDR_MOO)); } if ((ADDR_SOI == null)) { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(ADDR_SOI)); } if ((ADDR_VILLAGE == null)) { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(ADDR_VILLAGE)); } if ((ADDR_ROAD == null)) { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(ADDR_ROAD)); } if ((TAMBOL_CODE == null)) { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(TAMBOL_CODE)); } if ((AMPHUR_CODE == null)) { this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(AMPHUR_CODE)); } if ((PROVINCE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(PROVINCE_CODE)); } if ((ADDR_POSTCODE == null)) { this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(ADDR_POSTCODE)); } if ((ADDR_PHONE == null)) { this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(ADDR_PHONE)); } if ((MATE_NAME == null)) { this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(MATE_NAME)); } if ((CARD_PERSON == null)) { this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(CARD_PERSON)); } if ((REMARK == null)) { this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(REMARK)); } if ((MEMBER_TYPE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(MEMBER_TYPE.Value)); } else { this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; } if ((T_PROVINCE == null)) { this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(T_PROVINCE)); } if ((T_AMPHUR == null)) { this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(T_AMPHUR)); } if ((T_TAMBOL == null)) { this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(T_TAMBOL)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_COOP_ID)); } if ((Original_MEMBER_NO == null)) { throw new global::System.ArgumentNullException("Original_MEMBER_NO"); } else { this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_MEMBER_NO)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.UpdateCommand.Connection.Open(); } try { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.UpdateCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( string PRENAME_CODE, string MEMB_NAME, string MEMB_SURNAME, string MEMBGROUP_CODE, string MEMBTYPE_CODE, global::System.Nullable BIRTH_DATE, global::System.Nullable MEMBER_DATE, string ADDR_NO, string ADDR_MOO, string ADDR_SOI, string ADDR_VILLAGE, string ADDR_ROAD, string TAMBOL_CODE, string AMPHUR_CODE, string PROVINCE_CODE, string ADDR_POSTCODE, string ADDR_PHONE, string MATE_NAME, string CARD_PERSON, string REMARK, global::System.Nullable MEMBER_TYPE, string T_PROVINCE, string T_AMPHUR, string T_TAMBOL, string Original_COOP_ID, string Original_MEMBER_NO) { return this.Update(Original_COOP_ID, Original_MEMBER_NO, PRENAME_CODE, MEMB_NAME, MEMB_SURNAME, MEMBGROUP_CODE, MEMBTYPE_CODE, BIRTH_DATE, MEMBER_DATE, ADDR_NO, ADDR_MOO, ADDR_SOI, ADDR_VILLAGE, ADDR_ROAD, TAMBOL_CODE, AMPHUR_CODE, PROVINCE_CODE, ADDR_POSTCODE, ADDR_PHONE, MATE_NAME, CARD_PERSON, REMARK, MEMBER_TYPE, T_PROVINCE, T_AMPHUR, T_TAMBOL, Original_COOP_ID, Original_MEMBER_NO); } } /// ///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 LNLAWMBMASTERTableAdapter _lNLAWMBMASTERTableAdapter; private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + "a", "System.Drawing.Design.UITypeEditor")] public LNLAWMBMASTERTableAdapter LNLAWMBMASTERTableAdapter { get { return this._lNLAWMBMASTERTableAdapter; } set { this._lNLAWMBMASTERTableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] public global::System.Data.IDbConnection Connection { get { if ((this._connection != null)) { return this._connection; } if (((this._lNLAWMBMASTERTableAdapter != null) && (this._lNLAWMBMASTERTableAdapter.Connection != null))) { return this._lNLAWMBMASTERTableAdapter.Connection; } return null; } set { this._connection = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int TableAdapterInstanceCount { get { int count = 0; if ((this._lNLAWMBMASTERTableAdapter != null)) { count = (count + 1); } return count; } } /// ///Update rows in top-down order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateUpdatedRows(DataSet1 dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { int result = 0; if ((this._lNLAWMBMASTERTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.LNLAWMBMASTER.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._lNLAWMBMASTERTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } return result; } /// ///Insert rows in top-down order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateInsertedRows(DataSet1 dataSet, global::System.Collections.Generic.List allAddedRows) { int result = 0; if ((this._lNLAWMBMASTERTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.LNLAWMBMASTER.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._lNLAWMBMASTERTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } return result; } /// ///Delete rows in bottom-up order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateDeletedRows(DataSet1 dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; if ((this._lNLAWMBMASTERTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.LNLAWMBMASTER.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._lNLAWMBMASTERTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } return result; } /// ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public virtual int UpdateAll(DataSet1 dataSet) { if ((dataSet == null)) { throw new global::System.ArgumentNullException("dataSet"); } if ((dataSet.HasChanges() == false)) { return 0; } if (((this._lNLAWMBMASTERTableAdapter != null) && (this.MatchTableAdapterConnection(this._lNLAWMBMASTERTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + "ger TableAdapter property to a valid TableAdapter instance."); } 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("The transaction cannot begin. The current data connection does not support transa" + "ctions or the current state is not allowing the transaction to begin."); } 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 ----------- // if ((this._lNLAWMBMASTERTableAdapter != null)) { revertConnections.Add(this._lNLAWMBMASTERTableAdapter, this._lNLAWMBMASTERTableAdapter.Connection); this._lNLAWMBMASTERTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._lNLAWMBMASTERTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._lNLAWMBMASTERTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._lNLAWMBMASTERTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._lNLAWMBMASTERTableAdapter.Adapter); } } // //---- 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 ((this._lNLAWMBMASTERTableAdapter != null)) { this._lNLAWMBMASTERTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._lNLAWMBMASTERTableAdapter])); this._lNLAWMBMASTERTableAdapter.Transaction = null; } 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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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