home *** CD-ROM | disk | FTP | other *** search
/ 61.19.244.139 / 61.19.244.139.zip / 61.19.244.139 / Compulsory.Reports / DataSets / dsReport.Designer.cs next >
Text File  |  2013-06-07  |  328KB  |  4,875 lines

  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version:4.0.30319.431
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if
  7. //     the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10.  
  11. #pragma warning disable 1591
  12.  
  13. namespace Compulsory.Reports.DataSets {
  14.     
  15.     
  16.     /// <summary>
  17.     ///Represents a strongly typed in-memory cache of data.
  18.     ///</summary>
  19.     [global::System.Serializable()]
  20.     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  21.     [global::System.ComponentModel.ToolboxItem(true)]
  22.     [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
  23.     [global::System.Xml.Serialization.XmlRootAttribute("dsReport")]
  24.     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  25.     public partial class dsReport : global::System.Data.DataSet {
  26.         
  27.         private c_stick_distributeDataTable tablec_stick_distribute;
  28.         
  29.         private c_stick_webDataTable tablec_stick_web;
  30.         
  31.         private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  32.         
  33.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  34.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  35.         public dsReport() {
  36.             this.BeginInit();
  37.             this.InitClass();
  38.             global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  39.             base.Tables.CollectionChanged += schemaChangedHandler;
  40.             base.Relations.CollectionChanged += schemaChangedHandler;
  41.             this.EndInit();
  42.         }
  43.         
  44.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  45.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  46.         protected dsReport(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  47.                 base(info, context, false) {
  48.             if ((this.IsBinarySerialized(info, context) == true)) {
  49.                 this.InitVars(false);
  50.                 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  51.                 this.Tables.CollectionChanged += schemaChangedHandler1;
  52.                 this.Relations.CollectionChanged += schemaChangedHandler1;
  53.                 return;
  54.             }
  55.             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  56.             if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  57.                 global::System.Data.DataSet ds = new global::System.Data.DataSet();
  58.                 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  59.                 if ((ds.Tables["c_stick_distribute"] != null)) {
  60.                     base.Tables.Add(new c_stick_distributeDataTable(ds.Tables["c_stick_distribute"]));
  61.                 }
  62.                 if ((ds.Tables["c_stick_web"] != null)) {
  63.                     base.Tables.Add(new c_stick_webDataTable(ds.Tables["c_stick_web"]));
  64.                 }
  65.                 this.DataSetName = ds.DataSetName;
  66.                 this.Prefix = ds.Prefix;
  67.                 this.Namespace = ds.Namespace;
  68.                 this.Locale = ds.Locale;
  69.                 this.CaseSensitive = ds.CaseSensitive;
  70.                 this.EnforceConstraints = ds.EnforceConstraints;
  71.                 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  72.                 this.InitVars();
  73.             }
  74.             else {
  75.                 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  76.             }
  77.             this.GetSerializationData(info, context);
  78.             global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  79.             base.Tables.CollectionChanged += schemaChangedHandler;
  80.             this.Relations.CollectionChanged += schemaChangedHandler;
  81.         }
  82.         
  83.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  84.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  85.         [global::System.ComponentModel.Browsable(false)]
  86.         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  87.         public c_stick_distributeDataTable c_stick_distribute {
  88.             get {
  89.                 return this.tablec_stick_distribute;
  90.             }
  91.         }
  92.         
  93.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  94.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  95.         [global::System.ComponentModel.Browsable(false)]
  96.         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  97.         public c_stick_webDataTable c_stick_web {
  98.             get {
  99.                 return this.tablec_stick_web;
  100.             }
  101.         }
  102.         
  103.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  104.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  105.         [global::System.ComponentModel.BrowsableAttribute(true)]
  106.         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  107.         public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  108.             get {
  109.                 return this._schemaSerializationMode;
  110.             }
  111.             set {
  112.                 this._schemaSerializationMode = value;
  113.             }
  114.         }
  115.         
  116.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  117.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  118.         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  119.         public new global::System.Data.DataTableCollection Tables {
  120.             get {
  121.                 return base.Tables;
  122.             }
  123.         }
  124.         
  125.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  126.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  127.         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  128.         public new global::System.Data.DataRelationCollection Relations {
  129.             get {
  130.                 return base.Relations;
  131.             }
  132.         }
  133.         
  134.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  135.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  136.         protected override void InitializeDerivedDataSet() {
  137.             this.BeginInit();
  138.             this.InitClass();
  139.             this.EndInit();
  140.         }
  141.         
  142.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  143.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  144.         public override global::System.Data.DataSet Clone() {
  145.             dsReport cln = ((dsReport)(base.Clone()));
  146.             cln.InitVars();
  147.             cln.SchemaSerializationMode = this.SchemaSerializationMode;
  148.             return cln;
  149.         }
  150.         
  151.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  152.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  153.         protected override bool ShouldSerializeTables() {
  154.             return false;
  155.         }
  156.         
  157.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  158.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  159.         protected override bool ShouldSerializeRelations() {
  160.             return false;
  161.         }
  162.         
  163.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  164.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  165.         protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  166.             if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  167.                 this.Reset();
  168.                 global::System.Data.DataSet ds = new global::System.Data.DataSet();
  169.                 ds.ReadXml(reader);
  170.                 if ((ds.Tables["c_stick_distribute"] != null)) {
  171.                     base.Tables.Add(new c_stick_distributeDataTable(ds.Tables["c_stick_distribute"]));
  172.                 }
  173.                 if ((ds.Tables["c_stick_web"] != null)) {
  174.                     base.Tables.Add(new c_stick_webDataTable(ds.Tables["c_stick_web"]));
  175.                 }
  176.                 this.DataSetName = ds.DataSetName;
  177.                 this.Prefix = ds.Prefix;
  178.                 this.Namespace = ds.Namespace;
  179.                 this.Locale = ds.Locale;
  180.                 this.CaseSensitive = ds.CaseSensitive;
  181.                 this.EnforceConstraints = ds.EnforceConstraints;
  182.                 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  183.                 this.InitVars();
  184.             }
  185.             else {
  186.                 this.ReadXml(reader);
  187.                 this.InitVars();
  188.             }
  189.         }
  190.         
  191.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  192.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  193.         protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  194.             global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  195.             this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  196.             stream.Position = 0;
  197.             return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  198.         }
  199.         
  200.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  201.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  202.         internal void InitVars() {
  203.             this.InitVars(true);
  204.         }
  205.         
  206.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  207.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  208.         internal void InitVars(bool initTable) {
  209.             this.tablec_stick_distribute = ((c_stick_distributeDataTable)(base.Tables["c_stick_distribute"]));
  210.             if ((initTable == true)) {
  211.                 if ((this.tablec_stick_distribute != null)) {
  212.                     this.tablec_stick_distribute.InitVars();
  213.                 }
  214.             }
  215.             this.tablec_stick_web = ((c_stick_webDataTable)(base.Tables["c_stick_web"]));
  216.             if ((initTable == true)) {
  217.                 if ((this.tablec_stick_web != null)) {
  218.                     this.tablec_stick_web.InitVars();
  219.                 }
  220.             }
  221.         }
  222.         
  223.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  224.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  225.         private void InitClass() {
  226.             this.DataSetName = "dsReport";
  227.             this.Prefix = "";
  228.             this.Namespace = "http://tempuri.org/dsReport.xsd";
  229.             this.EnforceConstraints = true;
  230.             this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  231.             this.tablec_stick_distribute = new c_stick_distributeDataTable();
  232.             base.Tables.Add(this.tablec_stick_distribute);
  233.             this.tablec_stick_web = new c_stick_webDataTable();
  234.             base.Tables.Add(this.tablec_stick_web);
  235.         }
  236.         
  237.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  238.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  239.         private bool ShouldSerializec_stick_distribute() {
  240.             return false;
  241.         }
  242.         
  243.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  244.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  245.         private bool ShouldSerializec_stick_web() {
  246.             return false;
  247.         }
  248.         
  249.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  250.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  251.         private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  252.             if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  253.                 this.InitVars();
  254.             }
  255.         }
  256.         
  257.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  258.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  259.         public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  260.             dsReport ds = new dsReport();
  261.             global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  262.             global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  263.             global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  264.             any.Namespace = ds.Namespace;
  265.             sequence.Items.Add(any);
  266.             type.Particle = sequence;
  267.             global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  268.             if (xs.Contains(dsSchema.TargetNamespace)) {
  269.                 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  270.                 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  271.                 try {
  272.                     global::System.Xml.Schema.XmlSchema schema = null;
  273.                     dsSchema.Write(s1);
  274.                     for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  275.                         schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  276.                         s2.SetLength(0);
  277.                         schema.Write(s2);
  278.                         if ((s1.Length == s2.Length)) {
  279.                             s1.Position = 0;
  280.                             s2.Position = 0;
  281.                             for (; ((s1.Position != s1.Length) 
  282.                                         && (s1.ReadByte() == s2.ReadByte())); ) {
  283.                                 ;
  284.                             }
  285.                             if ((s1.Position == s1.Length)) {
  286.                                 return type;
  287.                             }
  288.                         }
  289.                     }
  290.                 }
  291.                 finally {
  292.                     if ((s1 != null)) {
  293.                         s1.Close();
  294.                     }
  295.                     if ((s2 != null)) {
  296.                         s2.Close();
  297.                     }
  298.                 }
  299.             }
  300.             xs.Add(dsSchema);
  301.             return type;
  302.         }
  303.         
  304.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  305.         public delegate void c_stick_distributeRowChangeEventHandler(object sender, c_stick_distributeRowChangeEvent e);
  306.         
  307.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  308.         public delegate void c_stick_webRowChangeEventHandler(object sender, c_stick_webRowChangeEvent e);
  309.         
  310.         /// <summary>
  311.         ///Represents the strongly named DataTable class.
  312.         ///</summary>
  313.         [global::System.Serializable()]
  314.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  315.         public partial class c_stick_distributeDataTable : global::System.Data.TypedTableBase<c_stick_distributeRow> {
  316.             
  317.             private global::System.Data.DataColumn columne_distribute_no;
  318.             
  319.             private global::System.Data.DataColumn columne_pol_no_begin;
  320.             
  321.             private global::System.Data.DataColumn columne_pol_no_end;
  322.             
  323.             private global::System.Data.DataColumn columni_ag;
  324.             
  325.             private global::System.Data.DataColumn columni_ag_sub;
  326.             
  327.             private global::System.Data.DataColumn columni_distribute;
  328.             
  329.             private global::System.Data.DataColumn columnd_distribute;
  330.             
  331.             private global::System.Data.DataColumn columnn_pol_dist;
  332.             
  333.             private global::System.Data.DataColumn columns_type;
  334.             
  335.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  336.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  337.             public c_stick_distributeDataTable() {
  338.                 this.TableName = "c_stick_distribute";
  339.                 this.BeginInit();
  340.                 this.InitClass();
  341.                 this.EndInit();
  342.             }
  343.             
  344.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  345.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  346.             internal c_stick_distributeDataTable(global::System.Data.DataTable table) {
  347.                 this.TableName = table.TableName;
  348.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  349.                     this.CaseSensitive = table.CaseSensitive;
  350.                 }
  351.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  352.                     this.Locale = table.Locale;
  353.                 }
  354.                 if ((table.Namespace != table.DataSet.Namespace)) {
  355.                     this.Namespace = table.Namespace;
  356.                 }
  357.                 this.Prefix = table.Prefix;
  358.                 this.MinimumCapacity = table.MinimumCapacity;
  359.             }
  360.             
  361.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  362.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  363.             protected c_stick_distributeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  364.                     base(info, context) {
  365.                 this.InitVars();
  366.             }
  367.             
  368.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  369.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  370.             public global::System.Data.DataColumn e_distribute_noColumn {
  371.                 get {
  372.                     return this.columne_distribute_no;
  373.                 }
  374.             }
  375.             
  376.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  377.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  378.             public global::System.Data.DataColumn e_pol_no_beginColumn {
  379.                 get {
  380.                     return this.columne_pol_no_begin;
  381.                 }
  382.             }
  383.             
  384.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  385.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  386.             public global::System.Data.DataColumn e_pol_no_endColumn {
  387.                 get {
  388.                     return this.columne_pol_no_end;
  389.                 }
  390.             }
  391.             
  392.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  393.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  394.             public global::System.Data.DataColumn i_agColumn {
  395.                 get {
  396.                     return this.columni_ag;
  397.                 }
  398.             }
  399.             
  400.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  401.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  402.             public global::System.Data.DataColumn i_ag_subColumn {
  403.                 get {
  404.                     return this.columni_ag_sub;
  405.                 }
  406.             }
  407.             
  408.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  409.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  410.             public global::System.Data.DataColumn i_distributeColumn {
  411.                 get {
  412.                     return this.columni_distribute;
  413.                 }
  414.             }
  415.             
  416.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  417.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  418.             public global::System.Data.DataColumn d_distributeColumn {
  419.                 get {
  420.                     return this.columnd_distribute;
  421.                 }
  422.             }
  423.             
  424.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  425.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  426.             public global::System.Data.DataColumn n_pol_distColumn {
  427.                 get {
  428.                     return this.columnn_pol_dist;
  429.                 }
  430.             }
  431.             
  432.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  433.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  434.             public global::System.Data.DataColumn s_typeColumn {
  435.                 get {
  436.                     return this.columns_type;
  437.                 }
  438.             }
  439.             
  440.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  441.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  442.             [global::System.ComponentModel.Browsable(false)]
  443.             public int Count {
  444.                 get {
  445.                     return this.Rows.Count;
  446.                 }
  447.             }
  448.             
  449.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  450.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  451.             public c_stick_distributeRow this[int index] {
  452.                 get {
  453.                     return ((c_stick_distributeRow)(this.Rows[index]));
  454.                 }
  455.             }
  456.             
  457.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  458.             public event c_stick_distributeRowChangeEventHandler c_stick_distributeRowChanging;
  459.             
  460.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  461.             public event c_stick_distributeRowChangeEventHandler c_stick_distributeRowChanged;
  462.             
  463.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  464.             public event c_stick_distributeRowChangeEventHandler c_stick_distributeRowDeleting;
  465.             
  466.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  467.             public event c_stick_distributeRowChangeEventHandler c_stick_distributeRowDeleted;
  468.             
  469.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  470.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  471.             public void Addc_stick_distributeRow(c_stick_distributeRow row) {
  472.                 this.Rows.Add(row);
  473.             }
  474.             
  475.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  476.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  477.             public c_stick_distributeRow Addc_stick_distributeRow(string e_distribute_no, string e_pol_no_begin, string e_pol_no_end, string i_ag, string i_ag_sub, string i_distribute, System.DateTime d_distribute, int n_pol_dist, int s_type) {
  478.                 c_stick_distributeRow rowc_stick_distributeRow = ((c_stick_distributeRow)(this.NewRow()));
  479.                 object[] columnValuesArray = new object[] {
  480.                         e_distribute_no,
  481.                         e_pol_no_begin,
  482.                         e_pol_no_end,
  483.                         i_ag,
  484.                         i_ag_sub,
  485.                         i_distribute,
  486.                         d_distribute,
  487.                         n_pol_dist,
  488.                         s_type};
  489.                 rowc_stick_distributeRow.ItemArray = columnValuesArray;
  490.                 this.Rows.Add(rowc_stick_distributeRow);
  491.                 return rowc_stick_distributeRow;
  492.             }
  493.             
  494.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  495.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  496.             public c_stick_distributeRow FindBye_distribute_no(string e_distribute_no) {
  497.                 return ((c_stick_distributeRow)(this.Rows.Find(new object[] {
  498.                             e_distribute_no})));
  499.             }
  500.             
  501.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  502.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  503.             public override global::System.Data.DataTable Clone() {
  504.                 c_stick_distributeDataTable cln = ((c_stick_distributeDataTable)(base.Clone()));
  505.                 cln.InitVars();
  506.                 return cln;
  507.             }
  508.             
  509.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  510.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  511.             protected override global::System.Data.DataTable CreateInstance() {
  512.                 return new c_stick_distributeDataTable();
  513.             }
  514.             
  515.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  516.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  517.             internal void InitVars() {
  518.                 this.columne_distribute_no = base.Columns["e_distribute_no"];
  519.                 this.columne_pol_no_begin = base.Columns["e_pol_no_begin"];
  520.                 this.columne_pol_no_end = base.Columns["e_pol_no_end"];
  521.                 this.columni_ag = base.Columns["i_ag"];
  522.                 this.columni_ag_sub = base.Columns["i_ag_sub"];
  523.                 this.columni_distribute = base.Columns["i_distribute"];
  524.                 this.columnd_distribute = base.Columns["d_distribute"];
  525.                 this.columnn_pol_dist = base.Columns["n_pol_dist"];
  526.                 this.columns_type = base.Columns["s_type"];
  527.             }
  528.             
  529.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  530.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  531.             private void InitClass() {
  532.                 this.columne_distribute_no = new global::System.Data.DataColumn("e_distribute_no", typeof(string), null, global::System.Data.MappingType.Element);
  533.                 base.Columns.Add(this.columne_distribute_no);
  534.                 this.columne_pol_no_begin = new global::System.Data.DataColumn("e_pol_no_begin", typeof(string), null, global::System.Data.MappingType.Element);
  535.                 base.Columns.Add(this.columne_pol_no_begin);
  536.                 this.columne_pol_no_end = new global::System.Data.DataColumn("e_pol_no_end", typeof(string), null, global::System.Data.MappingType.Element);
  537.                 base.Columns.Add(this.columne_pol_no_end);
  538.                 this.columni_ag = new global::System.Data.DataColumn("i_ag", typeof(string), null, global::System.Data.MappingType.Element);
  539.                 base.Columns.Add(this.columni_ag);
  540.                 this.columni_ag_sub = new global::System.Data.DataColumn("i_ag_sub", typeof(string), null, global::System.Data.MappingType.Element);
  541.                 base.Columns.Add(this.columni_ag_sub);
  542.                 this.columni_distribute = new global::System.Data.DataColumn("i_distribute", typeof(string), null, global::System.Data.MappingType.Element);
  543.                 base.Columns.Add(this.columni_distribute);
  544.                 this.columnd_distribute = new global::System.Data.DataColumn("d_distribute", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  545.                 base.Columns.Add(this.columnd_distribute);
  546.                 this.columnn_pol_dist = new global::System.Data.DataColumn("n_pol_dist", typeof(int), null, global::System.Data.MappingType.Element);
  547.                 base.Columns.Add(this.columnn_pol_dist);
  548.                 this.columns_type = new global::System.Data.DataColumn("s_type", typeof(int), null, global::System.Data.MappingType.Element);
  549.                 base.Columns.Add(this.columns_type);
  550.                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  551.                                 this.columne_distribute_no}, true));
  552.                 this.columne_distribute_no.AllowDBNull = false;
  553.                 this.columne_distribute_no.Unique = true;
  554.                 this.columne_distribute_no.MaxLength = 11;
  555.                 this.columne_pol_no_begin.MaxLength = 13;
  556.                 this.columne_pol_no_end.MaxLength = 13;
  557.                 this.columni_ag.MaxLength = 10;
  558.                 this.columni_ag_sub.MaxLength = 10;
  559.                 this.columni_distribute.MaxLength = 10;
  560.             }
  561.             
  562.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  563.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  564.             public c_stick_distributeRow Newc_stick_distributeRow() {
  565.                 return ((c_stick_distributeRow)(this.NewRow()));
  566.             }
  567.             
  568.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  569.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  570.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  571.                 return new c_stick_distributeRow(builder);
  572.             }
  573.             
  574.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  575.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  576.             protected override global::System.Type GetRowType() {
  577.                 return typeof(c_stick_distributeRow);
  578.             }
  579.             
  580.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  581.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  582.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  583.                 base.OnRowChanged(e);
  584.                 if ((this.c_stick_distributeRowChanged != null)) {
  585.                     this.c_stick_distributeRowChanged(this, new c_stick_distributeRowChangeEvent(((c_stick_distributeRow)(e.Row)), e.Action));
  586.                 }
  587.             }
  588.             
  589.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  590.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  591.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  592.                 base.OnRowChanging(e);
  593.                 if ((this.c_stick_distributeRowChanging != null)) {
  594.                     this.c_stick_distributeRowChanging(this, new c_stick_distributeRowChangeEvent(((c_stick_distributeRow)(e.Row)), e.Action));
  595.                 }
  596.             }
  597.             
  598.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  599.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  600.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  601.                 base.OnRowDeleted(e);
  602.                 if ((this.c_stick_distributeRowDeleted != null)) {
  603.                     this.c_stick_distributeRowDeleted(this, new c_stick_distributeRowChangeEvent(((c_stick_distributeRow)(e.Row)), e.Action));
  604.                 }
  605.             }
  606.             
  607.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  608.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  609.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  610.                 base.OnRowDeleting(e);
  611.                 if ((this.c_stick_distributeRowDeleting != null)) {
  612.                     this.c_stick_distributeRowDeleting(this, new c_stick_distributeRowChangeEvent(((c_stick_distributeRow)(e.Row)), e.Action));
  613.                 }
  614.             }
  615.             
  616.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  617.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  618.             public void Removec_stick_distributeRow(c_stick_distributeRow row) {
  619.                 this.Rows.Remove(row);
  620.             }
  621.             
  622.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  623.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  624.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  625.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  626.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  627.                 dsReport ds = new dsReport();
  628.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  629.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  630.                 any1.MinOccurs = new decimal(0);
  631.                 any1.MaxOccurs = decimal.MaxValue;
  632.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  633.                 sequence.Items.Add(any1);
  634.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  635.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  636.                 any2.MinOccurs = new decimal(1);
  637.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  638.                 sequence.Items.Add(any2);
  639.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  640.                 attribute1.Name = "namespace";
  641.                 attribute1.FixedValue = ds.Namespace;
  642.                 type.Attributes.Add(attribute1);
  643.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  644.                 attribute2.Name = "tableTypeName";
  645.                 attribute2.FixedValue = "c_stick_distributeDataTable";
  646.                 type.Attributes.Add(attribute2);
  647.                 type.Particle = sequence;
  648.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  649.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  650.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  651.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  652.                     try {
  653.                         global::System.Xml.Schema.XmlSchema schema = null;
  654.                         dsSchema.Write(s1);
  655.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  656.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  657.                             s2.SetLength(0);
  658.                             schema.Write(s2);
  659.                             if ((s1.Length == s2.Length)) {
  660.                                 s1.Position = 0;
  661.                                 s2.Position = 0;
  662.                                 for (; ((s1.Position != s1.Length) 
  663.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  664.                                     ;
  665.                                 }
  666.                                 if ((s1.Position == s1.Length)) {
  667.                                     return type;
  668.                                 }
  669.                             }
  670.                         }
  671.                     }
  672.                     finally {
  673.                         if ((s1 != null)) {
  674.                             s1.Close();
  675.                         }
  676.                         if ((s2 != null)) {
  677.                             s2.Close();
  678.                         }
  679.                     }
  680.                 }
  681.                 xs.Add(dsSchema);
  682.                 return type;
  683.             }
  684.         }
  685.         
  686.         /// <summary>
  687.         ///Represents the strongly named DataTable class.
  688.         ///</summary>
  689.         [global::System.Serializable()]
  690.         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  691.         public partial class c_stick_webDataTable : global::System.Data.TypedTableBase<c_stick_webRow> {
  692.             
  693.             private global::System.Data.DataColumn columnc_year;
  694.             
  695.             private global::System.Data.DataColumn columns_type;
  696.             
  697.             private global::System.Data.DataColumn columne_pol_no;
  698.             
  699.             private global::System.Data.DataColumn columni_ag;
  700.             
  701.             private global::System.Data.DataColumn columne_barcode;
  702.             
  703.             private global::System.Data.DataColumn columne_bookno;
  704.             
  705.             private global::System.Data.DataColumn columne_receipt;
  706.             
  707.             private global::System.Data.DataColumn columnd_approve_withdraw;
  708.             
  709.             private global::System.Data.DataColumn columni_approve_withdraw;
  710.             
  711.             private global::System.Data.DataColumn columnf_status;
  712.             
  713.             private global::System.Data.DataColumn columnd_status;
  714.             
  715.             private global::System.Data.DataColumn columni_status;
  716.             
  717.             private global::System.Data.DataColumn columni_control;
  718.             
  719.             private global::System.Data.DataColumn columni_ag_sub;
  720.             
  721.             private global::System.Data.DataColumn columnf_transfer;
  722.             
  723.             private global::System.Data.DataColumn columnd_transfer;
  724.             
  725.             private global::System.Data.DataColumn columnd_upload_stick;
  726.             
  727.             private global::System.Data.DataColumn columni_agen_code;
  728.             
  729.             private global::System.Data.DataColumn columnc_agen_codename;
  730.             
  731.             private global::System.Data.DataColumn _columni_agen_code_;
  732.             
  733.             private global::System.Data.DataColumn columnf_receive_copy;
  734.             
  735.             private global::System.Data.DataColumn columni_receive_copy;
  736.             
  737.             private global::System.Data.DataColumn columnd_receive_copy;
  738.             
  739.             private global::System.Data.DataColumn columnf_sticker_type;
  740.             
  741.             private global::System.Data.DataColumn columnf_pol_ctl;
  742.             
  743.             private global::System.Data.DataColumn columne_order_no;
  744.             
  745.             private global::System.Data.DataColumn columne_distribute_no;
  746.             
  747.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  748.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  749.             public c_stick_webDataTable() {
  750.                 this.TableName = "c_stick_web";
  751.                 this.BeginInit();
  752.                 this.InitClass();
  753.                 this.EndInit();
  754.             }
  755.             
  756.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  757.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  758.             internal c_stick_webDataTable(global::System.Data.DataTable table) {
  759.                 this.TableName = table.TableName;
  760.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  761.                     this.CaseSensitive = table.CaseSensitive;
  762.                 }
  763.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  764.                     this.Locale = table.Locale;
  765.                 }
  766.                 if ((table.Namespace != table.DataSet.Namespace)) {
  767.                     this.Namespace = table.Namespace;
  768.                 }
  769.                 this.Prefix = table.Prefix;
  770.                 this.MinimumCapacity = table.MinimumCapacity;
  771.             }
  772.             
  773.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  774.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  775.             protected c_stick_webDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
  776.                     base(info, context) {
  777.                 this.InitVars();
  778.             }
  779.             
  780.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  781.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  782.             public global::System.Data.DataColumn c_yearColumn {
  783.                 get {
  784.                     return this.columnc_year;
  785.                 }
  786.             }
  787.             
  788.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  789.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  790.             public global::System.Data.DataColumn s_typeColumn {
  791.                 get {
  792.                     return this.columns_type;
  793.                 }
  794.             }
  795.             
  796.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  797.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  798.             public global::System.Data.DataColumn e_pol_noColumn {
  799.                 get {
  800.                     return this.columne_pol_no;
  801.                 }
  802.             }
  803.             
  804.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  805.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  806.             public global::System.Data.DataColumn i_agColumn {
  807.                 get {
  808.                     return this.columni_ag;
  809.                 }
  810.             }
  811.             
  812.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  813.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  814.             public global::System.Data.DataColumn e_barcodeColumn {
  815.                 get {
  816.                     return this.columne_barcode;
  817.                 }
  818.             }
  819.             
  820.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  821.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  822.             public global::System.Data.DataColumn e_booknoColumn {
  823.                 get {
  824.                     return this.columne_bookno;
  825.                 }
  826.             }
  827.             
  828.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  829.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  830.             public global::System.Data.DataColumn e_receiptColumn {
  831.                 get {
  832.                     return this.columne_receipt;
  833.                 }
  834.             }
  835.             
  836.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  837.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  838.             public global::System.Data.DataColumn d_approve_withdrawColumn {
  839.                 get {
  840.                     return this.columnd_approve_withdraw;
  841.                 }
  842.             }
  843.             
  844.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  845.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  846.             public global::System.Data.DataColumn i_approve_withdrawColumn {
  847.                 get {
  848.                     return this.columni_approve_withdraw;
  849.                 }
  850.             }
  851.             
  852.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  853.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  854.             public global::System.Data.DataColumn f_statusColumn {
  855.                 get {
  856.                     return this.columnf_status;
  857.                 }
  858.             }
  859.             
  860.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  861.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  862.             public global::System.Data.DataColumn d_statusColumn {
  863.                 get {
  864.                     return this.columnd_status;
  865.                 }
  866.             }
  867.             
  868.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  869.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  870.             public global::System.Data.DataColumn i_statusColumn {
  871.                 get {
  872.                     return this.columni_status;
  873.                 }
  874.             }
  875.             
  876.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  877.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  878.             public global::System.Data.DataColumn i_controlColumn {
  879.                 get {
  880.                     return this.columni_control;
  881.                 }
  882.             }
  883.             
  884.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  885.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  886.             public global::System.Data.DataColumn i_ag_subColumn {
  887.                 get {
  888.                     return this.columni_ag_sub;
  889.                 }
  890.             }
  891.             
  892.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  893.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  894.             public global::System.Data.DataColumn f_transferColumn {
  895.                 get {
  896.                     return this.columnf_transfer;
  897.                 }
  898.             }
  899.             
  900.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  901.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  902.             public global::System.Data.DataColumn d_transferColumn {
  903.                 get {
  904.                     return this.columnd_transfer;
  905.                 }
  906.             }
  907.             
  908.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  909.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  910.             public global::System.Data.DataColumn d_upload_stickColumn {
  911.                 get {
  912.                     return this.columnd_upload_stick;
  913.                 }
  914.             }
  915.             
  916.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  917.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  918.             public global::System.Data.DataColumn i_agen_codeColumn {
  919.                 get {
  920.                     return this.columni_agen_code;
  921.                 }
  922.             }
  923.             
  924.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  925.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  926.             public global::System.Data.DataColumn c_agen_codenameColumn {
  927.                 get {
  928.                     return this.columnc_agen_codename;
  929.                 }
  930.             }
  931.             
  932.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  933.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  934.             public global::System.Data.DataColumn _i_agen_code_Column {
  935.                 get {
  936.                     return this._columni_agen_code_;
  937.                 }
  938.             }
  939.             
  940.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  941.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  942.             public global::System.Data.DataColumn f_receive_copyColumn {
  943.                 get {
  944.                     return this.columnf_receive_copy;
  945.                 }
  946.             }
  947.             
  948.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  949.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  950.             public global::System.Data.DataColumn i_receive_copyColumn {
  951.                 get {
  952.                     return this.columni_receive_copy;
  953.                 }
  954.             }
  955.             
  956.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  957.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  958.             public global::System.Data.DataColumn d_receive_copyColumn {
  959.                 get {
  960.                     return this.columnd_receive_copy;
  961.                 }
  962.             }
  963.             
  964.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  965.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  966.             public global::System.Data.DataColumn f_sticker_typeColumn {
  967.                 get {
  968.                     return this.columnf_sticker_type;
  969.                 }
  970.             }
  971.             
  972.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  973.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  974.             public global::System.Data.DataColumn f_pol_ctlColumn {
  975.                 get {
  976.                     return this.columnf_pol_ctl;
  977.                 }
  978.             }
  979.             
  980.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  981.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  982.             public global::System.Data.DataColumn e_order_noColumn {
  983.                 get {
  984.                     return this.columne_order_no;
  985.                 }
  986.             }
  987.             
  988.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  989.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  990.             public global::System.Data.DataColumn e_distribute_noColumn {
  991.                 get {
  992.                     return this.columne_distribute_no;
  993.                 }
  994.             }
  995.             
  996.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  997.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  998.             [global::System.ComponentModel.Browsable(false)]
  999.             public int Count {
  1000.                 get {
  1001.                     return this.Rows.Count;
  1002.                 }
  1003.             }
  1004.             
  1005.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1006.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1007.             public c_stick_webRow this[int index] {
  1008.                 get {
  1009.                     return ((c_stick_webRow)(this.Rows[index]));
  1010.                 }
  1011.             }
  1012.             
  1013.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1014.             public event c_stick_webRowChangeEventHandler c_stick_webRowChanging;
  1015.             
  1016.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1017.             public event c_stick_webRowChangeEventHandler c_stick_webRowChanged;
  1018.             
  1019.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1020.             public event c_stick_webRowChangeEventHandler c_stick_webRowDeleting;
  1021.             
  1022.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1023.             public event c_stick_webRowChangeEventHandler c_stick_webRowDeleted;
  1024.             
  1025.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1026.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1027.             public void Addc_stick_webRow(c_stick_webRow row) {
  1028.                 this.Rows.Add(row);
  1029.             }
  1030.             
  1031.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1032.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1033.             public c_stick_webRow Addc_stick_webRow(
  1034.                         string c_year, 
  1035.                         string s_type, 
  1036.                         string e_pol_no, 
  1037.                         string i_ag, 
  1038.                         string e_barcode, 
  1039.                         string e_bookno, 
  1040.                         string e_receipt, 
  1041.                         System.DateTime d_approve_withdraw, 
  1042.                         string i_approve_withdraw, 
  1043.                         string f_status, 
  1044.                         System.DateTime d_status, 
  1045.                         string i_status, 
  1046.                         string i_control, 
  1047.                         string i_ag_sub, 
  1048.                         string f_transfer, 
  1049.                         System.DateTime d_transfer, 
  1050.                         System.DateTime d_upload_stick, 
  1051.                         string i_agen_code, 
  1052.                         string c_agen_codename, 
  1053.                         string _i_agen_code_, 
  1054.                         string f_receive_copy, 
  1055.                         string i_receive_copy, 
  1056.                         System.DateTime d_receive_copy, 
  1057.                         string f_sticker_type, 
  1058.                         string f_pol_ctl, 
  1059.                         string e_order_no, 
  1060.                         string e_distribute_no) {
  1061.                 c_stick_webRow rowc_stick_webRow = ((c_stick_webRow)(this.NewRow()));
  1062.                 object[] columnValuesArray = new object[] {
  1063.                         c_year,
  1064.                         s_type,
  1065.                         e_pol_no,
  1066.                         i_ag,
  1067.                         e_barcode,
  1068.                         e_bookno,
  1069.                         e_receipt,
  1070.                         d_approve_withdraw,
  1071.                         i_approve_withdraw,
  1072.                         f_status,
  1073.                         d_status,
  1074.                         i_status,
  1075.                         i_control,
  1076.                         i_ag_sub,
  1077.                         f_transfer,
  1078.                         d_transfer,
  1079.                         d_upload_stick,
  1080.                         i_agen_code,
  1081.                         c_agen_codename,
  1082.                         _i_agen_code_,
  1083.                         f_receive_copy,
  1084.                         i_receive_copy,
  1085.                         d_receive_copy,
  1086.                         f_sticker_type,
  1087.                         f_pol_ctl,
  1088.                         e_order_no,
  1089.                         e_distribute_no};
  1090.                 rowc_stick_webRow.ItemArray = columnValuesArray;
  1091.                 this.Rows.Add(rowc_stick_webRow);
  1092.                 return rowc_stick_webRow;
  1093.             }
  1094.             
  1095.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1096.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1097.             public c_stick_webRow FindByc_yeare_pol_noe_barcode(string c_year, string e_pol_no, string e_barcode) {
  1098.                 return ((c_stick_webRow)(this.Rows.Find(new object[] {
  1099.                             c_year,
  1100.                             e_pol_no,
  1101.                             e_barcode})));
  1102.             }
  1103.             
  1104.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1105.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1106.             public override global::System.Data.DataTable Clone() {
  1107.                 c_stick_webDataTable cln = ((c_stick_webDataTable)(base.Clone()));
  1108.                 cln.InitVars();
  1109.                 return cln;
  1110.             }
  1111.             
  1112.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1113.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1114.             protected override global::System.Data.DataTable CreateInstance() {
  1115.                 return new c_stick_webDataTable();
  1116.             }
  1117.             
  1118.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1119.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1120.             internal void InitVars() {
  1121.                 this.columnc_year = base.Columns["c_year"];
  1122.                 this.columns_type = base.Columns["s_type"];
  1123.                 this.columne_pol_no = base.Columns["e_pol_no"];
  1124.                 this.columni_ag = base.Columns["i_ag"];
  1125.                 this.columne_barcode = base.Columns["e_barcode"];
  1126.                 this.columne_bookno = base.Columns["e_bookno"];
  1127.                 this.columne_receipt = base.Columns["e_receipt"];
  1128.                 this.columnd_approve_withdraw = base.Columns["d_approve_withdraw"];
  1129.                 this.columni_approve_withdraw = base.Columns["i_approve_withdraw"];
  1130.                 this.columnf_status = base.Columns["f_status"];
  1131.                 this.columnd_status = base.Columns["d_status"];
  1132.                 this.columni_status = base.Columns["i_status"];
  1133.                 this.columni_control = base.Columns["i_control"];
  1134.                 this.columni_ag_sub = base.Columns["i_ag_sub"];
  1135.                 this.columnf_transfer = base.Columns["f_transfer"];
  1136.                 this.columnd_transfer = base.Columns["d_transfer"];
  1137.                 this.columnd_upload_stick = base.Columns["d_upload_stick"];
  1138.                 this.columni_agen_code = base.Columns["i_agen_code"];
  1139.                 this.columnc_agen_codename = base.Columns["c_agen_codename"];
  1140.                 this._columni_agen_code_ = base.Columns["i_agen_code#"];
  1141.                 this.columnf_receive_copy = base.Columns["f_receive_copy"];
  1142.                 this.columni_receive_copy = base.Columns["i_receive_copy"];
  1143.                 this.columnd_receive_copy = base.Columns["d_receive_copy"];
  1144.                 this.columnf_sticker_type = base.Columns["f_sticker_type"];
  1145.                 this.columnf_pol_ctl = base.Columns["f_pol_ctl"];
  1146.                 this.columne_order_no = base.Columns["e_order_no"];
  1147.                 this.columne_distribute_no = base.Columns["e_distribute_no"];
  1148.             }
  1149.             
  1150.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1151.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1152.             private void InitClass() {
  1153.                 this.columnc_year = new global::System.Data.DataColumn("c_year", typeof(string), null, global::System.Data.MappingType.Element);
  1154.                 base.Columns.Add(this.columnc_year);
  1155.                 this.columns_type = new global::System.Data.DataColumn("s_type", typeof(string), null, global::System.Data.MappingType.Element);
  1156.                 base.Columns.Add(this.columns_type);
  1157.                 this.columne_pol_no = new global::System.Data.DataColumn("e_pol_no", typeof(string), null, global::System.Data.MappingType.Element);
  1158.                 base.Columns.Add(this.columne_pol_no);
  1159.                 this.columni_ag = new global::System.Data.DataColumn("i_ag", typeof(string), null, global::System.Data.MappingType.Element);
  1160.                 base.Columns.Add(this.columni_ag);
  1161.                 this.columne_barcode = new global::System.Data.DataColumn("e_barcode", typeof(string), null, global::System.Data.MappingType.Element);
  1162.                 base.Columns.Add(this.columne_barcode);
  1163.                 this.columne_bookno = new global::System.Data.DataColumn("e_bookno", typeof(string), null, global::System.Data.MappingType.Element);
  1164.                 base.Columns.Add(this.columne_bookno);
  1165.                 this.columne_receipt = new global::System.Data.DataColumn("e_receipt", typeof(string), null, global::System.Data.MappingType.Element);
  1166.                 base.Columns.Add(this.columne_receipt);
  1167.                 this.columnd_approve_withdraw = new global::System.Data.DataColumn("d_approve_withdraw", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1168.                 base.Columns.Add(this.columnd_approve_withdraw);
  1169.                 this.columni_approve_withdraw = new global::System.Data.DataColumn("i_approve_withdraw", typeof(string), null, global::System.Data.MappingType.Element);
  1170.                 base.Columns.Add(this.columni_approve_withdraw);
  1171.                 this.columnf_status = new global::System.Data.DataColumn("f_status", typeof(string), null, global::System.Data.MappingType.Element);
  1172.                 base.Columns.Add(this.columnf_status);
  1173.                 this.columnd_status = new global::System.Data.DataColumn("d_status", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1174.                 base.Columns.Add(this.columnd_status);
  1175.                 this.columni_status = new global::System.Data.DataColumn("i_status", typeof(string), null, global::System.Data.MappingType.Element);
  1176.                 base.Columns.Add(this.columni_status);
  1177.                 this.columni_control = new global::System.Data.DataColumn("i_control", typeof(string), null, global::System.Data.MappingType.Element);
  1178.                 base.Columns.Add(this.columni_control);
  1179.                 this.columni_ag_sub = new global::System.Data.DataColumn("i_ag_sub", typeof(string), null, global::System.Data.MappingType.Element);
  1180.                 base.Columns.Add(this.columni_ag_sub);
  1181.                 this.columnf_transfer = new global::System.Data.DataColumn("f_transfer", typeof(string), null, global::System.Data.MappingType.Element);
  1182.                 base.Columns.Add(this.columnf_transfer);
  1183.                 this.columnd_transfer = new global::System.Data.DataColumn("d_transfer", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1184.                 base.Columns.Add(this.columnd_transfer);
  1185.                 this.columnd_upload_stick = new global::System.Data.DataColumn("d_upload_stick", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1186.                 base.Columns.Add(this.columnd_upload_stick);
  1187.                 this.columni_agen_code = new global::System.Data.DataColumn("i_agen_code", typeof(string), null, global::System.Data.MappingType.Element);
  1188.                 base.Columns.Add(this.columni_agen_code);
  1189.                 this.columnc_agen_codename = new global::System.Data.DataColumn("c_agen_codename", typeof(string), null, global::System.Data.MappingType.Element);
  1190.                 base.Columns.Add(this.columnc_agen_codename);
  1191.                 this._columni_agen_code_ = new global::System.Data.DataColumn("i_agen_code#", typeof(string), null, global::System.Data.MappingType.Element);
  1192.                 this._columni_agen_code_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columni_agen_code_");
  1193.                 this._columni_agen_code_.ExtendedProperties.Add("Generator_UserColumnName", "i_agen_code#");
  1194.                 base.Columns.Add(this._columni_agen_code_);
  1195.                 this.columnf_receive_copy = new global::System.Data.DataColumn("f_receive_copy", typeof(string), null, global::System.Data.MappingType.Element);
  1196.                 base.Columns.Add(this.columnf_receive_copy);
  1197.                 this.columni_receive_copy = new global::System.Data.DataColumn("i_receive_copy", typeof(string), null, global::System.Data.MappingType.Element);
  1198.                 base.Columns.Add(this.columni_receive_copy);
  1199.                 this.columnd_receive_copy = new global::System.Data.DataColumn("d_receive_copy", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1200.                 base.Columns.Add(this.columnd_receive_copy);
  1201.                 this.columnf_sticker_type = new global::System.Data.DataColumn("f_sticker_type", typeof(string), null, global::System.Data.MappingType.Element);
  1202.                 base.Columns.Add(this.columnf_sticker_type);
  1203.                 this.columnf_pol_ctl = new global::System.Data.DataColumn("f_pol_ctl", typeof(string), null, global::System.Data.MappingType.Element);
  1204.                 base.Columns.Add(this.columnf_pol_ctl);
  1205.                 this.columne_order_no = new global::System.Data.DataColumn("e_order_no", typeof(string), null, global::System.Data.MappingType.Element);
  1206.                 base.Columns.Add(this.columne_order_no);
  1207.                 this.columne_distribute_no = new global::System.Data.DataColumn("e_distribute_no", typeof(string), null, global::System.Data.MappingType.Element);
  1208.                 base.Columns.Add(this.columne_distribute_no);
  1209.                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1210.                                 this.columnc_year,
  1211.                                 this.columne_pol_no,
  1212.                                 this.columne_barcode}, true));
  1213.                 this.columnc_year.AllowDBNull = false;
  1214.                 this.columnc_year.MaxLength = 4;
  1215.                 this.columns_type.AllowDBNull = false;
  1216.                 this.columns_type.MaxLength = 1;
  1217.                 this.columne_pol_no.AllowDBNull = false;
  1218.                 this.columne_pol_no.MaxLength = 25;
  1219.                 this.columni_ag.AllowDBNull = false;
  1220.                 this.columni_ag.MaxLength = 15;
  1221.                 this.columne_barcode.AllowDBNull = false;
  1222.                 this.columne_barcode.MaxLength = 15;
  1223.                 this.columne_bookno.MaxLength = 15;
  1224.                 this.columne_receipt.MaxLength = 15;
  1225.                 this.columni_approve_withdraw.AllowDBNull = false;
  1226.                 this.columni_approve_withdraw.MaxLength = 15;
  1227.                 this.columnf_status.AllowDBNull = false;
  1228.                 this.columnf_status.MaxLength = 1;
  1229.                 this.columni_status.MaxLength = 15;
  1230.                 this.columni_control.MaxLength = 10;
  1231.                 this.columni_ag_sub.MaxLength = 15;
  1232.                 this.columnf_transfer.MaxLength = 3;
  1233.                 this.columni_agen_code.MaxLength = 2;
  1234.                 this.columnc_agen_codename.MaxLength = 30;
  1235.                 this._columni_agen_code_.MaxLength = 20;
  1236.                 this.columnf_receive_copy.MaxLength = 1;
  1237.                 this.columni_receive_copy.MaxLength = 15;
  1238.                 this.columnf_sticker_type.MaxLength = 1;
  1239.                 this.columnf_pol_ctl.MaxLength = 1;
  1240.                 this.columne_order_no.MaxLength = 15;
  1241.                 this.columne_distribute_no.MaxLength = 11;
  1242.             }
  1243.             
  1244.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1245.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1246.             public c_stick_webRow Newc_stick_webRow() {
  1247.                 return ((c_stick_webRow)(this.NewRow()));
  1248.             }
  1249.             
  1250.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1251.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1252.             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1253.                 return new c_stick_webRow(builder);
  1254.             }
  1255.             
  1256.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1257.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1258.             protected override global::System.Type GetRowType() {
  1259.                 return typeof(c_stick_webRow);
  1260.             }
  1261.             
  1262.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1263.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1264.             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1265.                 base.OnRowChanged(e);
  1266.                 if ((this.c_stick_webRowChanged != null)) {
  1267.                     this.c_stick_webRowChanged(this, new c_stick_webRowChangeEvent(((c_stick_webRow)(e.Row)), e.Action));
  1268.                 }
  1269.             }
  1270.             
  1271.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1272.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1273.             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1274.                 base.OnRowChanging(e);
  1275.                 if ((this.c_stick_webRowChanging != null)) {
  1276.                     this.c_stick_webRowChanging(this, new c_stick_webRowChangeEvent(((c_stick_webRow)(e.Row)), e.Action));
  1277.                 }
  1278.             }
  1279.             
  1280.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1281.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1282.             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1283.                 base.OnRowDeleted(e);
  1284.                 if ((this.c_stick_webRowDeleted != null)) {
  1285.                     this.c_stick_webRowDeleted(this, new c_stick_webRowChangeEvent(((c_stick_webRow)(e.Row)), e.Action));
  1286.                 }
  1287.             }
  1288.             
  1289.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1290.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1291.             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1292.                 base.OnRowDeleting(e);
  1293.                 if ((this.c_stick_webRowDeleting != null)) {
  1294.                     this.c_stick_webRowDeleting(this, new c_stick_webRowChangeEvent(((c_stick_webRow)(e.Row)), e.Action));
  1295.                 }
  1296.             }
  1297.             
  1298.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1299.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1300.             public void Removec_stick_webRow(c_stick_webRow row) {
  1301.                 this.Rows.Remove(row);
  1302.             }
  1303.             
  1304.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1305.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1306.             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1307.                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1308.                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1309.                 dsReport ds = new dsReport();
  1310.                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1311.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1312.                 any1.MinOccurs = new decimal(0);
  1313.                 any1.MaxOccurs = decimal.MaxValue;
  1314.                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1315.                 sequence.Items.Add(any1);
  1316.                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1317.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1318.                 any2.MinOccurs = new decimal(1);
  1319.                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1320.                 sequence.Items.Add(any2);
  1321.                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1322.                 attribute1.Name = "namespace";
  1323.                 attribute1.FixedValue = ds.Namespace;
  1324.                 type.Attributes.Add(attribute1);
  1325.                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1326.                 attribute2.Name = "tableTypeName";
  1327.                 attribute2.FixedValue = "c_stick_webDataTable";
  1328.                 type.Attributes.Add(attribute2);
  1329.                 type.Particle = sequence;
  1330.                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1331.                 if (xs.Contains(dsSchema.TargetNamespace)) {
  1332.                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1333.                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1334.                     try {
  1335.                         global::System.Xml.Schema.XmlSchema schema = null;
  1336.                         dsSchema.Write(s1);
  1337.                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1338.                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1339.                             s2.SetLength(0);
  1340.                             schema.Write(s2);
  1341.                             if ((s1.Length == s2.Length)) {
  1342.                                 s1.Position = 0;
  1343.                                 s2.Position = 0;
  1344.                                 for (; ((s1.Position != s1.Length) 
  1345.                                             && (s1.ReadByte() == s2.ReadByte())); ) {
  1346.                                     ;
  1347.                                 }
  1348.                                 if ((s1.Position == s1.Length)) {
  1349.                                     return type;
  1350.                                 }
  1351.                             }
  1352.                         }
  1353.                     }
  1354.                     finally {
  1355.                         if ((s1 != null)) {
  1356.                             s1.Close();
  1357.                         }
  1358.                         if ((s2 != null)) {
  1359.                             s2.Close();
  1360.                         }
  1361.                     }
  1362.                 }
  1363.                 xs.Add(dsSchema);
  1364.                 return type;
  1365.             }
  1366.         }
  1367.         
  1368.         /// <summary>
  1369.         ///Represents strongly named DataRow class.
  1370.         ///</summary>
  1371.         public partial class c_stick_distributeRow : global::System.Data.DataRow {
  1372.             
  1373.             private c_stick_distributeDataTable tablec_stick_distribute;
  1374.             
  1375.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1376.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1377.             internal c_stick_distributeRow(global::System.Data.DataRowBuilder rb) : 
  1378.                     base(rb) {
  1379.                 this.tablec_stick_distribute = ((c_stick_distributeDataTable)(this.Table));
  1380.             }
  1381.             
  1382.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1383.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1384.             public string e_distribute_no {
  1385.                 get {
  1386.                     return ((string)(this[this.tablec_stick_distribute.e_distribute_noColumn]));
  1387.                 }
  1388.                 set {
  1389.                     this[this.tablec_stick_distribute.e_distribute_noColumn] = value;
  1390.                 }
  1391.             }
  1392.             
  1393.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1394.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1395.             public string e_pol_no_begin {
  1396.                 get {
  1397.                     try {
  1398.                         return ((string)(this[this.tablec_stick_distribute.e_pol_no_beginColumn]));
  1399.                     }
  1400.                     catch (global::System.InvalidCastException e) {
  1401.                         throw new global::System.Data.StrongTypingException("The value for column \'e_pol_no_begin\' in table \'c_stick_distribute\' is DBNull.", e);
  1402.                     }
  1403.                 }
  1404.                 set {
  1405.                     this[this.tablec_stick_distribute.e_pol_no_beginColumn] = value;
  1406.                 }
  1407.             }
  1408.             
  1409.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1410.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1411.             public string e_pol_no_end {
  1412.                 get {
  1413.                     try {
  1414.                         return ((string)(this[this.tablec_stick_distribute.e_pol_no_endColumn]));
  1415.                     }
  1416.                     catch (global::System.InvalidCastException e) {
  1417.                         throw new global::System.Data.StrongTypingException("The value for column \'e_pol_no_end\' in table \'c_stick_distribute\' is DBNull.", e);
  1418.                     }
  1419.                 }
  1420.                 set {
  1421.                     this[this.tablec_stick_distribute.e_pol_no_endColumn] = value;
  1422.                 }
  1423.             }
  1424.             
  1425.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1426.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1427.             public string i_ag {
  1428.                 get {
  1429.                     try {
  1430.                         return ((string)(this[this.tablec_stick_distribute.i_agColumn]));
  1431.                     }
  1432.                     catch (global::System.InvalidCastException e) {
  1433.                         throw new global::System.Data.StrongTypingException("The value for column \'i_ag\' in table \'c_stick_distribute\' is DBNull.", e);
  1434.                     }
  1435.                 }
  1436.                 set {
  1437.                     this[this.tablec_stick_distribute.i_agColumn] = value;
  1438.                 }
  1439.             }
  1440.             
  1441.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1442.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1443.             public string i_ag_sub {
  1444.                 get {
  1445.                     try {
  1446.                         return ((string)(this[this.tablec_stick_distribute.i_ag_subColumn]));
  1447.                     }
  1448.                     catch (global::System.InvalidCastException e) {
  1449.                         throw new global::System.Data.StrongTypingException("The value for column \'i_ag_sub\' in table \'c_stick_distribute\' is DBNull.", e);
  1450.                     }
  1451.                 }
  1452.                 set {
  1453.                     this[this.tablec_stick_distribute.i_ag_subColumn] = value;
  1454.                 }
  1455.             }
  1456.             
  1457.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1458.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1459.             public string i_distribute {
  1460.                 get {
  1461.                     try {
  1462.                         return ((string)(this[this.tablec_stick_distribute.i_distributeColumn]));
  1463.                     }
  1464.                     catch (global::System.InvalidCastException e) {
  1465.                         throw new global::System.Data.StrongTypingException("The value for column \'i_distribute\' in table \'c_stick_distribute\' is DBNull.", e);
  1466.                     }
  1467.                 }
  1468.                 set {
  1469.                     this[this.tablec_stick_distribute.i_distributeColumn] = value;
  1470.                 }
  1471.             }
  1472.             
  1473.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1474.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1475.             public System.DateTime d_distribute {
  1476.                 get {
  1477.                     try {
  1478.                         return ((global::System.DateTime)(this[this.tablec_stick_distribute.d_distributeColumn]));
  1479.                     }
  1480.                     catch (global::System.InvalidCastException e) {
  1481.                         throw new global::System.Data.StrongTypingException("The value for column \'d_distribute\' in table \'c_stick_distribute\' is DBNull.", e);
  1482.                     }
  1483.                 }
  1484.                 set {
  1485.                     this[this.tablec_stick_distribute.d_distributeColumn] = value;
  1486.                 }
  1487.             }
  1488.             
  1489.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1490.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1491.             public int n_pol_dist {
  1492.                 get {
  1493.                     try {
  1494.                         return ((int)(this[this.tablec_stick_distribute.n_pol_distColumn]));
  1495.                     }
  1496.                     catch (global::System.InvalidCastException e) {
  1497.                         throw new global::System.Data.StrongTypingException("The value for column \'n_pol_dist\' in table \'c_stick_distribute\' is DBNull.", e);
  1498.                     }
  1499.                 }
  1500.                 set {
  1501.                     this[this.tablec_stick_distribute.n_pol_distColumn] = value;
  1502.                 }
  1503.             }
  1504.             
  1505.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1506.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1507.             public int s_type {
  1508.                 get {
  1509.                     try {
  1510.                         return ((int)(this[this.tablec_stick_distribute.s_typeColumn]));
  1511.                     }
  1512.                     catch (global::System.InvalidCastException e) {
  1513.                         throw new global::System.Data.StrongTypingException("The value for column \'s_type\' in table \'c_stick_distribute\' is DBNull.", e);
  1514.                     }
  1515.                 }
  1516.                 set {
  1517.                     this[this.tablec_stick_distribute.s_typeColumn] = value;
  1518.                 }
  1519.             }
  1520.             
  1521.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1522.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1523.             public bool Ise_pol_no_beginNull() {
  1524.                 return this.IsNull(this.tablec_stick_distribute.e_pol_no_beginColumn);
  1525.             }
  1526.             
  1527.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1528.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1529.             public void Sete_pol_no_beginNull() {
  1530.                 this[this.tablec_stick_distribute.e_pol_no_beginColumn] = global::System.Convert.DBNull;
  1531.             }
  1532.             
  1533.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1534.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1535.             public bool Ise_pol_no_endNull() {
  1536.                 return this.IsNull(this.tablec_stick_distribute.e_pol_no_endColumn);
  1537.             }
  1538.             
  1539.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1540.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1541.             public void Sete_pol_no_endNull() {
  1542.                 this[this.tablec_stick_distribute.e_pol_no_endColumn] = global::System.Convert.DBNull;
  1543.             }
  1544.             
  1545.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1546.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1547.             public bool Isi_agNull() {
  1548.                 return this.IsNull(this.tablec_stick_distribute.i_agColumn);
  1549.             }
  1550.             
  1551.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1552.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1553.             public void Seti_agNull() {
  1554.                 this[this.tablec_stick_distribute.i_agColumn] = global::System.Convert.DBNull;
  1555.             }
  1556.             
  1557.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1558.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1559.             public bool Isi_ag_subNull() {
  1560.                 return this.IsNull(this.tablec_stick_distribute.i_ag_subColumn);
  1561.             }
  1562.             
  1563.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1564.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1565.             public void Seti_ag_subNull() {
  1566.                 this[this.tablec_stick_distribute.i_ag_subColumn] = global::System.Convert.DBNull;
  1567.             }
  1568.             
  1569.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1570.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1571.             public bool Isi_distributeNull() {
  1572.                 return this.IsNull(this.tablec_stick_distribute.i_distributeColumn);
  1573.             }
  1574.             
  1575.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1576.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1577.             public void Seti_distributeNull() {
  1578.                 this[this.tablec_stick_distribute.i_distributeColumn] = global::System.Convert.DBNull;
  1579.             }
  1580.             
  1581.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1582.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1583.             public bool Isd_distributeNull() {
  1584.                 return this.IsNull(this.tablec_stick_distribute.d_distributeColumn);
  1585.             }
  1586.             
  1587.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1588.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1589.             public void Setd_distributeNull() {
  1590.                 this[this.tablec_stick_distribute.d_distributeColumn] = global::System.Convert.DBNull;
  1591.             }
  1592.             
  1593.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1594.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1595.             public bool Isn_pol_distNull() {
  1596.                 return this.IsNull(this.tablec_stick_distribute.n_pol_distColumn);
  1597.             }
  1598.             
  1599.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1600.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1601.             public void Setn_pol_distNull() {
  1602.                 this[this.tablec_stick_distribute.n_pol_distColumn] = global::System.Convert.DBNull;
  1603.             }
  1604.             
  1605.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1606.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1607.             public bool Iss_typeNull() {
  1608.                 return this.IsNull(this.tablec_stick_distribute.s_typeColumn);
  1609.             }
  1610.             
  1611.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1612.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1613.             public void Sets_typeNull() {
  1614.                 this[this.tablec_stick_distribute.s_typeColumn] = global::System.Convert.DBNull;
  1615.             }
  1616.         }
  1617.         
  1618.         /// <summary>
  1619.         ///Represents strongly named DataRow class.
  1620.         ///</summary>
  1621.         public partial class c_stick_webRow : global::System.Data.DataRow {
  1622.             
  1623.             private c_stick_webDataTable tablec_stick_web;
  1624.             
  1625.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1626.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1627.             internal c_stick_webRow(global::System.Data.DataRowBuilder rb) : 
  1628.                     base(rb) {
  1629.                 this.tablec_stick_web = ((c_stick_webDataTable)(this.Table));
  1630.             }
  1631.             
  1632.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1633.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1634.             public string c_year {
  1635.                 get {
  1636.                     return ((string)(this[this.tablec_stick_web.c_yearColumn]));
  1637.                 }
  1638.                 set {
  1639.                     this[this.tablec_stick_web.c_yearColumn] = value;
  1640.                 }
  1641.             }
  1642.             
  1643.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1644.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1645.             public string s_type {
  1646.                 get {
  1647.                     return ((string)(this[this.tablec_stick_web.s_typeColumn]));
  1648.                 }
  1649.                 set {
  1650.                     this[this.tablec_stick_web.s_typeColumn] = value;
  1651.                 }
  1652.             }
  1653.             
  1654.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1655.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1656.             public string e_pol_no {
  1657.                 get {
  1658.                     return ((string)(this[this.tablec_stick_web.e_pol_noColumn]));
  1659.                 }
  1660.                 set {
  1661.                     this[this.tablec_stick_web.e_pol_noColumn] = value;
  1662.                 }
  1663.             }
  1664.             
  1665.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1666.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1667.             public string i_ag {
  1668.                 get {
  1669.                     return ((string)(this[this.tablec_stick_web.i_agColumn]));
  1670.                 }
  1671.                 set {
  1672.                     this[this.tablec_stick_web.i_agColumn] = value;
  1673.                 }
  1674.             }
  1675.             
  1676.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1677.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1678.             public string e_barcode {
  1679.                 get {
  1680.                     return ((string)(this[this.tablec_stick_web.e_barcodeColumn]));
  1681.                 }
  1682.                 set {
  1683.                     this[this.tablec_stick_web.e_barcodeColumn] = value;
  1684.                 }
  1685.             }
  1686.             
  1687.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1688.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1689.             public string e_bookno {
  1690.                 get {
  1691.                     try {
  1692.                         return ((string)(this[this.tablec_stick_web.e_booknoColumn]));
  1693.                     }
  1694.                     catch (global::System.InvalidCastException e) {
  1695.                         throw new global::System.Data.StrongTypingException("The value for column \'e_bookno\' in table \'c_stick_web\' is DBNull.", e);
  1696.                     }
  1697.                 }
  1698.                 set {
  1699.                     this[this.tablec_stick_web.e_booknoColumn] = value;
  1700.                 }
  1701.             }
  1702.             
  1703.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1704.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1705.             public string e_receipt {
  1706.                 get {
  1707.                     try {
  1708.                         return ((string)(this[this.tablec_stick_web.e_receiptColumn]));
  1709.                     }
  1710.                     catch (global::System.InvalidCastException e) {
  1711.                         throw new global::System.Data.StrongTypingException("The value for column \'e_receipt\' in table \'c_stick_web\' is DBNull.", e);
  1712.                     }
  1713.                 }
  1714.                 set {
  1715.                     this[this.tablec_stick_web.e_receiptColumn] = value;
  1716.                 }
  1717.             }
  1718.             
  1719.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1720.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1721.             public System.DateTime d_approve_withdraw {
  1722.                 get {
  1723.                     try {
  1724.                         return ((global::System.DateTime)(this[this.tablec_stick_web.d_approve_withdrawColumn]));
  1725.                     }
  1726.                     catch (global::System.InvalidCastException e) {
  1727.                         throw new global::System.Data.StrongTypingException("The value for column \'d_approve_withdraw\' in table \'c_stick_web\' is DBNull.", e);
  1728.                     }
  1729.                 }
  1730.                 set {
  1731.                     this[this.tablec_stick_web.d_approve_withdrawColumn] = value;
  1732.                 }
  1733.             }
  1734.             
  1735.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1736.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1737.             public string i_approve_withdraw {
  1738.                 get {
  1739.                     return ((string)(this[this.tablec_stick_web.i_approve_withdrawColumn]));
  1740.                 }
  1741.                 set {
  1742.                     this[this.tablec_stick_web.i_approve_withdrawColumn] = value;
  1743.                 }
  1744.             }
  1745.             
  1746.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1747.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1748.             public string f_status {
  1749.                 get {
  1750.                     return ((string)(this[this.tablec_stick_web.f_statusColumn]));
  1751.                 }
  1752.                 set {
  1753.                     this[this.tablec_stick_web.f_statusColumn] = value;
  1754.                 }
  1755.             }
  1756.             
  1757.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1758.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1759.             public System.DateTime d_status {
  1760.                 get {
  1761.                     try {
  1762.                         return ((global::System.DateTime)(this[this.tablec_stick_web.d_statusColumn]));
  1763.                     }
  1764.                     catch (global::System.InvalidCastException e) {
  1765.                         throw new global::System.Data.StrongTypingException("The value for column \'d_status\' in table \'c_stick_web\' is DBNull.", e);
  1766.                     }
  1767.                 }
  1768.                 set {
  1769.                     this[this.tablec_stick_web.d_statusColumn] = value;
  1770.                 }
  1771.             }
  1772.             
  1773.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1774.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1775.             public string i_status {
  1776.                 get {
  1777.                     try {
  1778.                         return ((string)(this[this.tablec_stick_web.i_statusColumn]));
  1779.                     }
  1780.                     catch (global::System.InvalidCastException e) {
  1781.                         throw new global::System.Data.StrongTypingException("The value for column \'i_status\' in table \'c_stick_web\' is DBNull.", e);
  1782.                     }
  1783.                 }
  1784.                 set {
  1785.                     this[this.tablec_stick_web.i_statusColumn] = value;
  1786.                 }
  1787.             }
  1788.             
  1789.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1790.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1791.             public string i_control {
  1792.                 get {
  1793.                     try {
  1794.                         return ((string)(this[this.tablec_stick_web.i_controlColumn]));
  1795.                     }
  1796.                     catch (global::System.InvalidCastException e) {
  1797.                         throw new global::System.Data.StrongTypingException("The value for column \'i_control\' in table \'c_stick_web\' is DBNull.", e);
  1798.                     }
  1799.                 }
  1800.                 set {
  1801.                     this[this.tablec_stick_web.i_controlColumn] = value;
  1802.                 }
  1803.             }
  1804.             
  1805.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1806.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1807.             public string i_ag_sub {
  1808.                 get {
  1809.                     try {
  1810.                         return ((string)(this[this.tablec_stick_web.i_ag_subColumn]));
  1811.                     }
  1812.                     catch (global::System.InvalidCastException e) {
  1813.                         throw new global::System.Data.StrongTypingException("The value for column \'i_ag_sub\' in table \'c_stick_web\' is DBNull.", e);
  1814.                     }
  1815.                 }
  1816.                 set {
  1817.                     this[this.tablec_stick_web.i_ag_subColumn] = value;
  1818.                 }
  1819.             }
  1820.             
  1821.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1822.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1823.             public string f_transfer {
  1824.                 get {
  1825.                     try {
  1826.                         return ((string)(this[this.tablec_stick_web.f_transferColumn]));
  1827.                     }
  1828.                     catch (global::System.InvalidCastException e) {
  1829.                         throw new global::System.Data.StrongTypingException("The value for column \'f_transfer\' in table \'c_stick_web\' is DBNull.", e);
  1830.                     }
  1831.                 }
  1832.                 set {
  1833.                     this[this.tablec_stick_web.f_transferColumn] = value;
  1834.                 }
  1835.             }
  1836.             
  1837.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1838.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1839.             public System.DateTime d_transfer {
  1840.                 get {
  1841.                     try {
  1842.                         return ((global::System.DateTime)(this[this.tablec_stick_web.d_transferColumn]));
  1843.                     }
  1844.                     catch (global::System.InvalidCastException e) {
  1845.                         throw new global::System.Data.StrongTypingException("The value for column \'d_transfer\' in table \'c_stick_web\' is DBNull.", e);
  1846.                     }
  1847.                 }
  1848.                 set {
  1849.                     this[this.tablec_stick_web.d_transferColumn] = value;
  1850.                 }
  1851.             }
  1852.             
  1853.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1854.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1855.             public System.DateTime d_upload_stick {
  1856.                 get {
  1857.                     try {
  1858.                         return ((global::System.DateTime)(this[this.tablec_stick_web.d_upload_stickColumn]));
  1859.                     }
  1860.                     catch (global::System.InvalidCastException e) {
  1861.                         throw new global::System.Data.StrongTypingException("The value for column \'d_upload_stick\' in table \'c_stick_web\' is DBNull.", e);
  1862.                     }
  1863.                 }
  1864.                 set {
  1865.                     this[this.tablec_stick_web.d_upload_stickColumn] = value;
  1866.                 }
  1867.             }
  1868.             
  1869.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1870.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1871.             public string i_agen_code {
  1872.                 get {
  1873.                     try {
  1874.                         return ((string)(this[this.tablec_stick_web.i_agen_codeColumn]));
  1875.                     }
  1876.                     catch (global::System.InvalidCastException e) {
  1877.                         throw new global::System.Data.StrongTypingException("The value for column \'i_agen_code\' in table \'c_stick_web\' is DBNull.", e);
  1878.                     }
  1879.                 }
  1880.                 set {
  1881.                     this[this.tablec_stick_web.i_agen_codeColumn] = value;
  1882.                 }
  1883.             }
  1884.             
  1885.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1886.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1887.             public string c_agen_codename {
  1888.                 get {
  1889.                     try {
  1890.                         return ((string)(this[this.tablec_stick_web.c_agen_codenameColumn]));
  1891.                     }
  1892.                     catch (global::System.InvalidCastException e) {
  1893.                         throw new global::System.Data.StrongTypingException("The value for column \'c_agen_codename\' in table \'c_stick_web\' is DBNull.", e);
  1894.                     }
  1895.                 }
  1896.                 set {
  1897.                     this[this.tablec_stick_web.c_agen_codenameColumn] = value;
  1898.                 }
  1899.             }
  1900.             
  1901.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1902.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1903.             public string _i_agen_code_ {
  1904.                 get {
  1905.                     try {
  1906.                         return ((string)(this[this.tablec_stick_web._i_agen_code_Column]));
  1907.                     }
  1908.                     catch (global::System.InvalidCastException e) {
  1909.                         throw new global::System.Data.StrongTypingException("The value for column \'i_agen_code#\' in table \'c_stick_web\' is DBNull.", e);
  1910.                     }
  1911.                 }
  1912.                 set {
  1913.                     this[this.tablec_stick_web._i_agen_code_Column] = value;
  1914.                 }
  1915.             }
  1916.             
  1917.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1918.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1919.             public string f_receive_copy {
  1920.                 get {
  1921.                     try {
  1922.                         return ((string)(this[this.tablec_stick_web.f_receive_copyColumn]));
  1923.                     }
  1924.                     catch (global::System.InvalidCastException e) {
  1925.                         throw new global::System.Data.StrongTypingException("The value for column \'f_receive_copy\' in table \'c_stick_web\' is DBNull.", e);
  1926.                     }
  1927.                 }
  1928.                 set {
  1929.                     this[this.tablec_stick_web.f_receive_copyColumn] = value;
  1930.                 }
  1931.             }
  1932.             
  1933.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1934.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1935.             public string i_receive_copy {
  1936.                 get {
  1937.                     try {
  1938.                         return ((string)(this[this.tablec_stick_web.i_receive_copyColumn]));
  1939.                     }
  1940.                     catch (global::System.InvalidCastException e) {
  1941.                         throw new global::System.Data.StrongTypingException("The value for column \'i_receive_copy\' in table \'c_stick_web\' is DBNull.", e);
  1942.                     }
  1943.                 }
  1944.                 set {
  1945.                     this[this.tablec_stick_web.i_receive_copyColumn] = value;
  1946.                 }
  1947.             }
  1948.             
  1949.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1950.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1951.             public System.DateTime d_receive_copy {
  1952.                 get {
  1953.                     try {
  1954.                         return ((global::System.DateTime)(this[this.tablec_stick_web.d_receive_copyColumn]));
  1955.                     }
  1956.                     catch (global::System.InvalidCastException e) {
  1957.                         throw new global::System.Data.StrongTypingException("The value for column \'d_receive_copy\' in table \'c_stick_web\' is DBNull.", e);
  1958.                     }
  1959.                 }
  1960.                 set {
  1961.                     this[this.tablec_stick_web.d_receive_copyColumn] = value;
  1962.                 }
  1963.             }
  1964.             
  1965.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1966.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1967.             public string f_sticker_type {
  1968.                 get {
  1969.                     try {
  1970.                         return ((string)(this[this.tablec_stick_web.f_sticker_typeColumn]));
  1971.                     }
  1972.                     catch (global::System.InvalidCastException e) {
  1973.                         throw new global::System.Data.StrongTypingException("The value for column \'f_sticker_type\' in table \'c_stick_web\' is DBNull.", e);
  1974.                     }
  1975.                 }
  1976.                 set {
  1977.                     this[this.tablec_stick_web.f_sticker_typeColumn] = value;
  1978.                 }
  1979.             }
  1980.             
  1981.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1982.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1983.             public string f_pol_ctl {
  1984.                 get {
  1985.                     try {
  1986.                         return ((string)(this[this.tablec_stick_web.f_pol_ctlColumn]));
  1987.                     }
  1988.                     catch (global::System.InvalidCastException e) {
  1989.                         throw new global::System.Data.StrongTypingException("The value for column \'f_pol_ctl\' in table \'c_stick_web\' is DBNull.", e);
  1990.                     }
  1991.                 }
  1992.                 set {
  1993.                     this[this.tablec_stick_web.f_pol_ctlColumn] = value;
  1994.                 }
  1995.             }
  1996.             
  1997.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1998.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  1999.             public string e_order_no {
  2000.                 get {
  2001.                     try {
  2002.                         return ((string)(this[this.tablec_stick_web.e_order_noColumn]));
  2003.                     }
  2004.                     catch (global::System.InvalidCastException e) {
  2005.                         throw new global::System.Data.StrongTypingException("The value for column \'e_order_no\' in table \'c_stick_web\' is DBNull.", e);
  2006.                     }
  2007.                 }
  2008.                 set {
  2009.                     this[this.tablec_stick_web.e_order_noColumn] = value;
  2010.                 }
  2011.             }
  2012.             
  2013.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2014.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2015.             public string e_distribute_no {
  2016.                 get {
  2017.                     try {
  2018.                         return ((string)(this[this.tablec_stick_web.e_distribute_noColumn]));
  2019.                     }
  2020.                     catch (global::System.InvalidCastException e) {
  2021.                         throw new global::System.Data.StrongTypingException("The value for column \'e_distribute_no\' in table \'c_stick_web\' is DBNull.", e);
  2022.                     }
  2023.                 }
  2024.                 set {
  2025.                     this[this.tablec_stick_web.e_distribute_noColumn] = value;
  2026.                 }
  2027.             }
  2028.             
  2029.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2030.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2031.             public bool Ise_booknoNull() {
  2032.                 return this.IsNull(this.tablec_stick_web.e_booknoColumn);
  2033.             }
  2034.             
  2035.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2036.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2037.             public void Sete_booknoNull() {
  2038.                 this[this.tablec_stick_web.e_booknoColumn] = global::System.Convert.DBNull;
  2039.             }
  2040.             
  2041.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2042.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2043.             public bool Ise_receiptNull() {
  2044.                 return this.IsNull(this.tablec_stick_web.e_receiptColumn);
  2045.             }
  2046.             
  2047.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2048.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2049.             public void Sete_receiptNull() {
  2050.                 this[this.tablec_stick_web.e_receiptColumn] = global::System.Convert.DBNull;
  2051.             }
  2052.             
  2053.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2054.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2055.             public bool Isd_approve_withdrawNull() {
  2056.                 return this.IsNull(this.tablec_stick_web.d_approve_withdrawColumn);
  2057.             }
  2058.             
  2059.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2060.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2061.             public void Setd_approve_withdrawNull() {
  2062.                 this[this.tablec_stick_web.d_approve_withdrawColumn] = global::System.Convert.DBNull;
  2063.             }
  2064.             
  2065.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2066.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2067.             public bool Isd_statusNull() {
  2068.                 return this.IsNull(this.tablec_stick_web.d_statusColumn);
  2069.             }
  2070.             
  2071.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2072.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2073.             public void Setd_statusNull() {
  2074.                 this[this.tablec_stick_web.d_statusColumn] = global::System.Convert.DBNull;
  2075.             }
  2076.             
  2077.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2078.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2079.             public bool Isi_statusNull() {
  2080.                 return this.IsNull(this.tablec_stick_web.i_statusColumn);
  2081.             }
  2082.             
  2083.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2084.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2085.             public void Seti_statusNull() {
  2086.                 this[this.tablec_stick_web.i_statusColumn] = global::System.Convert.DBNull;
  2087.             }
  2088.             
  2089.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2090.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2091.             public bool Isi_controlNull() {
  2092.                 return this.IsNull(this.tablec_stick_web.i_controlColumn);
  2093.             }
  2094.             
  2095.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2096.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2097.             public void Seti_controlNull() {
  2098.                 this[this.tablec_stick_web.i_controlColumn] = global::System.Convert.DBNull;
  2099.             }
  2100.             
  2101.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2102.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2103.             public bool Isi_ag_subNull() {
  2104.                 return this.IsNull(this.tablec_stick_web.i_ag_subColumn);
  2105.             }
  2106.             
  2107.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2108.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2109.             public void Seti_ag_subNull() {
  2110.                 this[this.tablec_stick_web.i_ag_subColumn] = global::System.Convert.DBNull;
  2111.             }
  2112.             
  2113.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2114.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2115.             public bool Isf_transferNull() {
  2116.                 return this.IsNull(this.tablec_stick_web.f_transferColumn);
  2117.             }
  2118.             
  2119.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2120.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2121.             public void Setf_transferNull() {
  2122.                 this[this.tablec_stick_web.f_transferColumn] = global::System.Convert.DBNull;
  2123.             }
  2124.             
  2125.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2126.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2127.             public bool Isd_transferNull() {
  2128.                 return this.IsNull(this.tablec_stick_web.d_transferColumn);
  2129.             }
  2130.             
  2131.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2132.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2133.             public void Setd_transferNull() {
  2134.                 this[this.tablec_stick_web.d_transferColumn] = global::System.Convert.DBNull;
  2135.             }
  2136.             
  2137.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2138.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2139.             public bool Isd_upload_stickNull() {
  2140.                 return this.IsNull(this.tablec_stick_web.d_upload_stickColumn);
  2141.             }
  2142.             
  2143.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2144.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2145.             public void Setd_upload_stickNull() {
  2146.                 this[this.tablec_stick_web.d_upload_stickColumn] = global::System.Convert.DBNull;
  2147.             }
  2148.             
  2149.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2150.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2151.             public bool Isi_agen_codeNull() {
  2152.                 return this.IsNull(this.tablec_stick_web.i_agen_codeColumn);
  2153.             }
  2154.             
  2155.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2156.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2157.             public void Seti_agen_codeNull() {
  2158.                 this[this.tablec_stick_web.i_agen_codeColumn] = global::System.Convert.DBNull;
  2159.             }
  2160.             
  2161.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2162.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2163.             public bool Isc_agen_codenameNull() {
  2164.                 return this.IsNull(this.tablec_stick_web.c_agen_codenameColumn);
  2165.             }
  2166.             
  2167.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2168.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2169.             public void Setc_agen_codenameNull() {
  2170.                 this[this.tablec_stick_web.c_agen_codenameColumn] = global::System.Convert.DBNull;
  2171.             }
  2172.             
  2173.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2174.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2175.             public bool Is_i_agen_code_Null() {
  2176.                 return this.IsNull(this.tablec_stick_web._i_agen_code_Column);
  2177.             }
  2178.             
  2179.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2180.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2181.             public void Set_i_agen_code_Null() {
  2182.                 this[this.tablec_stick_web._i_agen_code_Column] = global::System.Convert.DBNull;
  2183.             }
  2184.             
  2185.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2186.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2187.             public bool Isf_receive_copyNull() {
  2188.                 return this.IsNull(this.tablec_stick_web.f_receive_copyColumn);
  2189.             }
  2190.             
  2191.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2192.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2193.             public void Setf_receive_copyNull() {
  2194.                 this[this.tablec_stick_web.f_receive_copyColumn] = global::System.Convert.DBNull;
  2195.             }
  2196.             
  2197.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2198.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2199.             public bool Isi_receive_copyNull() {
  2200.                 return this.IsNull(this.tablec_stick_web.i_receive_copyColumn);
  2201.             }
  2202.             
  2203.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2204.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2205.             public void Seti_receive_copyNull() {
  2206.                 this[this.tablec_stick_web.i_receive_copyColumn] = global::System.Convert.DBNull;
  2207.             }
  2208.             
  2209.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2210.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2211.             public bool Isd_receive_copyNull() {
  2212.                 return this.IsNull(this.tablec_stick_web.d_receive_copyColumn);
  2213.             }
  2214.             
  2215.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2216.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2217.             public void Setd_receive_copyNull() {
  2218.                 this[this.tablec_stick_web.d_receive_copyColumn] = global::System.Convert.DBNull;
  2219.             }
  2220.             
  2221.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2222.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2223.             public bool Isf_sticker_typeNull() {
  2224.                 return this.IsNull(this.tablec_stick_web.f_sticker_typeColumn);
  2225.             }
  2226.             
  2227.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2228.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2229.             public void Setf_sticker_typeNull() {
  2230.                 this[this.tablec_stick_web.f_sticker_typeColumn] = global::System.Convert.DBNull;
  2231.             }
  2232.             
  2233.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2234.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2235.             public bool Isf_pol_ctlNull() {
  2236.                 return this.IsNull(this.tablec_stick_web.f_pol_ctlColumn);
  2237.             }
  2238.             
  2239.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2240.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2241.             public void Setf_pol_ctlNull() {
  2242.                 this[this.tablec_stick_web.f_pol_ctlColumn] = global::System.Convert.DBNull;
  2243.             }
  2244.             
  2245.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2246.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2247.             public bool Ise_order_noNull() {
  2248.                 return this.IsNull(this.tablec_stick_web.e_order_noColumn);
  2249.             }
  2250.             
  2251.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2252.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2253.             public void Sete_order_noNull() {
  2254.                 this[this.tablec_stick_web.e_order_noColumn] = global::System.Convert.DBNull;
  2255.             }
  2256.             
  2257.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2258.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2259.             public bool Ise_distribute_noNull() {
  2260.                 return this.IsNull(this.tablec_stick_web.e_distribute_noColumn);
  2261.             }
  2262.             
  2263.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2264.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2265.             public void Sete_distribute_noNull() {
  2266.                 this[this.tablec_stick_web.e_distribute_noColumn] = global::System.Convert.DBNull;
  2267.             }
  2268.         }
  2269.         
  2270.         /// <summary>
  2271.         ///Row event argument class
  2272.         ///</summary>
  2273.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2274.         public class c_stick_distributeRowChangeEvent : global::System.EventArgs {
  2275.             
  2276.             private c_stick_distributeRow eventRow;
  2277.             
  2278.             private global::System.Data.DataRowAction eventAction;
  2279.             
  2280.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2281.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2282.             public c_stick_distributeRowChangeEvent(c_stick_distributeRow row, global::System.Data.DataRowAction action) {
  2283.                 this.eventRow = row;
  2284.                 this.eventAction = action;
  2285.             }
  2286.             
  2287.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2288.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2289.             public c_stick_distributeRow Row {
  2290.                 get {
  2291.                     return this.eventRow;
  2292.                 }
  2293.             }
  2294.             
  2295.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2296.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2297.             public global::System.Data.DataRowAction Action {
  2298.                 get {
  2299.                     return this.eventAction;
  2300.                 }
  2301.             }
  2302.         }
  2303.         
  2304.         /// <summary>
  2305.         ///Row event argument class
  2306.         ///</summary>
  2307.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2308.         public class c_stick_webRowChangeEvent : global::System.EventArgs {
  2309.             
  2310.             private c_stick_webRow eventRow;
  2311.             
  2312.             private global::System.Data.DataRowAction eventAction;
  2313.             
  2314.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2315.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2316.             public c_stick_webRowChangeEvent(c_stick_webRow row, global::System.Data.DataRowAction action) {
  2317.                 this.eventRow = row;
  2318.                 this.eventAction = action;
  2319.             }
  2320.             
  2321.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2322.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2323.             public c_stick_webRow Row {
  2324.                 get {
  2325.                     return this.eventRow;
  2326.                 }
  2327.             }
  2328.             
  2329.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2330.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2331.             public global::System.Data.DataRowAction Action {
  2332.                 get {
  2333.                     return this.eventAction;
  2334.                 }
  2335.             }
  2336.         }
  2337.     }
  2338. }
  2339. namespace Compulsory.Reports.DataSets.dsReportTableAdapters {
  2340.     
  2341.     
  2342.     /// <summary>
  2343.     ///Represents the connection and commands used to retrieve and save data.
  2344.     ///</summary>
  2345.     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  2346.     [global::System.ComponentModel.ToolboxItem(true)]
  2347.     [global::System.ComponentModel.DataObjectAttribute(true)]
  2348.     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  2349.         ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  2350.     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2351.     public partial class c_stick_distributeTableAdapter : global::System.ComponentModel.Component {
  2352.         
  2353.         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  2354.         
  2355.         private global::System.Data.SqlClient.SqlConnection _connection;
  2356.         
  2357.         private global::System.Data.SqlClient.SqlTransaction _transaction;
  2358.         
  2359.         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  2360.         
  2361.         private bool _clearBeforeFill;
  2362.         
  2363.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2364.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2365.         public c_stick_distributeTableAdapter() {
  2366.             this.ClearBeforeFill = true;
  2367.         }
  2368.         
  2369.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2370.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2371.         protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  2372.             get {
  2373.                 if ((this._adapter == null)) {
  2374.                     this.InitAdapter();
  2375.                 }
  2376.                 return this._adapter;
  2377.             }
  2378.         }
  2379.         
  2380.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2381.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2382.         internal global::System.Data.SqlClient.SqlConnection Connection {
  2383.             get {
  2384.                 if ((this._connection == null)) {
  2385.                     this.InitConnection();
  2386.                 }
  2387.                 return this._connection;
  2388.             }
  2389.             set {
  2390.                 this._connection = value;
  2391.                 if ((this.Adapter.InsertCommand != null)) {
  2392.                     this.Adapter.InsertCommand.Connection = value;
  2393.                 }
  2394.                 if ((this.Adapter.DeleteCommand != null)) {
  2395.                     this.Adapter.DeleteCommand.Connection = value;
  2396.                 }
  2397.                 if ((this.Adapter.UpdateCommand != null)) {
  2398.                     this.Adapter.UpdateCommand.Connection = value;
  2399.                 }
  2400.                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2401.                     if ((this.CommandCollection[i] != null)) {
  2402.                         ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  2403.                     }
  2404.                 }
  2405.             }
  2406.         }
  2407.         
  2408.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2409.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2410.         internal global::System.Data.SqlClient.SqlTransaction Transaction {
  2411.             get {
  2412.                 return this._transaction;
  2413.             }
  2414.             set {
  2415.                 this._transaction = value;
  2416.                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2417.                     this.CommandCollection[i].Transaction = this._transaction;
  2418.                 }
  2419.                 if (((this.Adapter != null) 
  2420.                             && (this.Adapter.DeleteCommand != null))) {
  2421.                     this.Adapter.DeleteCommand.Transaction = this._transaction;
  2422.                 }
  2423.                 if (((this.Adapter != null) 
  2424.                             && (this.Adapter.InsertCommand != null))) {
  2425.                     this.Adapter.InsertCommand.Transaction = this._transaction;
  2426.                 }
  2427.                 if (((this.Adapter != null) 
  2428.                             && (this.Adapter.UpdateCommand != null))) {
  2429.                     this.Adapter.UpdateCommand.Transaction = this._transaction;
  2430.                 }
  2431.             }
  2432.         }
  2433.         
  2434.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2435.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2436.         protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  2437.             get {
  2438.                 if ((this._commandCollection == null)) {
  2439.                     this.InitCommandCollection();
  2440.                 }
  2441.                 return this._commandCollection;
  2442.             }
  2443.         }
  2444.         
  2445.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2446.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2447.         public bool ClearBeforeFill {
  2448.             get {
  2449.                 return this._clearBeforeFill;
  2450.             }
  2451.             set {
  2452.                 this._clearBeforeFill = value;
  2453.             }
  2454.         }
  2455.         
  2456.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2457.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2458.         private void InitAdapter() {
  2459.             this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  2460.             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  2461.             tableMapping.SourceTable = "Table";
  2462.             tableMapping.DataSetTable = "c_stick_distribute";
  2463.             tableMapping.ColumnMappings.Add("e_distribute_no", "e_distribute_no");
  2464.             tableMapping.ColumnMappings.Add("e_pol_no_begin", "e_pol_no_begin");
  2465.             tableMapping.ColumnMappings.Add("e_pol_no_end", "e_pol_no_end");
  2466.             tableMapping.ColumnMappings.Add("i_ag", "i_ag");
  2467.             tableMapping.ColumnMappings.Add("i_ag_sub", "i_ag_sub");
  2468.             tableMapping.ColumnMappings.Add("i_distribute", "i_distribute");
  2469.             tableMapping.ColumnMappings.Add("d_distribute", "d_distribute");
  2470.             tableMapping.ColumnMappings.Add("n_pol_dist", "n_pol_dist");
  2471.             tableMapping.ColumnMappings.Add("s_type", "s_type");
  2472.             this._adapter.TableMappings.Add(tableMapping);
  2473.             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  2474.             this._adapter.DeleteCommand.Connection = this.Connection;
  2475.             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [c_stick_distribute] WHERE (([e_distribute_no] = @Original_e_distribute_no) AND ((@IsNull_e_pol_no_begin = 1 AND [e_pol_no_begin] IS NULL) OR ([e_pol_no_begin] = @Original_e_pol_no_begin)) AND ((@IsNull_e_pol_no_end = 1 AND [e_pol_no_end] IS NULL) OR ([e_pol_no_end] = @Original_e_pol_no_end)) AND ((@IsNull_i_ag = 1 AND [i_ag] IS NULL) OR ([i_ag] = @Original_i_ag)) AND ((@IsNull_i_ag_sub = 1 AND [i_ag_sub] IS NULL) OR ([i_ag_sub] = @Original_i_ag_sub)) AND ((@IsNull_i_distribute = 1 AND [i_distribute] IS NULL) OR ([i_distribute] = @Original_i_distribute)) AND ((@IsNull_d_distribute = 1 AND [d_distribute] IS NULL) OR ([d_distribute] = @Original_d_distribute)) AND ((@IsNull_n_pol_dist = 1 AND [n_pol_dist] IS NULL) OR ([n_pol_dist] = @Original_n_pol_dist)) AND ((@IsNull_s_type = 1 AND [s_type] IS NULL) OR ([s_type] = @Original_s_type)))";
  2476.             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  2477.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_distribute_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2478.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_pol_no_begin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_begin", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2479.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_pol_no_begin", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_begin", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2480.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_pol_no_end", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_end", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2481.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_pol_no_end", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_end", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2482.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_ag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2483.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_ag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2484.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_ag_sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2485.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_ag_sub", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2486.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_distribute", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_distribute", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2487.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_distribute", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_distribute", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2488.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_distribute", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_distribute", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2489.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_distribute", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_distribute", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2490.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_n_pol_dist", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "n_pol_dist", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2491.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_n_pol_dist", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "n_pol_dist", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2492.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_s_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2493.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_s_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2494.             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  2495.             this._adapter.InsertCommand.Connection = this.Connection;
  2496.             this._adapter.InsertCommand.CommandText = @"INSERT INTO [c_stick_distribute] ([e_distribute_no], [e_pol_no_begin], [e_pol_no_end], [i_ag], [i_ag_sub], [i_distribute], [d_distribute], [n_pol_dist], [s_type]) VALUES (@e_distribute_no, @e_pol_no_begin, @e_pol_no_end, @i_ag, @i_ag_sub, @i_distribute, @d_distribute, @n_pol_dist, @s_type);
  2497. SELECT e_distribute_no, e_pol_no_begin, e_pol_no_end, i_ag, i_ag_sub, i_distribute, d_distribute, n_pol_dist, s_type FROM c_stick_distribute WHERE (e_distribute_no = @e_distribute_no)";
  2498.             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  2499.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_distribute_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2500.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_pol_no_begin", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_begin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2501.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_pol_no_end", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_end", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2502.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_ag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2503.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_ag_sub", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2504.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_distribute", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_distribute", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2505.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_distribute", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_distribute", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2506.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@n_pol_dist", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "n_pol_dist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2507.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@s_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2508.             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  2509.             this._adapter.UpdateCommand.Connection = this.Connection;
  2510.             this._adapter.UpdateCommand.CommandText = @"UPDATE [c_stick_distribute] SET [e_distribute_no] = @e_distribute_no, [e_pol_no_begin] = @e_pol_no_begin, [e_pol_no_end] = @e_pol_no_end, [i_ag] = @i_ag, [i_ag_sub] = @i_ag_sub, [i_distribute] = @i_distribute, [d_distribute] = @d_distribute, [n_pol_dist] = @n_pol_dist, [s_type] = @s_type WHERE (([e_distribute_no] = @Original_e_distribute_no) AND ((@IsNull_e_pol_no_begin = 1 AND [e_pol_no_begin] IS NULL) OR ([e_pol_no_begin] = @Original_e_pol_no_begin)) AND ((@IsNull_e_pol_no_end = 1 AND [e_pol_no_end] IS NULL) OR ([e_pol_no_end] = @Original_e_pol_no_end)) AND ((@IsNull_i_ag = 1 AND [i_ag] IS NULL) OR ([i_ag] = @Original_i_ag)) AND ((@IsNull_i_ag_sub = 1 AND [i_ag_sub] IS NULL) OR ([i_ag_sub] = @Original_i_ag_sub)) AND ((@IsNull_i_distribute = 1 AND [i_distribute] IS NULL) OR ([i_distribute] = @Original_i_distribute)) AND ((@IsNull_d_distribute = 1 AND [d_distribute] IS NULL) OR ([d_distribute] = @Original_d_distribute)) AND ((@IsNull_n_pol_dist = 1 AND [n_pol_dist] IS NULL) OR ([n_pol_dist] = @Original_n_pol_dist)) AND ((@IsNull_s_type = 1 AND [s_type] IS NULL) OR ([s_type] = @Original_s_type)));
  2511. SELECT e_distribute_no, e_pol_no_begin, e_pol_no_end, i_ag, i_ag_sub, i_distribute, d_distribute, n_pol_dist, s_type FROM c_stick_distribute WHERE (e_distribute_no = @e_distribute_no)";
  2512.             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  2513.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_distribute_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2514.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_pol_no_begin", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_begin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2515.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_pol_no_end", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_end", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2516.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_ag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2517.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_ag_sub", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2518.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_distribute", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_distribute", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2519.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_distribute", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_distribute", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2520.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@n_pol_dist", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "n_pol_dist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2521.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@s_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2522.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_distribute_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2523.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_pol_no_begin", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_begin", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2524.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_pol_no_begin", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_begin", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2525.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_pol_no_end", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_end", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2526.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_pol_no_end", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no_end", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2527.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_ag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2528.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_ag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2529.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_ag_sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2530.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_ag_sub", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2531.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_distribute", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_distribute", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2532.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_distribute", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_distribute", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2533.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_distribute", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_distribute", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2534.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_distribute", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_distribute", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2535.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_n_pol_dist", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "n_pol_dist", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2536.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_n_pol_dist", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "n_pol_dist", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2537.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_s_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  2538.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_s_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2539.         }
  2540.         
  2541.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2542.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2543.         private void InitConnection() {
  2544.             this._connection = new global::System.Data.SqlClient.SqlConnection();
  2545.             this._connection.ConnectionString = global::Compulsory.Reports.Properties.Settings.Default.CompulWebConnectionString;
  2546.         }
  2547.         
  2548.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2549.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2550.         private void InitCommandCollection() {
  2551.             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  2552.             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  2553.             this._commandCollection[0].Connection = this.Connection;
  2554.             this._commandCollection[0].CommandText = "SELECT     c_stick_distribute.*\r\nFROM         c_stick_distribute";
  2555.             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  2556.         }
  2557.         
  2558.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2559.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2560.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2561.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  2562.         public virtual int Fill(dsReport.c_stick_distributeDataTable dataTable) {
  2563.             this.Adapter.SelectCommand = this.CommandCollection[0];
  2564.             if ((this.ClearBeforeFill == true)) {
  2565.                 dataTable.Clear();
  2566.             }
  2567.             int returnValue = this.Adapter.Fill(dataTable);
  2568.             return returnValue;
  2569.         }
  2570.         
  2571.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2572.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2573.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2574.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  2575.         public virtual dsReport.c_stick_distributeDataTable GetData() {
  2576.             this.Adapter.SelectCommand = this.CommandCollection[0];
  2577.             dsReport.c_stick_distributeDataTable dataTable = new dsReport.c_stick_distributeDataTable();
  2578.             this.Adapter.Fill(dataTable);
  2579.             return dataTable;
  2580.         }
  2581.         
  2582.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2583.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2584.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2585.         public virtual int Update(dsReport.c_stick_distributeDataTable dataTable) {
  2586.             return this.Adapter.Update(dataTable);
  2587.         }
  2588.         
  2589.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2590.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2591.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2592.         public virtual int Update(dsReport dataSet) {
  2593.             return this.Adapter.Update(dataSet, "c_stick_distribute");
  2594.         }
  2595.         
  2596.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2597.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2598.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2599.         public virtual int Update(global::System.Data.DataRow dataRow) {
  2600.             return this.Adapter.Update(new global::System.Data.DataRow[] {
  2601.                         dataRow});
  2602.         }
  2603.         
  2604.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2605.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2606.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2607.         public virtual int Update(global::System.Data.DataRow[] dataRows) {
  2608.             return this.Adapter.Update(dataRows);
  2609.         }
  2610.         
  2611.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2612.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2613.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2614.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  2615.         public virtual int Delete(string Original_e_distribute_no, string Original_e_pol_no_begin, string Original_e_pol_no_end, string Original_i_ag, string Original_i_ag_sub, string Original_i_distribute, global::System.Nullable<global::System.DateTime> Original_d_distribute, global::System.Nullable<int> Original_n_pol_dist, global::System.Nullable<int> Original_s_type) {
  2616.             if ((Original_e_distribute_no == null)) {
  2617.                 throw new global::System.ArgumentNullException("Original_e_distribute_no");
  2618.             }
  2619.             else {
  2620.                 this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_e_distribute_no));
  2621.             }
  2622.             if ((Original_e_pol_no_begin == null)) {
  2623.                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  2624.                 this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  2625.             }
  2626.             else {
  2627.                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  2628.                 this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_e_pol_no_begin));
  2629.             }
  2630.             if ((Original_e_pol_no_end == null)) {
  2631.                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  2632.                 this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  2633.             }
  2634.             else {
  2635.                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  2636.                 this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_e_pol_no_end));
  2637.             }
  2638.             if ((Original_i_ag == null)) {
  2639.                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  2640.                 this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  2641.             }
  2642.             else {
  2643.                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  2644.                 this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_i_ag));
  2645.             }
  2646.             if ((Original_i_ag_sub == null)) {
  2647.                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
  2648.                 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
  2649.             }
  2650.             else {
  2651.                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
  2652.                 this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_i_ag_sub));
  2653.             }
  2654.             if ((Original_i_distribute == null)) {
  2655.                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
  2656.                 this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
  2657.             }
  2658.             else {
  2659.                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
  2660.                 this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_i_distribute));
  2661.             }
  2662.             if ((Original_d_distribute.HasValue == true)) {
  2663.                 this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
  2664.                 this.Adapter.DeleteCommand.Parameters[12].Value = ((System.DateTime)(Original_d_distribute.Value));
  2665.             }
  2666.             else {
  2667.                 this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
  2668.                 this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
  2669.             }
  2670.             if ((Original_n_pol_dist.HasValue == true)) {
  2671.                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
  2672.                 this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_n_pol_dist.Value));
  2673.             }
  2674.             else {
  2675.                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
  2676.                 this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
  2677.             }
  2678.             if ((Original_s_type.HasValue == true)) {
  2679.                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
  2680.                 this.Adapter.DeleteCommand.Parameters[16].Value = ((int)(Original_s_type.Value));
  2681.             }
  2682.             else {
  2683.                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
  2684.                 this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
  2685.             }
  2686.             global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  2687.             if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
  2688.                         != global::System.Data.ConnectionState.Open)) {
  2689.                 this.Adapter.DeleteCommand.Connection.Open();
  2690.             }
  2691.             try {
  2692.                 int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  2693.                 return returnValue;
  2694.             }
  2695.             finally {
  2696.                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  2697.                     this.Adapter.DeleteCommand.Connection.Close();
  2698.                 }
  2699.             }
  2700.         }
  2701.         
  2702.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2703.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2704.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2705.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  2706.         public virtual int Insert(string e_distribute_no, string e_pol_no_begin, string e_pol_no_end, string i_ag, string i_ag_sub, string i_distribute, global::System.Nullable<global::System.DateTime> d_distribute, global::System.Nullable<int> n_pol_dist, global::System.Nullable<int> s_type) {
  2707.             if ((e_distribute_no == null)) {
  2708.                 throw new global::System.ArgumentNullException("e_distribute_no");
  2709.             }
  2710.             else {
  2711.                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(e_distribute_no));
  2712.             }
  2713.             if ((e_pol_no_begin == null)) {
  2714.                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  2715.             }
  2716.             else {
  2717.                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(e_pol_no_begin));
  2718.             }
  2719.             if ((e_pol_no_end == null)) {
  2720.                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  2721.             }
  2722.             else {
  2723.                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(e_pol_no_end));
  2724.             }
  2725.             if ((i_ag == null)) {
  2726.                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  2727.             }
  2728.             else {
  2729.                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(i_ag));
  2730.             }
  2731.             if ((i_ag_sub == null)) {
  2732.                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  2733.             }
  2734.             else {
  2735.                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(i_ag_sub));
  2736.             }
  2737.             if ((i_distribute == null)) {
  2738.                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  2739.             }
  2740.             else {
  2741.                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(i_distribute));
  2742.             }
  2743.             if ((d_distribute.HasValue == true)) {
  2744.                 this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(d_distribute.Value));
  2745.             }
  2746.             else {
  2747.                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
  2748.             }
  2749.             if ((n_pol_dist.HasValue == true)) {
  2750.                 this.Adapter.InsertCommand.Parameters[7].Value = ((int)(n_pol_dist.Value));
  2751.             }
  2752.             else {
  2753.                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
  2754.             }
  2755.             if ((s_type.HasValue == true)) {
  2756.                 this.Adapter.InsertCommand.Parameters[8].Value = ((int)(s_type.Value));
  2757.             }
  2758.             else {
  2759.                 this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
  2760.             }
  2761.             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  2762.             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
  2763.                         != global::System.Data.ConnectionState.Open)) {
  2764.                 this.Adapter.InsertCommand.Connection.Open();
  2765.             }
  2766.             try {
  2767.                 int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  2768.                 return returnValue;
  2769.             }
  2770.             finally {
  2771.                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  2772.                     this.Adapter.InsertCommand.Connection.Close();
  2773.                 }
  2774.             }
  2775.         }
  2776.         
  2777.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2778.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2779.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2780.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  2781.         public virtual int Update(
  2782.                     string e_distribute_no, 
  2783.                     string e_pol_no_begin, 
  2784.                     string e_pol_no_end, 
  2785.                     string i_ag, 
  2786.                     string i_ag_sub, 
  2787.                     string i_distribute, 
  2788.                     global::System.Nullable<global::System.DateTime> d_distribute, 
  2789.                     global::System.Nullable<int> n_pol_dist, 
  2790.                     global::System.Nullable<int> s_type, 
  2791.                     string Original_e_distribute_no, 
  2792.                     string Original_e_pol_no_begin, 
  2793.                     string Original_e_pol_no_end, 
  2794.                     string Original_i_ag, 
  2795.                     string Original_i_ag_sub, 
  2796.                     string Original_i_distribute, 
  2797.                     global::System.Nullable<global::System.DateTime> Original_d_distribute, 
  2798.                     global::System.Nullable<int> Original_n_pol_dist, 
  2799.                     global::System.Nullable<int> Original_s_type) {
  2800.             if ((e_distribute_no == null)) {
  2801.                 throw new global::System.ArgumentNullException("e_distribute_no");
  2802.             }
  2803.             else {
  2804.                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(e_distribute_no));
  2805.             }
  2806.             if ((e_pol_no_begin == null)) {
  2807.                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  2808.             }
  2809.             else {
  2810.                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(e_pol_no_begin));
  2811.             }
  2812.             if ((e_pol_no_end == null)) {
  2813.                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  2814.             }
  2815.             else {
  2816.                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(e_pol_no_end));
  2817.             }
  2818.             if ((i_ag == null)) {
  2819.                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  2820.             }
  2821.             else {
  2822.                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(i_ag));
  2823.             }
  2824.             if ((i_ag_sub == null)) {
  2825.                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  2826.             }
  2827.             else {
  2828.                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(i_ag_sub));
  2829.             }
  2830.             if ((i_distribute == null)) {
  2831.                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  2832.             }
  2833.             else {
  2834.                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(i_distribute));
  2835.             }
  2836.             if ((d_distribute.HasValue == true)) {
  2837.                 this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(d_distribute.Value));
  2838.             }
  2839.             else {
  2840.                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
  2841.             }
  2842.             if ((n_pol_dist.HasValue == true)) {
  2843.                 this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(n_pol_dist.Value));
  2844.             }
  2845.             else {
  2846.                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  2847.             }
  2848.             if ((s_type.HasValue == true)) {
  2849.                 this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(s_type.Value));
  2850.             }
  2851.             else {
  2852.                 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
  2853.             }
  2854.             if ((Original_e_distribute_no == null)) {
  2855.                 throw new global::System.ArgumentNullException("Original_e_distribute_no");
  2856.             }
  2857.             else {
  2858.                 this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_e_distribute_no));
  2859.             }
  2860.             if ((Original_e_pol_no_begin == null)) {
  2861.                 this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
  2862.                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
  2863.             }
  2864.             else {
  2865.                 this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
  2866.                 this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_e_pol_no_begin));
  2867.             }
  2868.             if ((Original_e_pol_no_end == null)) {
  2869.                 this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
  2870.                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
  2871.             }
  2872.             else {
  2873.                 this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
  2874.                 this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_e_pol_no_end));
  2875.             }
  2876.             if ((Original_i_ag == null)) {
  2877.                 this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
  2878.                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
  2879.             }
  2880.             else {
  2881.                 this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
  2882.                 this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_i_ag));
  2883.             }
  2884.             if ((Original_i_ag_sub == null)) {
  2885.                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
  2886.                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
  2887.             }
  2888.             else {
  2889.                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
  2890.                 this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_i_ag_sub));
  2891.             }
  2892.             if ((Original_i_distribute == null)) {
  2893.                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
  2894.                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
  2895.             }
  2896.             else {
  2897.                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
  2898.                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_i_distribute));
  2899.             }
  2900.             if ((Original_d_distribute.HasValue == true)) {
  2901.                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
  2902.                 this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_d_distribute.Value));
  2903.             }
  2904.             else {
  2905.                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
  2906.                 this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
  2907.             }
  2908.             if ((Original_n_pol_dist.HasValue == true)) {
  2909.                 this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
  2910.                 this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_n_pol_dist.Value));
  2911.             }
  2912.             else {
  2913.                 this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
  2914.                 this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
  2915.             }
  2916.             if ((Original_s_type.HasValue == true)) {
  2917.                 this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
  2918.                 this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_s_type.Value));
  2919.             }
  2920.             else {
  2921.                 this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
  2922.                 this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
  2923.             }
  2924.             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  2925.             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
  2926.                         != global::System.Data.ConnectionState.Open)) {
  2927.                 this.Adapter.UpdateCommand.Connection.Open();
  2928.             }
  2929.             try {
  2930.                 int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  2931.                 return returnValue;
  2932.             }
  2933.             finally {
  2934.                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  2935.                     this.Adapter.UpdateCommand.Connection.Close();
  2936.                 }
  2937.             }
  2938.         }
  2939.         
  2940.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2941.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2942.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2943.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  2944.         public virtual int Update(
  2945.                     string e_pol_no_begin, 
  2946.                     string e_pol_no_end, 
  2947.                     string i_ag, 
  2948.                     string i_ag_sub, 
  2949.                     string i_distribute, 
  2950.                     global::System.Nullable<global::System.DateTime> d_distribute, 
  2951.                     global::System.Nullable<int> n_pol_dist, 
  2952.                     global::System.Nullable<int> s_type, 
  2953.                     string Original_e_distribute_no, 
  2954.                     string Original_e_pol_no_begin, 
  2955.                     string Original_e_pol_no_end, 
  2956.                     string Original_i_ag, 
  2957.                     string Original_i_ag_sub, 
  2958.                     string Original_i_distribute, 
  2959.                     global::System.Nullable<global::System.DateTime> Original_d_distribute, 
  2960.                     global::System.Nullable<int> Original_n_pol_dist, 
  2961.                     global::System.Nullable<int> Original_s_type) {
  2962.             return this.Update(Original_e_distribute_no, e_pol_no_begin, e_pol_no_end, i_ag, i_ag_sub, i_distribute, d_distribute, n_pol_dist, s_type, Original_e_distribute_no, Original_e_pol_no_begin, Original_e_pol_no_end, Original_i_ag, Original_i_ag_sub, Original_i_distribute, Original_d_distribute, Original_n_pol_dist, Original_s_type);
  2963.         }
  2964.     }
  2965.     
  2966.     /// <summary>
  2967.     ///Represents the connection and commands used to retrieve and save data.
  2968.     ///</summary>
  2969.     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  2970.     [global::System.ComponentModel.ToolboxItem(true)]
  2971.     [global::System.ComponentModel.DataObjectAttribute(true)]
  2972.     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  2973.         ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  2974.     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2975.     public partial class c_stick_webTableAdapter : global::System.ComponentModel.Component {
  2976.         
  2977.         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  2978.         
  2979.         private global::System.Data.SqlClient.SqlConnection _connection;
  2980.         
  2981.         private global::System.Data.SqlClient.SqlTransaction _transaction;
  2982.         
  2983.         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  2984.         
  2985.         private bool _clearBeforeFill;
  2986.         
  2987.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2988.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2989.         public c_stick_webTableAdapter() {
  2990.             this.ClearBeforeFill = true;
  2991.         }
  2992.         
  2993.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2994.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  2995.         protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  2996.             get {
  2997.                 if ((this._adapter == null)) {
  2998.                     this.InitAdapter();
  2999.                 }
  3000.                 return this._adapter;
  3001.             }
  3002.         }
  3003.         
  3004.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3005.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3006.         internal global::System.Data.SqlClient.SqlConnection Connection {
  3007.             get {
  3008.                 if ((this._connection == null)) {
  3009.                     this.InitConnection();
  3010.                 }
  3011.                 return this._connection;
  3012.             }
  3013.             set {
  3014.                 this._connection = value;
  3015.                 if ((this.Adapter.InsertCommand != null)) {
  3016.                     this.Adapter.InsertCommand.Connection = value;
  3017.                 }
  3018.                 if ((this.Adapter.DeleteCommand != null)) {
  3019.                     this.Adapter.DeleteCommand.Connection = value;
  3020.                 }
  3021.                 if ((this.Adapter.UpdateCommand != null)) {
  3022.                     this.Adapter.UpdateCommand.Connection = value;
  3023.                 }
  3024.                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  3025.                     if ((this.CommandCollection[i] != null)) {
  3026.                         ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  3027.                     }
  3028.                 }
  3029.             }
  3030.         }
  3031.         
  3032.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3033.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3034.         internal global::System.Data.SqlClient.SqlTransaction Transaction {
  3035.             get {
  3036.                 return this._transaction;
  3037.             }
  3038.             set {
  3039.                 this._transaction = value;
  3040.                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  3041.                     this.CommandCollection[i].Transaction = this._transaction;
  3042.                 }
  3043.                 if (((this.Adapter != null) 
  3044.                             && (this.Adapter.DeleteCommand != null))) {
  3045.                     this.Adapter.DeleteCommand.Transaction = this._transaction;
  3046.                 }
  3047.                 if (((this.Adapter != null) 
  3048.                             && (this.Adapter.InsertCommand != null))) {
  3049.                     this.Adapter.InsertCommand.Transaction = this._transaction;
  3050.                 }
  3051.                 if (((this.Adapter != null) 
  3052.                             && (this.Adapter.UpdateCommand != null))) {
  3053.                     this.Adapter.UpdateCommand.Transaction = this._transaction;
  3054.                 }
  3055.             }
  3056.         }
  3057.         
  3058.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3059.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3060.         protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  3061.             get {
  3062.                 if ((this._commandCollection == null)) {
  3063.                     this.InitCommandCollection();
  3064.                 }
  3065.                 return this._commandCollection;
  3066.             }
  3067.         }
  3068.         
  3069.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3070.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3071.         public bool ClearBeforeFill {
  3072.             get {
  3073.                 return this._clearBeforeFill;
  3074.             }
  3075.             set {
  3076.                 this._clearBeforeFill = value;
  3077.             }
  3078.         }
  3079.         
  3080.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3081.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3082.         private void InitAdapter() {
  3083.             this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  3084.             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  3085.             tableMapping.SourceTable = "Table";
  3086.             tableMapping.DataSetTable = "c_stick_web";
  3087.             tableMapping.ColumnMappings.Add("c_year", "c_year");
  3088.             tableMapping.ColumnMappings.Add("s_type", "s_type");
  3089.             tableMapping.ColumnMappings.Add("e_pol_no", "e_pol_no");
  3090.             tableMapping.ColumnMappings.Add("i_ag", "i_ag");
  3091.             tableMapping.ColumnMappings.Add("e_barcode", "e_barcode");
  3092.             tableMapping.ColumnMappings.Add("e_bookno", "e_bookno");
  3093.             tableMapping.ColumnMappings.Add("e_receipt", "e_receipt");
  3094.             tableMapping.ColumnMappings.Add("d_approve_withdraw", "d_approve_withdraw");
  3095.             tableMapping.ColumnMappings.Add("i_approve_withdraw", "i_approve_withdraw");
  3096.             tableMapping.ColumnMappings.Add("f_status", "f_status");
  3097.             tableMapping.ColumnMappings.Add("d_status", "d_status");
  3098.             tableMapping.ColumnMappings.Add("i_status", "i_status");
  3099.             tableMapping.ColumnMappings.Add("i_control", "i_control");
  3100.             tableMapping.ColumnMappings.Add("i_ag_sub", "i_ag_sub");
  3101.             tableMapping.ColumnMappings.Add("f_transfer", "f_transfer");
  3102.             tableMapping.ColumnMappings.Add("d_transfer", "d_transfer");
  3103.             tableMapping.ColumnMappings.Add("d_upload_stick", "d_upload_stick");
  3104.             tableMapping.ColumnMappings.Add("i_agen_code", "i_agen_code");
  3105.             tableMapping.ColumnMappings.Add("c_agen_codename", "c_agen_codename");
  3106.             tableMapping.ColumnMappings.Add("i_agen_code#", "i_agen_code#");
  3107.             tableMapping.ColumnMappings.Add("f_receive_copy", "f_receive_copy");
  3108.             tableMapping.ColumnMappings.Add("i_receive_copy", "i_receive_copy");
  3109.             tableMapping.ColumnMappings.Add("d_receive_copy", "d_receive_copy");
  3110.             tableMapping.ColumnMappings.Add("f_sticker_type", "f_sticker_type");
  3111.             tableMapping.ColumnMappings.Add("f_pol_ctl", "f_pol_ctl");
  3112.             tableMapping.ColumnMappings.Add("e_order_no", "e_order_no");
  3113.             tableMapping.ColumnMappings.Add("e_distribute_no", "e_distribute_no");
  3114.             this._adapter.TableMappings.Add(tableMapping);
  3115.             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  3116.             this._adapter.DeleteCommand.Connection = this.Connection;
  3117.             this._adapter.DeleteCommand.CommandText = "DELETE FROM [c_stick_web] WHERE (([c_year] = @Original_c_year) AND ([s_type] = @O" +
  3118.                 "riginal_s_type) AND ([e_pol_no] = @Original_e_pol_no) AND ([i_ag] = @Original_i_" +
  3119.                 "ag) AND ([e_barcode] = @Original_e_barcode) AND ((@IsNull_e_bookno = 1 AND [e_bo" +
  3120.                 "okno] IS NULL) OR ([e_bookno] = @Original_e_bookno)) AND ((@IsNull_e_receipt = 1" +
  3121.                 " AND [e_receipt] IS NULL) OR ([e_receipt] = @Original_e_receipt)) AND ((@IsNull_" +
  3122.                 "d_approve_withdraw = 1 AND [d_approve_withdraw] IS NULL) OR ([d_approve_withdraw" +
  3123.                 "] = @Original_d_approve_withdraw)) AND ([i_approve_withdraw] = @Original_i_appro" +
  3124.                 "ve_withdraw) AND ([f_status] = @Original_f_status) AND ((@IsNull_d_status = 1 AN" +
  3125.                 "D [d_status] IS NULL) OR ([d_status] = @Original_d_status)) AND ((@IsNull_i_stat" +
  3126.                 "us = 1 AND [i_status] IS NULL) OR ([i_status] = @Original_i_status)) AND ((@IsNu" +
  3127.                 "ll_i_control = 1 AND [i_control] IS NULL) OR ([i_control] = @Original_i_control)" +
  3128.                 ") AND ((@IsNull_i_ag_sub = 1 AND [i_ag_sub] IS NULL) OR ([i_ag_sub] = @Original_" +
  3129.                 "i_ag_sub)) AND ((@IsNull_f_transfer = 1 AND [f_transfer] IS NULL) OR ([f_transfe" +
  3130.                 "r] = @Original_f_transfer)) AND ((@IsNull_d_transfer = 1 AND [d_transfer] IS NUL" +
  3131.                 "L) OR ([d_transfer] = @Original_d_transfer)) AND ((@IsNull_d_upload_stick = 1 AN" +
  3132.                 "D [d_upload_stick] IS NULL) OR ([d_upload_stick] = @Original_d_upload_stick)) AN" +
  3133.                 "D ((@IsNull_i_agen_code = 1 AND [i_agen_code] IS NULL) OR ([i_agen_code] = @Orig" +
  3134.                 "inal_i_agen_code)) AND ((@IsNull_c_agen_codename = 1 AND [c_agen_codename] IS NU" +
  3135.                 "LL) OR ([c_agen_codename] = @Original_c_agen_codename)) AND ((@IsNull_i_agen_cod" +
  3136.                 "e# = 1 AND [i_agen_code#] IS NULL) OR ([i_agen_code#] = @Original_i_agen_code#))" +
  3137.                 " AND ((@IsNull_f_receive_copy = 1 AND [f_receive_copy] IS NULL) OR ([f_receive_c" +
  3138.                 "opy] = @Original_f_receive_copy)) AND ((@IsNull_i_receive_copy = 1 AND [i_receiv" +
  3139.                 "e_copy] IS NULL) OR ([i_receive_copy] = @Original_i_receive_copy)) AND ((@IsNull" +
  3140.                 "_d_receive_copy = 1 AND [d_receive_copy] IS NULL) OR ([d_receive_copy] = @Origin" +
  3141.                 "al_d_receive_copy)) AND ((@IsNull_f_sticker_type = 1 AND [f_sticker_type] IS NUL" +
  3142.                 "L) OR ([f_sticker_type] = @Original_f_sticker_type)) AND ((@IsNull_f_pol_ctl = 1" +
  3143.                 " AND [f_pol_ctl] IS NULL) OR ([f_pol_ctl] = @Original_f_pol_ctl)) AND ((@IsNull_" +
  3144.                 "e_order_no = 1 AND [e_order_no] IS NULL) OR ([e_order_no] = @Original_e_order_no" +
  3145.                 ")) AND ((@IsNull_e_distribute_no = 1 AND [e_distribute_no] IS NULL) OR ([e_distr" +
  3146.                 "ibute_no] = @Original_e_distribute_no)))";
  3147.             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  3148.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_c_year", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_year", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3149.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_s_type", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3150.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_pol_no", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3151.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_ag", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3152.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_barcode", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_barcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3153.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_bookno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_bookno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3154.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_bookno", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_bookno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3155.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_receipt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_receipt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3156.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_receipt", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_receipt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3157.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_approve_withdraw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_approve_withdraw", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3158.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_approve_withdraw", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_approve_withdraw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3159.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_approve_withdraw", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_approve_withdraw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3160.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_status", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3161.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3162.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_status", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3163.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3164.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_status", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3165.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_control", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_control", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3166.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_control", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_control", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3167.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_ag_sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3168.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_ag_sub", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3169.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_f_transfer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_transfer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3170.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_transfer", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_transfer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3171.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_transfer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_transfer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3172.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_transfer", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_transfer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3173.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_upload_stick", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_upload_stick", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3174.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_upload_stick", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_upload_stick", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3175.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_agen_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3176.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_agen_code", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3177.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_c_agen_codename", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_agen_codename", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3178.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_c_agen_codename", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_agen_codename", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3179.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_agen_code#", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code#", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3180.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_agen_code#", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code#", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3181.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_f_receive_copy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_receive_copy", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3182.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_receive_copy", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_receive_copy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3183.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_receive_copy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_receive_copy", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3184.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_receive_copy", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_receive_copy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3185.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_receive_copy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_receive_copy", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3186.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_receive_copy", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_receive_copy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3187.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_f_sticker_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_sticker_type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3188.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_sticker_type", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_sticker_type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3189.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_f_pol_ctl", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_pol_ctl", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3190.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_pol_ctl", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_pol_ctl", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3191.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_order_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_order_no", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3192.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_order_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_order_no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3193.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_distribute_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3194.             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_distribute_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3195.             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  3196.             this._adapter.InsertCommand.Connection = this.Connection;
  3197.             this._adapter.InsertCommand.CommandText = @"INSERT INTO [c_stick_web] ([c_year], [s_type], [e_pol_no], [i_ag], [e_barcode], [e_bookno], [e_receipt], [d_approve_withdraw], [i_approve_withdraw], [f_status], [d_status], [i_status], [i_control], [i_ag_sub], [f_transfer], [d_transfer], [d_upload_stick], [i_agen_code], [c_agen_codename], [i_agen_code#], [f_receive_copy], [i_receive_copy], [d_receive_copy], [f_sticker_type], [f_pol_ctl], [e_order_no], [e_distribute_no]) VALUES (@c_year, @s_type, @e_pol_no, @i_ag, @e_barcode, @e_bookno, @e_receipt, @d_approve_withdraw, @i_approve_withdraw, @f_status, @d_status, @i_status, @i_control, @i_ag_sub, @f_transfer, @d_transfer, @d_upload_stick, @i_agen_code, @c_agen_codename, @i_agen_code#, @f_receive_copy, @i_receive_copy, @d_receive_copy, @f_sticker_type, @f_pol_ctl, @e_order_no, @e_distribute_no);
  3198. SELECT c_year, s_type, e_pol_no, i_ag, e_barcode, e_bookno, e_receipt, d_approve_withdraw, i_approve_withdraw, f_status, d_status, i_status, i_control, i_ag_sub, f_transfer, d_transfer, d_upload_stick, i_agen_code, c_agen_codename, i_agen_code#, f_receive_copy, i_receive_copy, d_receive_copy, f_sticker_type, f_pol_ctl, e_order_no, e_distribute_no FROM c_stick_web WHERE (c_year = @c_year) AND (e_barcode = @e_barcode) AND (e_pol_no = @e_pol_no)";
  3199.             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  3200.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@c_year", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_year", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3201.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@s_type", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3202.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_pol_no", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3203.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_ag", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3204.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_barcode", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_barcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3205.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_bookno", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_bookno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3206.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_receipt", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_receipt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3207.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_approve_withdraw", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_approve_withdraw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3208.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_approve_withdraw", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_approve_withdraw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3209.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_status", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3210.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_status", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3211.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_status", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3212.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_control", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_control", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3213.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_ag_sub", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3214.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_transfer", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_transfer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3215.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_transfer", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_transfer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3216.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_upload_stick", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_upload_stick", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3217.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_agen_code", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3218.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@c_agen_codename", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_agen_codename", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3219.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_agen_code#", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code#", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3220.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_receive_copy", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_receive_copy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3221.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_receive_copy", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_receive_copy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3222.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_receive_copy", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_receive_copy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3223.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_sticker_type", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_sticker_type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3224.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_pol_ctl", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_pol_ctl", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3225.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_order_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_order_no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3226.             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_distribute_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3227.             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  3228.             this._adapter.UpdateCommand.Connection = this.Connection;
  3229.             this._adapter.UpdateCommand.CommandText = "UPDATE [c_stick_web] SET [c_year] = @c_year, [s_type] = @s_type, [e_pol_no] = @e_" +
  3230.                 "pol_no, [i_ag] = @i_ag, [e_barcode] = @e_barcode, [e_bookno] = @e_bookno, [e_rec" +
  3231.                 "eipt] = @e_receipt, [d_approve_withdraw] = @d_approve_withdraw, [i_approve_withd" +
  3232.                 "raw] = @i_approve_withdraw, [f_status] = @f_status, [d_status] = @d_status, [i_s" +
  3233.                 "tatus] = @i_status, [i_control] = @i_control, [i_ag_sub] = @i_ag_sub, [f_transfe" +
  3234.                 "r] = @f_transfer, [d_transfer] = @d_transfer, [d_upload_stick] = @d_upload_stick" +
  3235.                 ", [i_agen_code] = @i_agen_code, [c_agen_codename] = @c_agen_codename, [i_agen_co" +
  3236.                 "de#] = @i_agen_code#, [f_receive_copy] = @f_receive_copy, [i_receive_copy] = @i_" +
  3237.                 "receive_copy, [d_receive_copy] = @d_receive_copy, [f_sticker_type] = @f_sticker_" +
  3238.                 "type, [f_pol_ctl] = @f_pol_ctl, [e_order_no] = @e_order_no, [e_distribute_no] = " +
  3239.                 "@e_distribute_no WHERE (([c_year] = @Original_c_year) AND ([s_type] = @Original_" +
  3240.                 "s_type) AND ([e_pol_no] = @Original_e_pol_no) AND ([i_ag] = @Original_i_ag) AND " +
  3241.                 "([e_barcode] = @Original_e_barcode) AND ((@IsNull_e_bookno = 1 AND [e_bookno] IS" +
  3242.                 " NULL) OR ([e_bookno] = @Original_e_bookno)) AND ((@IsNull_e_receipt = 1 AND [e_" +
  3243.                 "receipt] IS NULL) OR ([e_receipt] = @Original_e_receipt)) AND ((@IsNull_d_approv" +
  3244.                 "e_withdraw = 1 AND [d_approve_withdraw] IS NULL) OR ([d_approve_withdraw] = @Ori" +
  3245.                 "ginal_d_approve_withdraw)) AND ([i_approve_withdraw] = @Original_i_approve_withd" +
  3246.                 "raw) AND ([f_status] = @Original_f_status) AND ((@IsNull_d_status = 1 AND [d_sta" +
  3247.                 "tus] IS NULL) OR ([d_status] = @Original_d_status)) AND ((@IsNull_i_status = 1 A" +
  3248.                 "ND [i_status] IS NULL) OR ([i_status] = @Original_i_status)) AND ((@IsNull_i_con" +
  3249.                 "trol = 1 AND [i_control] IS NULL) OR ([i_control] = @Original_i_control)) AND ((" +
  3250.                 "@IsNull_i_ag_sub = 1 AND [i_ag_sub] IS NULL) OR ([i_ag_sub] = @Original_i_ag_sub" +
  3251.                 ")) AND ((@IsNull_f_transfer = 1 AND [f_transfer] IS NULL) OR ([f_transfer] = @Or" +
  3252.                 "iginal_f_transfer)) AND ((@IsNull_d_transfer = 1 AND [d_transfer] IS NULL) OR ([" +
  3253.                 "d_transfer] = @Original_d_transfer)) AND ((@IsNull_d_upload_stick = 1 AND [d_upl" +
  3254.                 "oad_stick] IS NULL) OR ([d_upload_stick] = @Original_d_upload_stick)) AND ((@IsN" +
  3255.                 "ull_i_agen_code = 1 AND [i_agen_code] IS NULL) OR ([i_agen_code] = @Original_i_a" +
  3256.                 "gen_code)) AND ((@IsNull_c_agen_codename = 1 AND [c_agen_codename] IS NULL) OR (" +
  3257.                 "[c_agen_codename] = @Original_c_agen_codename)) AND ((@IsNull_i_agen_code# = 1 A" +
  3258.                 "ND [i_agen_code#] IS NULL) OR ([i_agen_code#] = @Original_i_agen_code#)) AND ((@" +
  3259.                 "IsNull_f_receive_copy = 1 AND [f_receive_copy] IS NULL) OR ([f_receive_copy] = @" +
  3260.                 "Original_f_receive_copy)) AND ((@IsNull_i_receive_copy = 1 AND [i_receive_copy] " +
  3261.                 "IS NULL) OR ([i_receive_copy] = @Original_i_receive_copy)) AND ((@IsNull_d_recei" +
  3262.                 "ve_copy = 1 AND [d_receive_copy] IS NULL) OR ([d_receive_copy] = @Original_d_rec" +
  3263.                 "eive_copy)) AND ((@IsNull_f_sticker_type = 1 AND [f_sticker_type] IS NULL) OR ([" +
  3264.                 "f_sticker_type] = @Original_f_sticker_type)) AND ((@IsNull_f_pol_ctl = 1 AND [f_" +
  3265.                 "pol_ctl] IS NULL) OR ([f_pol_ctl] = @Original_f_pol_ctl)) AND ((@IsNull_e_order_" +
  3266.                 "no = 1 AND [e_order_no] IS NULL) OR ([e_order_no] = @Original_e_order_no)) AND (" +
  3267.                 "(@IsNull_e_distribute_no = 1 AND [e_distribute_no] IS NULL) OR ([e_distribute_no" +
  3268.                 "] = @Original_e_distribute_no)));\r\nSELECT c_year, s_type, e_pol_no, i_ag, e_barc" +
  3269.                 "ode, e_bookno, e_receipt, d_approve_withdraw, i_approve_withdraw, f_status, d_st" +
  3270.                 "atus, i_status, i_control, i_ag_sub, f_transfer, d_transfer, d_upload_stick, i_a" +
  3271.                 "gen_code, c_agen_codename, i_agen_code#, f_receive_copy, i_receive_copy, d_recei" +
  3272.                 "ve_copy, f_sticker_type, f_pol_ctl, e_order_no, e_distribute_no FROM c_stick_web" +
  3273.                 " WHERE (c_year = @c_year) AND (e_barcode = @e_barcode) AND (e_pol_no = @e_pol_no" +
  3274.                 ")";
  3275.             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  3276.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@c_year", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_year", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3277.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@s_type", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3278.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_pol_no", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3279.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_ag", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3280.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_barcode", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_barcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3281.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_bookno", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_bookno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3282.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_receipt", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_receipt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3283.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_approve_withdraw", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_approve_withdraw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3284.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_approve_withdraw", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_approve_withdraw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3285.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_status", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3286.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_status", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3287.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_status", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3288.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_control", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_control", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3289.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_ag_sub", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3290.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_transfer", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_transfer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3291.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_transfer", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_transfer", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3292.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_upload_stick", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_upload_stick", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3293.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_agen_code", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3294.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@c_agen_codename", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_agen_codename", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3295.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_agen_code#", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code#", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3296.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_receive_copy", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_receive_copy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3297.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@i_receive_copy", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_receive_copy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3298.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@d_receive_copy", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_receive_copy", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3299.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_sticker_type", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_sticker_type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3300.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@f_pol_ctl", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_pol_ctl", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3301.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_order_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_order_no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3302.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@e_distribute_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3303.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_c_year", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_year", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3304.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_s_type", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "s_type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3305.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_pol_no", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_pol_no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3306.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_ag", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3307.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_barcode", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_barcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3308.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_bookno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_bookno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3309.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_bookno", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_bookno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3310.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_receipt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_receipt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3311.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_receipt", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_receipt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3312.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_approve_withdraw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_approve_withdraw", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3313.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_approve_withdraw", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_approve_withdraw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3314.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_approve_withdraw", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_approve_withdraw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3315.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_status", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3316.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3317.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_status", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3318.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3319.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_status", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3320.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_control", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_control", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3321.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_control", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_control", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3322.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_ag_sub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3323.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_ag_sub", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_ag_sub", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3324.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_f_transfer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_transfer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3325.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_transfer", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_transfer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3326.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_transfer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_transfer", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3327.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_transfer", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_transfer", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3328.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_upload_stick", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_upload_stick", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3329.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_upload_stick", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_upload_stick", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3330.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_agen_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3331.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_agen_code", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3332.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_c_agen_codename", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_agen_codename", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3333.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_c_agen_codename", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "c_agen_codename", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3334.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_agen_code#", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code#", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3335.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_agen_code#", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_agen_code#", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3336.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_f_receive_copy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_receive_copy", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3337.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_receive_copy", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_receive_copy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3338.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_i_receive_copy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_receive_copy", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3339.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_i_receive_copy", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "i_receive_copy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3340.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_d_receive_copy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_receive_copy", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3341.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_d_receive_copy", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "d_receive_copy", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3342.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_f_sticker_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_sticker_type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3343.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_sticker_type", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_sticker_type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3344.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_f_pol_ctl", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_pol_ctl", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3345.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_f_pol_ctl", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "f_pol_ctl", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3346.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_order_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_order_no", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3347.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_order_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_order_no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3348.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_e_distribute_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3349.             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_e_distribute_no", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "e_distribute_no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3350.         }
  3351.         
  3352.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3353.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3354.         private void InitConnection() {
  3355.             this._connection = new global::System.Data.SqlClient.SqlConnection();
  3356.             this._connection.ConnectionString = global::Compulsory.Reports.Properties.Settings.Default.CompulWebConnectionString;
  3357.         }
  3358.         
  3359.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3360.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3361.         private void InitCommandCollection() {
  3362.             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  3363.             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  3364.             this._commandCollection[0].Connection = this.Connection;
  3365.             this._commandCollection[0].CommandText = "SELECT     c_stick_web.*\r\nFROM         c_stick_web";
  3366.             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  3367.         }
  3368.         
  3369.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3370.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3371.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3372.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  3373.         public virtual int Fill(dsReport.c_stick_webDataTable dataTable) {
  3374.             this.Adapter.SelectCommand = this.CommandCollection[0];
  3375.             if ((this.ClearBeforeFill == true)) {
  3376.                 dataTable.Clear();
  3377.             }
  3378.             int returnValue = this.Adapter.Fill(dataTable);
  3379.             return returnValue;
  3380.         }
  3381.         
  3382.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3383.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3384.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3385.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  3386.         public virtual dsReport.c_stick_webDataTable GetData() {
  3387.             this.Adapter.SelectCommand = this.CommandCollection[0];
  3388.             dsReport.c_stick_webDataTable dataTable = new dsReport.c_stick_webDataTable();
  3389.             this.Adapter.Fill(dataTable);
  3390.             return dataTable;
  3391.         }
  3392.         
  3393.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3394.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3395.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3396.         public virtual int Update(dsReport.c_stick_webDataTable dataTable) {
  3397.             return this.Adapter.Update(dataTable);
  3398.         }
  3399.         
  3400.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3401.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3402.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3403.         public virtual int Update(dsReport dataSet) {
  3404.             return this.Adapter.Update(dataSet, "c_stick_web");
  3405.         }
  3406.         
  3407.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3408.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3409.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3410.         public virtual int Update(global::System.Data.DataRow dataRow) {
  3411.             return this.Adapter.Update(new global::System.Data.DataRow[] {
  3412.                         dataRow});
  3413.         }
  3414.         
  3415.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3416.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3417.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3418.         public virtual int Update(global::System.Data.DataRow[] dataRows) {
  3419.             return this.Adapter.Update(dataRows);
  3420.         }
  3421.         
  3422.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3423.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3424.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3425.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  3426.         public virtual int Delete(
  3427.                     string Original_c_year, 
  3428.                     string Original_s_type, 
  3429.                     string Original_e_pol_no, 
  3430.                     string Original_i_ag, 
  3431.                     string Original_e_barcode, 
  3432.                     string Original_e_bookno, 
  3433.                     string Original_e_receipt, 
  3434.                     global::System.Nullable<global::System.DateTime> Original_d_approve_withdraw, 
  3435.                     string Original_i_approve_withdraw, 
  3436.                     string Original_f_status, 
  3437.                     global::System.Nullable<global::System.DateTime> Original_d_status, 
  3438.                     string Original_i_status, 
  3439.                     string Original_i_control, 
  3440.                     string Original_i_ag_sub, 
  3441.                     string Original_f_transfer, 
  3442.                     global::System.Nullable<global::System.DateTime> Original_d_transfer, 
  3443.                     global::System.Nullable<global::System.DateTime> Original_d_upload_stick, 
  3444.                     string Original_i_agen_code, 
  3445.                     string Original_c_agen_codename, 
  3446.                     string _Original_i_agen_code_, 
  3447.                     string Original_f_receive_copy, 
  3448.                     string Original_i_receive_copy, 
  3449.                     global::System.Nullable<global::System.DateTime> Original_d_receive_copy, 
  3450.                     string Original_f_sticker_type, 
  3451.                     string Original_f_pol_ctl, 
  3452.                     string Original_e_order_no, 
  3453.                     string Original_e_distribute_no) {
  3454.             if ((Original_c_year == null)) {
  3455.                 throw new global::System.ArgumentNullException("Original_c_year");
  3456.             }
  3457.             else {
  3458.                 this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_c_year));
  3459.             }
  3460.             if ((Original_s_type == null)) {
  3461.                 throw new global::System.ArgumentNullException("Original_s_type");
  3462.             }
  3463.             else {
  3464.                 this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_s_type));
  3465.             }
  3466.             if ((Original_e_pol_no == null)) {
  3467.                 throw new global::System.ArgumentNullException("Original_e_pol_no");
  3468.             }
  3469.             else {
  3470.                 this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_e_pol_no));
  3471.             }
  3472.             if ((Original_i_ag == null)) {
  3473.                 throw new global::System.ArgumentNullException("Original_i_ag");
  3474.             }
  3475.             else {
  3476.                 this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_i_ag));
  3477.             }
  3478.             if ((Original_e_barcode == null)) {
  3479.                 throw new global::System.ArgumentNullException("Original_e_barcode");
  3480.             }
  3481.             else {
  3482.                 this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_e_barcode));
  3483.             }
  3484.             if ((Original_e_bookno == null)) {
  3485.                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  3486.                 this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  3487.             }
  3488.             else {
  3489.                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  3490.                 this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_e_bookno));
  3491.             }
  3492.             if ((Original_e_receipt == null)) {
  3493.                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
  3494.                 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
  3495.             }
  3496.             else {
  3497.                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
  3498.                 this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_e_receipt));
  3499.             }
  3500.             if ((Original_d_approve_withdraw.HasValue == true)) {
  3501.                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
  3502.                 this.Adapter.DeleteCommand.Parameters[10].Value = ((System.DateTime)(Original_d_approve_withdraw.Value));
  3503.             }
  3504.             else {
  3505.                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
  3506.                 this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
  3507.             }
  3508.             if ((Original_i_approve_withdraw == null)) {
  3509.                 throw new global::System.ArgumentNullException("Original_i_approve_withdraw");
  3510.             }
  3511.             else {
  3512.                 this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_i_approve_withdraw));
  3513.             }
  3514.             if ((Original_f_status == null)) {
  3515.                 throw new global::System.ArgumentNullException("Original_f_status");
  3516.             }
  3517.             else {
  3518.                 this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_f_status));
  3519.             }
  3520.             if ((Original_d_status.HasValue == true)) {
  3521.                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
  3522.                 this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_d_status.Value));
  3523.             }
  3524.             else {
  3525.                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
  3526.                 this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
  3527.             }
  3528.             if ((Original_i_status == null)) {
  3529.                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
  3530.                 this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
  3531.             }
  3532.             else {
  3533.                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
  3534.                 this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_i_status));
  3535.             }
  3536.             if ((Original_i_control == null)) {
  3537.                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
  3538.                 this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
  3539.             }
  3540.             else {
  3541.                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
  3542.                 this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_i_control));
  3543.             }
  3544.             if ((Original_i_ag_sub == null)) {
  3545.                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
  3546.                 this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
  3547.             }
  3548.             else {
  3549.                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
  3550.                 this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_i_ag_sub));
  3551.             }
  3552.             if ((Original_f_transfer == null)) {
  3553.                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
  3554.                 this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
  3555.             }
  3556.             else {
  3557.                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
  3558.                 this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_f_transfer));
  3559.             }
  3560.             if ((Original_d_transfer.HasValue == true)) {
  3561.                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
  3562.                 this.Adapter.DeleteCommand.Parameters[24].Value = ((System.DateTime)(Original_d_transfer.Value));
  3563.             }
  3564.             else {
  3565.                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
  3566.                 this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
  3567.             }
  3568.             if ((Original_d_upload_stick.HasValue == true)) {
  3569.                 this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
  3570.                 this.Adapter.DeleteCommand.Parameters[26].Value = ((System.DateTime)(Original_d_upload_stick.Value));
  3571.             }
  3572.             else {
  3573.                 this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
  3574.                 this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
  3575.             }
  3576.             if ((Original_i_agen_code == null)) {
  3577.                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
  3578.                 this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
  3579.             }
  3580.             else {
  3581.                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
  3582.                 this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_i_agen_code));
  3583.             }
  3584.             if ((Original_c_agen_codename == null)) {
  3585.                 this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
  3586.                 this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
  3587.             }
  3588.             else {
  3589.                 this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
  3590.                 this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_c_agen_codename));
  3591.             }
  3592.             if ((_Original_i_agen_code_ == null)) {
  3593.                 this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
  3594.                 this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
  3595.             }
  3596.             else {
  3597.                 this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
  3598.                 this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(_Original_i_agen_code_));
  3599.             }
  3600.             if ((Original_f_receive_copy == null)) {
  3601.                 this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
  3602.                 this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
  3603.             }
  3604.             else {
  3605.                 this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
  3606.                 this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_f_receive_copy));
  3607.             }
  3608.             if ((Original_i_receive_copy == null)) {
  3609.                 this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
  3610.                 this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
  3611.             }
  3612.             else {
  3613.                 this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
  3614.                 this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_i_receive_copy));
  3615.             }
  3616.             if ((Original_d_receive_copy.HasValue == true)) {
  3617.                 this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
  3618.                 this.Adapter.DeleteCommand.Parameters[38].Value = ((System.DateTime)(Original_d_receive_copy.Value));
  3619.             }
  3620.             else {
  3621.                 this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
  3622.                 this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
  3623.             }
  3624.             if ((Original_f_sticker_type == null)) {
  3625.                 this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1));
  3626.                 this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value;
  3627.             }
  3628.             else {
  3629.                 this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0));
  3630.                 this.Adapter.DeleteCommand.Parameters[40].Value = ((string)(Original_f_sticker_type));
  3631.             }
  3632.             if ((Original_f_pol_ctl == null)) {
  3633.                 this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1));
  3634.                 this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value;
  3635.             }
  3636.             else {
  3637.                 this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0));
  3638.                 this.Adapter.DeleteCommand.Parameters[42].Value = ((string)(Original_f_pol_ctl));
  3639.             }
  3640.             if ((Original_e_order_no == null)) {
  3641.                 this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1));
  3642.                 this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value;
  3643.             }
  3644.             else {
  3645.                 this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0));
  3646.                 this.Adapter.DeleteCommand.Parameters[44].Value = ((string)(Original_e_order_no));
  3647.             }
  3648.             if ((Original_e_distribute_no == null)) {
  3649.                 this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(1));
  3650.                 this.Adapter.DeleteCommand.Parameters[46].Value = global::System.DBNull.Value;
  3651.             }
  3652.             else {
  3653.                 this.Adapter.DeleteCommand.Parameters[45].Value = ((object)(0));
  3654.                 this.Adapter.DeleteCommand.Parameters[46].Value = ((string)(Original_e_distribute_no));
  3655.             }
  3656.             global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  3657.             if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
  3658.                         != global::System.Data.ConnectionState.Open)) {
  3659.                 this.Adapter.DeleteCommand.Connection.Open();
  3660.             }
  3661.             try {
  3662.                 int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  3663.                 return returnValue;
  3664.             }
  3665.             finally {
  3666.                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3667.                     this.Adapter.DeleteCommand.Connection.Close();
  3668.                 }
  3669.             }
  3670.         }
  3671.         
  3672.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3673.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3674.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3675.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  3676.         public virtual int Insert(
  3677.                     string c_year, 
  3678.                     string s_type, 
  3679.                     string e_pol_no, 
  3680.                     string i_ag, 
  3681.                     string e_barcode, 
  3682.                     string e_bookno, 
  3683.                     string e_receipt, 
  3684.                     global::System.Nullable<global::System.DateTime> d_approve_withdraw, 
  3685.                     string i_approve_withdraw, 
  3686.                     string f_status, 
  3687.                     global::System.Nullable<global::System.DateTime> d_status, 
  3688.                     string i_status, 
  3689.                     string i_control, 
  3690.                     string i_ag_sub, 
  3691.                     string f_transfer, 
  3692.                     global::System.Nullable<global::System.DateTime> d_transfer, 
  3693.                     global::System.Nullable<global::System.DateTime> d_upload_stick, 
  3694.                     string i_agen_code, 
  3695.                     string c_agen_codename, 
  3696.                     string _i_agen_code_, 
  3697.                     string f_receive_copy, 
  3698.                     string i_receive_copy, 
  3699.                     global::System.Nullable<global::System.DateTime> d_receive_copy, 
  3700.                     string f_sticker_type, 
  3701.                     string f_pol_ctl, 
  3702.                     string e_order_no, 
  3703.                     string e_distribute_no) {
  3704.             if ((c_year == null)) {
  3705.                 throw new global::System.ArgumentNullException("c_year");
  3706.             }
  3707.             else {
  3708.                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(c_year));
  3709.             }
  3710.             if ((s_type == null)) {
  3711.                 throw new global::System.ArgumentNullException("s_type");
  3712.             }
  3713.             else {
  3714.                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(s_type));
  3715.             }
  3716.             if ((e_pol_no == null)) {
  3717.                 throw new global::System.ArgumentNullException("e_pol_no");
  3718.             }
  3719.             else {
  3720.                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(e_pol_no));
  3721.             }
  3722.             if ((i_ag == null)) {
  3723.                 throw new global::System.ArgumentNullException("i_ag");
  3724.             }
  3725.             else {
  3726.                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(i_ag));
  3727.             }
  3728.             if ((e_barcode == null)) {
  3729.                 throw new global::System.ArgumentNullException("e_barcode");
  3730.             }
  3731.             else {
  3732.                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(e_barcode));
  3733.             }
  3734.             if ((e_bookno == null)) {
  3735.                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  3736.             }
  3737.             else {
  3738.                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(e_bookno));
  3739.             }
  3740.             if ((e_receipt == null)) {
  3741.                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
  3742.             }
  3743.             else {
  3744.                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(e_receipt));
  3745.             }
  3746.             if ((d_approve_withdraw.HasValue == true)) {
  3747.                 this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(d_approve_withdraw.Value));
  3748.             }
  3749.             else {
  3750.                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
  3751.             }
  3752.             if ((i_approve_withdraw == null)) {
  3753.                 throw new global::System.ArgumentNullException("i_approve_withdraw");
  3754.             }
  3755.             else {
  3756.                 this.Adapter.InsertCommand.Parameters[8].Value = ((string)(i_approve_withdraw));
  3757.             }
  3758.             if ((f_status == null)) {
  3759.                 throw new global::System.ArgumentNullException("f_status");
  3760.             }
  3761.             else {
  3762.                 this.Adapter.InsertCommand.Parameters[9].Value = ((string)(f_status));
  3763.             }
  3764.             if ((d_status.HasValue == true)) {
  3765.                 this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(d_status.Value));
  3766.             }
  3767.             else {
  3768.                 this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
  3769.             }
  3770.             if ((i_status == null)) {
  3771.                 this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
  3772.             }
  3773.             else {
  3774.                 this.Adapter.InsertCommand.Parameters[11].Value = ((string)(i_status));
  3775.             }
  3776.             if ((i_control == null)) {
  3777.                 this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
  3778.             }
  3779.             else {
  3780.                 this.Adapter.InsertCommand.Parameters[12].Value = ((string)(i_control));
  3781.             }
  3782.             if ((i_ag_sub == null)) {
  3783.                 this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
  3784.             }
  3785.             else {
  3786.                 this.Adapter.InsertCommand.Parameters[13].Value = ((string)(i_ag_sub));
  3787.             }
  3788.             if ((f_transfer == null)) {
  3789.                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
  3790.             }
  3791.             else {
  3792.                 this.Adapter.InsertCommand.Parameters[14].Value = ((string)(f_transfer));
  3793.             }
  3794.             if ((d_transfer.HasValue == true)) {
  3795.                 this.Adapter.InsertCommand.Parameters[15].Value = ((System.DateTime)(d_transfer.Value));
  3796.             }
  3797.             else {
  3798.                 this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
  3799.             }
  3800.             if ((d_upload_stick.HasValue == true)) {
  3801.                 this.Adapter.InsertCommand.Parameters[16].Value = ((System.DateTime)(d_upload_stick.Value));
  3802.             }
  3803.             else {
  3804.                 this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
  3805.             }
  3806.             if ((i_agen_code == null)) {
  3807.                 this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
  3808.             }
  3809.             else {
  3810.                 this.Adapter.InsertCommand.Parameters[17].Value = ((string)(i_agen_code));
  3811.             }
  3812.             if ((c_agen_codename == null)) {
  3813.                 this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
  3814.             }
  3815.             else {
  3816.                 this.Adapter.InsertCommand.Parameters[18].Value = ((string)(c_agen_codename));
  3817.             }
  3818.             if ((_i_agen_code_ == null)) {
  3819.                 this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
  3820.             }
  3821.             else {
  3822.                 this.Adapter.InsertCommand.Parameters[19].Value = ((string)(_i_agen_code_));
  3823.             }
  3824.             if ((f_receive_copy == null)) {
  3825.                 this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
  3826.             }
  3827.             else {
  3828.                 this.Adapter.InsertCommand.Parameters[20].Value = ((string)(f_receive_copy));
  3829.             }
  3830.             if ((i_receive_copy == null)) {
  3831.                 this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
  3832.             }
  3833.             else {
  3834.                 this.Adapter.InsertCommand.Parameters[21].Value = ((string)(i_receive_copy));
  3835.             }
  3836.             if ((d_receive_copy.HasValue == true)) {
  3837.                 this.Adapter.InsertCommand.Parameters[22].Value = ((System.DateTime)(d_receive_copy.Value));
  3838.             }
  3839.             else {
  3840.                 this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
  3841.             }
  3842.             if ((f_sticker_type == null)) {
  3843.                 this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
  3844.             }
  3845.             else {
  3846.                 this.Adapter.InsertCommand.Parameters[23].Value = ((string)(f_sticker_type));
  3847.             }
  3848.             if ((f_pol_ctl == null)) {
  3849.                 this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
  3850.             }
  3851.             else {
  3852.                 this.Adapter.InsertCommand.Parameters[24].Value = ((string)(f_pol_ctl));
  3853.             }
  3854.             if ((e_order_no == null)) {
  3855.                 this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
  3856.             }
  3857.             else {
  3858.                 this.Adapter.InsertCommand.Parameters[25].Value = ((string)(e_order_no));
  3859.             }
  3860.             if ((e_distribute_no == null)) {
  3861.                 this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
  3862.             }
  3863.             else {
  3864.                 this.Adapter.InsertCommand.Parameters[26].Value = ((string)(e_distribute_no));
  3865.             }
  3866.             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  3867.             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
  3868.                         != global::System.Data.ConnectionState.Open)) {
  3869.                 this.Adapter.InsertCommand.Connection.Open();
  3870.             }
  3871.             try {
  3872.                 int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  3873.                 return returnValue;
  3874.             }
  3875.             finally {
  3876.                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3877.                     this.Adapter.InsertCommand.Connection.Close();
  3878.                 }
  3879.             }
  3880.         }
  3881.         
  3882.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3883.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  3884.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3885.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  3886.         public virtual int Update(
  3887.                     string c_year, 
  3888.                     string s_type, 
  3889.                     string e_pol_no, 
  3890.                     string i_ag, 
  3891.                     string e_barcode, 
  3892.                     string e_bookno, 
  3893.                     string e_receipt, 
  3894.                     global::System.Nullable<global::System.DateTime> d_approve_withdraw, 
  3895.                     string i_approve_withdraw, 
  3896.                     string f_status, 
  3897.                     global::System.Nullable<global::System.DateTime> d_status, 
  3898.                     string i_status, 
  3899.                     string i_control, 
  3900.                     string i_ag_sub, 
  3901.                     string f_transfer, 
  3902.                     global::System.Nullable<global::System.DateTime> d_transfer, 
  3903.                     global::System.Nullable<global::System.DateTime> d_upload_stick, 
  3904.                     string i_agen_code, 
  3905.                     string c_agen_codename, 
  3906.                     string _i_agen_code_, 
  3907.                     string f_receive_copy, 
  3908.                     string i_receive_copy, 
  3909.                     global::System.Nullable<global::System.DateTime> d_receive_copy, 
  3910.                     string f_sticker_type, 
  3911.                     string f_pol_ctl, 
  3912.                     string e_order_no, 
  3913.                     string e_distribute_no, 
  3914.                     string Original_c_year, 
  3915.                     string Original_s_type, 
  3916.                     string Original_e_pol_no, 
  3917.                     string Original_i_ag, 
  3918.                     string Original_e_barcode, 
  3919.                     string Original_e_bookno, 
  3920.                     string Original_e_receipt, 
  3921.                     global::System.Nullable<global::System.DateTime> Original_d_approve_withdraw, 
  3922.                     string Original_i_approve_withdraw, 
  3923.                     string Original_f_status, 
  3924.                     global::System.Nullable<global::System.DateTime> Original_d_status, 
  3925.                     string Original_i_status, 
  3926.                     string Original_i_control, 
  3927.                     string Original_i_ag_sub, 
  3928.                     string Original_f_transfer, 
  3929.                     global::System.Nullable<global::System.DateTime> Original_d_transfer, 
  3930.                     global::System.Nullable<global::System.DateTime> Original_d_upload_stick, 
  3931.                     string Original_i_agen_code, 
  3932.                     string Original_c_agen_codename, 
  3933.                     string _Original_i_agen_code_, 
  3934.                     string Original_f_receive_copy, 
  3935.                     string Original_i_receive_copy, 
  3936.                     global::System.Nullable<global::System.DateTime> Original_d_receive_copy, 
  3937.                     string Original_f_sticker_type, 
  3938.                     string Original_f_pol_ctl, 
  3939.                     string Original_e_order_no, 
  3940.                     string Original_e_distribute_no) {
  3941.             if ((c_year == null)) {
  3942.                 throw new global::System.ArgumentNullException("c_year");
  3943.             }
  3944.             else {
  3945.                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(c_year));
  3946.             }
  3947.             if ((s_type == null)) {
  3948.                 throw new global::System.ArgumentNullException("s_type");
  3949.             }
  3950.             else {
  3951.                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(s_type));
  3952.             }
  3953.             if ((e_pol_no == null)) {
  3954.                 throw new global::System.ArgumentNullException("e_pol_no");
  3955.             }
  3956.             else {
  3957.                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(e_pol_no));
  3958.             }
  3959.             if ((i_ag == null)) {
  3960.                 throw new global::System.ArgumentNullException("i_ag");
  3961.             }
  3962.             else {
  3963.                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(i_ag));
  3964.             }
  3965.             if ((e_barcode == null)) {
  3966.                 throw new global::System.ArgumentNullException("e_barcode");
  3967.             }
  3968.             else {
  3969.                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(e_barcode));
  3970.             }
  3971.             if ((e_bookno == null)) {
  3972.                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  3973.             }
  3974.             else {
  3975.                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(e_bookno));
  3976.             }
  3977.             if ((e_receipt == null)) {
  3978.                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
  3979.             }
  3980.             else {
  3981.                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(e_receipt));
  3982.             }
  3983.             if ((d_approve_withdraw.HasValue == true)) {
  3984.                 this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(d_approve_withdraw.Value));
  3985.             }
  3986.             else {
  3987.                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  3988.             }
  3989.             if ((i_approve_withdraw == null)) {
  3990.                 throw new global::System.ArgumentNullException("i_approve_withdraw");
  3991.             }
  3992.             else {
  3993.                 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(i_approve_withdraw));
  3994.             }
  3995.             if ((f_status == null)) {
  3996.                 throw new global::System.ArgumentNullException("f_status");
  3997.             }
  3998.             else {
  3999.                 this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(f_status));
  4000.             }
  4001.             if ((d_status.HasValue == true)) {
  4002.                 this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(d_status.Value));
  4003.             }
  4004.             else {
  4005.                 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
  4006.             }
  4007.             if ((i_status == null)) {
  4008.                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
  4009.             }
  4010.             else {
  4011.                 this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(i_status));
  4012.             }
  4013.             if ((i_control == null)) {
  4014.                 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
  4015.             }
  4016.             else {
  4017.                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(i_control));
  4018.             }
  4019.             if ((i_ag_sub == null)) {
  4020.                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
  4021.             }
  4022.             else {
  4023.                 this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(i_ag_sub));
  4024.             }
  4025.             if ((f_transfer == null)) {
  4026.                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
  4027.             }
  4028.             else {
  4029.                 this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(f_transfer));
  4030.             }
  4031.             if ((d_transfer.HasValue == true)) {
  4032.                 this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(d_transfer.Value));
  4033.             }
  4034.             else {
  4035.                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
  4036.             }
  4037.             if ((d_upload_stick.HasValue == true)) {
  4038.                 this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(d_upload_stick.Value));
  4039.             }
  4040.             else {
  4041.                 this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
  4042.             }
  4043.             if ((i_agen_code == null)) {
  4044.                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
  4045.             }
  4046.             else {
  4047.                 this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(i_agen_code));
  4048.             }
  4049.             if ((c_agen_codename == null)) {
  4050.                 this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
  4051.             }
  4052.             else {
  4053.                 this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(c_agen_codename));
  4054.             }
  4055.             if ((_i_agen_code_ == null)) {
  4056.                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
  4057.             }
  4058.             else {
  4059.                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(_i_agen_code_));
  4060.             }
  4061.             if ((f_receive_copy == null)) {
  4062.                 this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
  4063.             }
  4064.             else {
  4065.                 this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(f_receive_copy));
  4066.             }
  4067.             if ((i_receive_copy == null)) {
  4068.                 this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
  4069.             }
  4070.             else {
  4071.                 this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(i_receive_copy));
  4072.             }
  4073.             if ((d_receive_copy.HasValue == true)) {
  4074.                 this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(d_receive_copy.Value));
  4075.             }
  4076.             else {
  4077.                 this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
  4078.             }
  4079.             if ((f_sticker_type == null)) {
  4080.                 this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
  4081.             }
  4082.             else {
  4083.                 this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(f_sticker_type));
  4084.             }
  4085.             if ((f_pol_ctl == null)) {
  4086.                 this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
  4087.             }
  4088.             else {
  4089.                 this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(f_pol_ctl));
  4090.             }
  4091.             if ((e_order_no == null)) {
  4092.                 this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
  4093.             }
  4094.             else {
  4095.                 this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(e_order_no));
  4096.             }
  4097.             if ((e_distribute_no == null)) {
  4098.                 this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
  4099.             }
  4100.             else {
  4101.                 this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(e_distribute_no));
  4102.             }
  4103.             if ((Original_c_year == null)) {
  4104.                 throw new global::System.ArgumentNullException("Original_c_year");
  4105.             }
  4106.             else {
  4107.                 this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_c_year));
  4108.             }
  4109.             if ((Original_s_type == null)) {
  4110.                 throw new global::System.ArgumentNullException("Original_s_type");
  4111.             }
  4112.             else {
  4113.                 this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_s_type));
  4114.             }
  4115.             if ((Original_e_pol_no == null)) {
  4116.                 throw new global::System.ArgumentNullException("Original_e_pol_no");
  4117.             }
  4118.             else {
  4119.                 this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_e_pol_no));
  4120.             }
  4121.             if ((Original_i_ag == null)) {
  4122.                 throw new global::System.ArgumentNullException("Original_i_ag");
  4123.             }
  4124.             else {
  4125.                 this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_i_ag));
  4126.             }
  4127.             if ((Original_e_barcode == null)) {
  4128.                 throw new global::System.ArgumentNullException("Original_e_barcode");
  4129.             }
  4130.             else {
  4131.                 this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_e_barcode));
  4132.             }
  4133.             if ((Original_e_bookno == null)) {
  4134.                 this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
  4135.                 this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
  4136.             }
  4137.             else {
  4138.                 this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
  4139.                 this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_e_bookno));
  4140.             }
  4141.             if ((Original_e_receipt == null)) {
  4142.                 this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
  4143.                 this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
  4144.             }
  4145.             else {
  4146.                 this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
  4147.                 this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_e_receipt));
  4148.             }
  4149.             if ((Original_d_approve_withdraw.HasValue == true)) {
  4150.                 this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
  4151.                 this.Adapter.UpdateCommand.Parameters[37].Value = ((System.DateTime)(Original_d_approve_withdraw.Value));
  4152.             }
  4153.             else {
  4154.                 this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
  4155.                 this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
  4156.             }
  4157.             if ((Original_i_approve_withdraw == null)) {
  4158.                 throw new global::System.ArgumentNullException("Original_i_approve_withdraw");
  4159.             }
  4160.             else {
  4161.                 this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_i_approve_withdraw));
  4162.             }
  4163.             if ((Original_f_status == null)) {
  4164.                 throw new global::System.ArgumentNullException("Original_f_status");
  4165.             }
  4166.             else {
  4167.                 this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_f_status));
  4168.             }
  4169.             if ((Original_d_status.HasValue == true)) {
  4170.                 this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
  4171.                 this.Adapter.UpdateCommand.Parameters[41].Value = ((System.DateTime)(Original_d_status.Value));
  4172.             }
  4173.             else {
  4174.                 this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
  4175.                 this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
  4176.             }
  4177.             if ((Original_i_status == null)) {
  4178.                 this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
  4179.                 this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
  4180.             }
  4181.             else {
  4182.                 this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
  4183.                 this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_i_status));
  4184.             }
  4185.             if ((Original_i_control == null)) {
  4186.                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
  4187.                 this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
  4188.             }
  4189.             else {
  4190.                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
  4191.                 this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_i_control));
  4192.             }
  4193.             if ((Original_i_ag_sub == null)) {
  4194.                 this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
  4195.                 this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
  4196.             }
  4197.             else {
  4198.                 this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
  4199.                 this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_i_ag_sub));
  4200.             }
  4201.             if ((Original_f_transfer == null)) {
  4202.                 this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
  4203.                 this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
  4204.             }
  4205.             else {
  4206.                 this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
  4207.                 this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_f_transfer));
  4208.             }
  4209.             if ((Original_d_transfer.HasValue == true)) {
  4210.                 this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
  4211.                 this.Adapter.UpdateCommand.Parameters[51].Value = ((System.DateTime)(Original_d_transfer.Value));
  4212.             }
  4213.             else {
  4214.                 this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
  4215.                 this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
  4216.             }
  4217.             if ((Original_d_upload_stick.HasValue == true)) {
  4218.                 this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
  4219.                 this.Adapter.UpdateCommand.Parameters[53].Value = ((System.DateTime)(Original_d_upload_stick.Value));
  4220.             }
  4221.             else {
  4222.                 this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
  4223.                 this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
  4224.             }
  4225.             if ((Original_i_agen_code == null)) {
  4226.                 this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
  4227.                 this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
  4228.             }
  4229.             else {
  4230.                 this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
  4231.                 this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_i_agen_code));
  4232.             }
  4233.             if ((Original_c_agen_codename == null)) {
  4234.                 this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
  4235.                 this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
  4236.             }
  4237.             else {
  4238.                 this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
  4239.                 this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_c_agen_codename));
  4240.             }
  4241.             if ((_Original_i_agen_code_ == null)) {
  4242.                 this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
  4243.                 this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
  4244.             }
  4245.             else {
  4246.                 this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
  4247.                 this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(_Original_i_agen_code_));
  4248.             }
  4249.             if ((Original_f_receive_copy == null)) {
  4250.                 this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
  4251.                 this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
  4252.             }
  4253.             else {
  4254.                 this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
  4255.                 this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(Original_f_receive_copy));
  4256.             }
  4257.             if ((Original_i_receive_copy == null)) {
  4258.                 this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
  4259.                 this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
  4260.             }
  4261.             else {
  4262.                 this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
  4263.                 this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_i_receive_copy));
  4264.             }
  4265.             if ((Original_d_receive_copy.HasValue == true)) {
  4266.                 this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
  4267.                 this.Adapter.UpdateCommand.Parameters[65].Value = ((System.DateTime)(Original_d_receive_copy.Value));
  4268.             }
  4269.             else {
  4270.                 this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
  4271.                 this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
  4272.             }
  4273.             if ((Original_f_sticker_type == null)) {
  4274.                 this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
  4275.                 this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
  4276.             }
  4277.             else {
  4278.                 this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
  4279.                 this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(Original_f_sticker_type));
  4280.             }
  4281.             if ((Original_f_pol_ctl == null)) {
  4282.                 this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
  4283.                 this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
  4284.             }
  4285.             else {
  4286.                 this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
  4287.                 this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_f_pol_ctl));
  4288.             }
  4289.             if ((Original_e_order_no == null)) {
  4290.                 this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
  4291.                 this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
  4292.             }
  4293.             else {
  4294.                 this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
  4295.                 this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_e_order_no));
  4296.             }
  4297.             if ((Original_e_distribute_no == null)) {
  4298.                 this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
  4299.                 this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
  4300.             }
  4301.             else {
  4302.                 this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
  4303.                 this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_e_distribute_no));
  4304.             }
  4305.             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  4306.             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
  4307.                         != global::System.Data.ConnectionState.Open)) {
  4308.                 this.Adapter.UpdateCommand.Connection.Open();
  4309.             }
  4310.             try {
  4311.                 int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  4312.                 return returnValue;
  4313.             }
  4314.             finally {
  4315.                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4316.                     this.Adapter.UpdateCommand.Connection.Close();
  4317.                 }
  4318.             }
  4319.         }
  4320.         
  4321.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4322.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4323.         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4324.         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  4325.         public virtual int Update(
  4326.                     string s_type, 
  4327.                     string i_ag, 
  4328.                     string e_bookno, 
  4329.                     string e_receipt, 
  4330.                     global::System.Nullable<global::System.DateTime> d_approve_withdraw, 
  4331.                     string i_approve_withdraw, 
  4332.                     string f_status, 
  4333.                     global::System.Nullable<global::System.DateTime> d_status, 
  4334.                     string i_status, 
  4335.                     string i_control, 
  4336.                     string i_ag_sub, 
  4337.                     string f_transfer, 
  4338.                     global::System.Nullable<global::System.DateTime> d_transfer, 
  4339.                     global::System.Nullable<global::System.DateTime> d_upload_stick, 
  4340.                     string i_agen_code, 
  4341.                     string c_agen_codename, 
  4342.                     string _i_agen_code_, 
  4343.                     string f_receive_copy, 
  4344.                     string i_receive_copy, 
  4345.                     global::System.Nullable<global::System.DateTime> d_receive_copy, 
  4346.                     string f_sticker_type, 
  4347.                     string f_pol_ctl, 
  4348.                     string e_order_no, 
  4349.                     string e_distribute_no, 
  4350.                     string Original_c_year, 
  4351.                     string Original_s_type, 
  4352.                     string Original_e_pol_no, 
  4353.                     string Original_i_ag, 
  4354.                     string Original_e_barcode, 
  4355.                     string Original_e_bookno, 
  4356.                     string Original_e_receipt, 
  4357.                     global::System.Nullable<global::System.DateTime> Original_d_approve_withdraw, 
  4358.                     string Original_i_approve_withdraw, 
  4359.                     string Original_f_status, 
  4360.                     global::System.Nullable<global::System.DateTime> Original_d_status, 
  4361.                     string Original_i_status, 
  4362.                     string Original_i_control, 
  4363.                     string Original_i_ag_sub, 
  4364.                     string Original_f_transfer, 
  4365.                     global::System.Nullable<global::System.DateTime> Original_d_transfer, 
  4366.                     global::System.Nullable<global::System.DateTime> Original_d_upload_stick, 
  4367.                     string Original_i_agen_code, 
  4368.                     string Original_c_agen_codename, 
  4369.                     string _Original_i_agen_code_, 
  4370.                     string Original_f_receive_copy, 
  4371.                     string Original_i_receive_copy, 
  4372.                     global::System.Nullable<global::System.DateTime> Original_d_receive_copy, 
  4373.                     string Original_f_sticker_type, 
  4374.                     string Original_f_pol_ctl, 
  4375.                     string Original_e_order_no, 
  4376.                     string Original_e_distribute_no) {
  4377.             return this.Update(Original_c_year, s_type, Original_e_pol_no, i_ag, Original_e_barcode, e_bookno, e_receipt, d_approve_withdraw, i_approve_withdraw, f_status, d_status, i_status, i_control, i_ag_sub, f_transfer, d_transfer, d_upload_stick, i_agen_code, c_agen_codename, _i_agen_code_, f_receive_copy, i_receive_copy, d_receive_copy, f_sticker_type, f_pol_ctl, e_order_no, e_distribute_no, Original_c_year, Original_s_type, Original_e_pol_no, Original_i_ag, Original_e_barcode, Original_e_bookno, Original_e_receipt, Original_d_approve_withdraw, Original_i_approve_withdraw, Original_f_status, Original_d_status, Original_i_status, Original_i_control, Original_i_ag_sub, Original_f_transfer, Original_d_transfer, Original_d_upload_stick, Original_i_agen_code, Original_c_agen_codename, _Original_i_agen_code_, Original_f_receive_copy, Original_i_receive_copy, Original_d_receive_copy, Original_f_sticker_type, Original_f_pol_ctl, Original_e_order_no, Original_e_distribute_no);
  4378.         }
  4379.     }
  4380.     
  4381.     /// <summary>
  4382.     ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
  4383.     ///</summary>
  4384.     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  4385.     [global::System.ComponentModel.ToolboxItem(true)]
  4386.     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
  4387.         "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  4388.     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
  4389.     public partial class TableAdapterManager : global::System.ComponentModel.Component {
  4390.         
  4391.         private UpdateOrderOption _updateOrder;
  4392.         
  4393.         private c_stick_distributeTableAdapter _c_stick_distributeTableAdapter;
  4394.         
  4395.         private c_stick_webTableAdapter _c_stick_webTableAdapter;
  4396.         
  4397.         private bool _backupDataSetBeforeUpdate;
  4398.         
  4399.         private global::System.Data.IDbConnection _connection;
  4400.         
  4401.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4402.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4403.         public UpdateOrderOption UpdateOrder {
  4404.             get {
  4405.                 return this._updateOrder;
  4406.             }
  4407.             set {
  4408.                 this._updateOrder = value;
  4409.             }
  4410.         }
  4411.         
  4412.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4413.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4414.         [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  4415.             "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  4416.             "a", "System.Drawing.Design.UITypeEditor")]
  4417.         public c_stick_distributeTableAdapter c_stick_distributeTableAdapter {
  4418.             get {
  4419.                 return this._c_stick_distributeTableAdapter;
  4420.             }
  4421.             set {
  4422.                 this._c_stick_distributeTableAdapter = value;
  4423.             }
  4424.         }
  4425.         
  4426.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4427.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4428.         [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  4429.             "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  4430.             "a", "System.Drawing.Design.UITypeEditor")]
  4431.         public c_stick_webTableAdapter c_stick_webTableAdapter {
  4432.             get {
  4433.                 return this._c_stick_webTableAdapter;
  4434.             }
  4435.             set {
  4436.                 this._c_stick_webTableAdapter = value;
  4437.             }
  4438.         }
  4439.         
  4440.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4441.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4442.         public bool BackupDataSetBeforeUpdate {
  4443.             get {
  4444.                 return this._backupDataSetBeforeUpdate;
  4445.             }
  4446.             set {
  4447.                 this._backupDataSetBeforeUpdate = value;
  4448.             }
  4449.         }
  4450.         
  4451.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4452.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4453.         [global::System.ComponentModel.Browsable(false)]
  4454.         public global::System.Data.IDbConnection Connection {
  4455.             get {
  4456.                 if ((this._connection != null)) {
  4457.                     return this._connection;
  4458.                 }
  4459.                 if (((this._c_stick_distributeTableAdapter != null) 
  4460.                             && (this._c_stick_distributeTableAdapter.Connection != null))) {
  4461.                     return this._c_stick_distributeTableAdapter.Connection;
  4462.                 }
  4463.                 if (((this._c_stick_webTableAdapter != null) 
  4464.                             && (this._c_stick_webTableAdapter.Connection != null))) {
  4465.                     return this._c_stick_webTableAdapter.Connection;
  4466.                 }
  4467.                 return null;
  4468.             }
  4469.             set {
  4470.                 this._connection = value;
  4471.             }
  4472.         }
  4473.         
  4474.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4475.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4476.         [global::System.ComponentModel.Browsable(false)]
  4477.         public int TableAdapterInstanceCount {
  4478.             get {
  4479.                 int count = 0;
  4480.                 if ((this._c_stick_distributeTableAdapter != null)) {
  4481.                     count = (count + 1);
  4482.                 }
  4483.                 if ((this._c_stick_webTableAdapter != null)) {
  4484.                     count = (count + 1);
  4485.                 }
  4486.                 return count;
  4487.             }
  4488.         }
  4489.         
  4490.         /// <summary>
  4491.         ///Update rows in top-down order.
  4492.         ///</summary>
  4493.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4494.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4495.         private int UpdateUpdatedRows(dsReport dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  4496.             int result = 0;
  4497.             if ((this._c_stick_webTableAdapter != null)) {
  4498.                 global::System.Data.DataRow[] updatedRows = dataSet.c_stick_web.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  4499.                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  4500.                 if (((updatedRows != null) 
  4501.                             && (0 < updatedRows.Length))) {
  4502.                     result = (result + this._c_stick_webTableAdapter.Update(updatedRows));
  4503.                     allChangedRows.AddRange(updatedRows);
  4504.                 }
  4505.             }
  4506.             if ((this._c_stick_distributeTableAdapter != null)) {
  4507.                 global::System.Data.DataRow[] updatedRows = dataSet.c_stick_distribute.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  4508.                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  4509.                 if (((updatedRows != null) 
  4510.                             && (0 < updatedRows.Length))) {
  4511.                     result = (result + this._c_stick_distributeTableAdapter.Update(updatedRows));
  4512.                     allChangedRows.AddRange(updatedRows);
  4513.                 }
  4514.             }
  4515.             return result;
  4516.         }
  4517.         
  4518.         /// <summary>
  4519.         ///Insert rows in top-down order.
  4520.         ///</summary>
  4521.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4522.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4523.         private int UpdateInsertedRows(dsReport dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  4524.             int result = 0;
  4525.             if ((this._c_stick_webTableAdapter != null)) {
  4526.                 global::System.Data.DataRow[] addedRows = dataSet.c_stick_web.Select(null, null, global::System.Data.DataViewRowState.Added);
  4527.                 if (((addedRows != null) 
  4528.                             && (0 < addedRows.Length))) {
  4529.                     result = (result + this._c_stick_webTableAdapter.Update(addedRows));
  4530.                     allAddedRows.AddRange(addedRows);
  4531.                 }
  4532.             }
  4533.             if ((this._c_stick_distributeTableAdapter != null)) {
  4534.                 global::System.Data.DataRow[] addedRows = dataSet.c_stick_distribute.Select(null, null, global::System.Data.DataViewRowState.Added);
  4535.                 if (((addedRows != null) 
  4536.                             && (0 < addedRows.Length))) {
  4537.                     result = (result + this._c_stick_distributeTableAdapter.Update(addedRows));
  4538.                     allAddedRows.AddRange(addedRows);
  4539.                 }
  4540.             }
  4541.             return result;
  4542.         }
  4543.         
  4544.         /// <summary>
  4545.         ///Delete rows in bottom-up order.
  4546.         ///</summary>
  4547.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4548.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4549.         private int UpdateDeletedRows(dsReport dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
  4550.             int result = 0;
  4551.             if ((this._c_stick_distributeTableAdapter != null)) {
  4552.                 global::System.Data.DataRow[] deletedRows = dataSet.c_stick_distribute.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  4553.                 if (((deletedRows != null) 
  4554.                             && (0 < deletedRows.Length))) {
  4555.                     result = (result + this._c_stick_distributeTableAdapter.Update(deletedRows));
  4556.                     allChangedRows.AddRange(deletedRows);
  4557.                 }
  4558.             }
  4559.             if ((this._c_stick_webTableAdapter != null)) {
  4560.                 global::System.Data.DataRow[] deletedRows = dataSet.c_stick_web.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  4561.                 if (((deletedRows != null) 
  4562.                             && (0 < deletedRows.Length))) {
  4563.                     result = (result + this._c_stick_webTableAdapter.Update(deletedRows));
  4564.                     allChangedRows.AddRange(deletedRows);
  4565.                 }
  4566.             }
  4567.             return result;
  4568.         }
  4569.         
  4570.         /// <summary>
  4571.         ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
  4572.         ///</summary>
  4573.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4574.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4575.         private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  4576.             if (((updatedRows == null) 
  4577.                         || (updatedRows.Length < 1))) {
  4578.                 return updatedRows;
  4579.             }
  4580.             if (((allAddedRows == null) 
  4581.                         || (allAddedRows.Count < 1))) {
  4582.                 return updatedRows;
  4583.             }
  4584.             global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  4585.             for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
  4586.                 global::System.Data.DataRow row = updatedRows[i];
  4587.                 if ((allAddedRows.Contains(row) == false)) {
  4588.                     realUpdatedRows.Add(row);
  4589.                 }
  4590.             }
  4591.             return realUpdatedRows.ToArray();
  4592.         }
  4593.         
  4594.         /// <summary>
  4595.         ///Update all changes to the dataset.
  4596.         ///</summary>
  4597.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4598.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4599.         public virtual int UpdateAll(dsReport dataSet) {
  4600.             if ((dataSet == null)) {
  4601.                 throw new global::System.ArgumentNullException("dataSet");
  4602.             }
  4603.             if ((dataSet.HasChanges() == false)) {
  4604.                 return 0;
  4605.             }
  4606.             if (((this._c_stick_distributeTableAdapter != null) 
  4607.                         && (this.MatchTableAdapterConnection(this._c_stick_distributeTableAdapter.Connection) == false))) {
  4608.                 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
  4609.                         "tring.");
  4610.             }
  4611.             if (((this._c_stick_webTableAdapter != null) 
  4612.                         && (this.MatchTableAdapterConnection(this._c_stick_webTableAdapter.Connection) == false))) {
  4613.                 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
  4614.                         "tring.");
  4615.             }
  4616.             global::System.Data.IDbConnection workConnection = this.Connection;
  4617.             if ((workConnection == null)) {
  4618.                 throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
  4619.                         "ger TableAdapter property to a valid TableAdapter instance.");
  4620.             }
  4621.             bool workConnOpened = false;
  4622.             if (((workConnection.State & global::System.Data.ConnectionState.Broken) 
  4623.                         == global::System.Data.ConnectionState.Broken)) {
  4624.                 workConnection.Close();
  4625.             }
  4626.             if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
  4627.                 workConnection.Open();
  4628.                 workConnOpened = true;
  4629.             }
  4630.             global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
  4631.             if ((workTransaction == null)) {
  4632.                 throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
  4633.                         "ctions or the current state is not allowing the transaction to begin.");
  4634.             }
  4635.             global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  4636.             global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  4637.             global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
  4638.             global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
  4639.             int result = 0;
  4640.             global::System.Data.DataSet backupDataSet = null;
  4641.             if (this.BackupDataSetBeforeUpdate) {
  4642.                 backupDataSet = new global::System.Data.DataSet();
  4643.                 backupDataSet.Merge(dataSet);
  4644.             }
  4645.             try {
  4646.                 // ---- Prepare for update -----------
  4647.                 //
  4648.                 if ((this._c_stick_distributeTableAdapter != null)) {
  4649.                     revertConnections.Add(this._c_stick_distributeTableAdapter, this._c_stick_distributeTableAdapter.Connection);
  4650.                     this._c_stick_distributeTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  4651.                     this._c_stick_distributeTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  4652.                     if (this._c_stick_distributeTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  4653.                         this._c_stick_distributeTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  4654.                         adaptersWithAcceptChangesDuringUpdate.Add(this._c_stick_distributeTableAdapter.Adapter);
  4655.                     }
  4656.                 }
  4657.                 if ((this._c_stick_webTableAdapter != null)) {
  4658.                     revertConnections.Add(this._c_stick_webTableAdapter, this._c_stick_webTableAdapter.Connection);
  4659.                     this._c_stick_webTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  4660.                     this._c_stick_webTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  4661.                     if (this._c_stick_webTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  4662.                         this._c_stick_webTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  4663.                         adaptersWithAcceptChangesDuringUpdate.Add(this._c_stick_webTableAdapter.Adapter);
  4664.                     }
  4665.                 }
  4666.                 // 
  4667.                 //---- Perform updates -----------
  4668.                 //
  4669.                 if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
  4670.                     result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  4671.                     result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  4672.                 }
  4673.                 else {
  4674.                     result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  4675.                     result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  4676.                 }
  4677.                 result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
  4678.                 // 
  4679.                 //---- Commit updates -----------
  4680.                 //
  4681.                 workTransaction.Commit();
  4682.                 if ((0 < allAddedRows.Count)) {
  4683.                     global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  4684.                     allAddedRows.CopyTo(rows);
  4685.                     for (int i = 0; (i < rows.Length); i = (i + 1)) {
  4686.                         global::System.Data.DataRow row = rows[i];
  4687.                         row.AcceptChanges();
  4688.                     }
  4689.                 }
  4690.                 if ((0 < allChangedRows.Count)) {
  4691.                     global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
  4692.                     allChangedRows.CopyTo(rows);
  4693.                     for (int i = 0; (i < rows.Length); i = (i + 1)) {
  4694.                         global::System.Data.DataRow row = rows[i];
  4695.                         row.AcceptChanges();
  4696.                     }
  4697.                 }
  4698.             }
  4699.             catch (global::System.Exception ex) {
  4700.                 workTransaction.Rollback();
  4701.                 // ---- Restore the dataset -----------
  4702.                 if (this.BackupDataSetBeforeUpdate) {
  4703.                     global::System.Diagnostics.Debug.Assert((backupDataSet != null));
  4704.                     dataSet.Clear();
  4705.                     dataSet.Merge(backupDataSet);
  4706.                 }
  4707.                 else {
  4708.                     if ((0 < allAddedRows.Count)) {
  4709.                         global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  4710.                         allAddedRows.CopyTo(rows);
  4711.                         for (int i = 0; (i < rows.Length); i = (i + 1)) {
  4712.                             global::System.Data.DataRow row = rows[i];
  4713.                             row.AcceptChanges();
  4714.                             row.SetAdded();
  4715.                         }
  4716.                     }
  4717.                 }
  4718.                 throw ex;
  4719.             }
  4720.             finally {
  4721.                 if (workConnOpened) {
  4722.                     workConnection.Close();
  4723.                 }
  4724.                 if ((this._c_stick_distributeTableAdapter != null)) {
  4725.                     this._c_stick_distributeTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._c_stick_distributeTableAdapter]));
  4726.                     this._c_stick_distributeTableAdapter.Transaction = null;
  4727.                 }
  4728.                 if ((this._c_stick_webTableAdapter != null)) {
  4729.                     this._c_stick_webTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._c_stick_webTableAdapter]));
  4730.                     this._c_stick_webTableAdapter.Transaction = null;
  4731.                 }
  4732.                 if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
  4733.                     global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
  4734.                     adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
  4735.                     for (int i = 0; (i < adapters.Length); i = (i + 1)) {
  4736.                         global::System.Data.Common.DataAdapter adapter = adapters[i];
  4737.                         adapter.AcceptChangesDuringUpdate = true;
  4738.                     }
  4739.                 }
  4740.             }
  4741.             return result;
  4742.         }
  4743.         
  4744.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4745.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4746.         protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
  4747.             global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
  4748.         }
  4749.         
  4750.         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4751.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4752.         protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
  4753.             if ((this._connection != null)) {
  4754.                 return true;
  4755.             }
  4756.             if (((this.Connection == null) 
  4757.                         || (inputConnection == null))) {
  4758.                 return true;
  4759.             }
  4760.             if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
  4761.                 return true;
  4762.             }
  4763.             return false;
  4764.         }
  4765.         
  4766.         /// <summary>
  4767.         ///Update Order Option
  4768.         ///</summary>
  4769.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4770.         public enum UpdateOrderOption {
  4771.             
  4772.             InsertUpdateDelete = 0,
  4773.             
  4774.             UpdateInsertDelete = 1,
  4775.         }
  4776.         
  4777.         /// <summary>
  4778.         ///Used to sort self-referenced table's rows
  4779.         ///</summary>
  4780.         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4781.         private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
  4782.             
  4783.             private global::System.Data.DataRelation _relation;
  4784.             
  4785.             private int _childFirst;
  4786.             
  4787.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4788.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4789.             internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
  4790.                 this._relation = relation;
  4791.                 if (childFirst) {
  4792.                     this._childFirst = -1;
  4793.                 }
  4794.                 else {
  4795.                     this._childFirst = 1;
  4796.                 }
  4797.             }
  4798.             
  4799.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4800.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4801.             private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
  4802.                 global::System.Diagnostics.Debug.Assert((row != null));
  4803.                 global::System.Data.DataRow root = row;
  4804.                 distance = 0;
  4805.  
  4806.                 global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
  4807.                 traversedRows[row] = row;
  4808.  
  4809.                 global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  4810.                 for (
  4811.                 ; ((parent != null) 
  4812.                             && (traversedRows.ContainsKey(parent) == false)); 
  4813.                 ) {
  4814.                     distance = (distance + 1);
  4815.                     root = parent;
  4816.                     traversedRows[parent] = parent;
  4817.                     parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  4818.                 }
  4819.  
  4820.                 if ((distance == 0)) {
  4821.                     traversedRows.Clear();
  4822.                     traversedRows[row] = row;
  4823.                     parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  4824.                     for (
  4825.                     ; ((parent != null) 
  4826.                                 && (traversedRows.ContainsKey(parent) == false)); 
  4827.                     ) {
  4828.                         distance = (distance + 1);
  4829.                         root = parent;
  4830.                         traversedRows[parent] = parent;
  4831.                         parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  4832.                     }
  4833.                 }
  4834.  
  4835.                 return root;
  4836.             }
  4837.             
  4838.             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4839.             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
  4840.             public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
  4841.                 if (object.ReferenceEquals(row1, row2)) {
  4842.                     return 0;
  4843.                 }
  4844.                 if ((row1 == null)) {
  4845.                     return -1;
  4846.                 }
  4847.                 if ((row2 == null)) {
  4848.                     return 1;
  4849.                 }
  4850.  
  4851.                 int distance1 = 0;
  4852.                 global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
  4853.  
  4854.                 int distance2 = 0;
  4855.                 global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
  4856.  
  4857.                 if (object.ReferenceEquals(root1, root2)) {
  4858.                     return (this._childFirst * distance1.CompareTo(distance2));
  4859.                 }
  4860.                 else {
  4861.                     global::System.Diagnostics.Debug.Assert(((root1.Table != null) 
  4862.                                     && (root2.Table != null)));
  4863.                     if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
  4864.                         return -1;
  4865.                     }
  4866.                     else {
  4867.                         return 1;
  4868.                     }
  4869.                 }
  4870.             }
  4871.         }
  4872.     }
  4873. }
  4874.  
  4875. #pragma warning restore 1591