Aggiunti button update/cancel
Testing cancel e edit da intestazione...
This commit is contained in:
@@ -43,43 +43,56 @@
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("ProductCode") %>' />
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("CodItem") %>' />
|
||||
<asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="odsProducts" DataValueField="value" DataTextField="value" SelectedValue='<%# Bind("CodItem") %>' />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox1" runat="server" Text='<%# Bind("CodItem") %>' />--%>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("Customer") %>' />
|
||||
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("CodClient") %>' />
|
||||
<asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="odsCustomers" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodClient") %>' CssClass="text-right" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox2" runat="server" Text='<%# Bind("CodClient") %>' CssClass="text-right" />--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("Alloy") %>' />
|
||||
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("RawMat") %>' />
|
||||
<asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="odsRawMat" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("RawMat") %>' />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox3" runat="server" Text='<%# Bind("RawMat") %>' />--%>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("OrderBatch") %>' />
|
||||
<asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("BatchQty") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox4" runat="server" Text='<%# Bind("BatchQty") %>' CssClass="text-right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' />
|
||||
<asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("RawMatCost","{0:C4}") %>' />
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox5" runat="server" Text='<%# Bind("RawMatCost","{0:C4}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("Incoterms") %>' />
|
||||
<asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("CodInco") %>' />
|
||||
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="odsIncoterms" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodInco") %>' CssClass="text-right" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox6" runat="server" Text='<%# Bind("CodInco") %>' CssClass="text-right" />--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("ExtraAlloy") %>' />
|
||||
<asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("RawMatExtraCost","{0:C4}") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox7" runat="server" Text='<%# Bind("RawMatExtraCost","{0:C4}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("Agency") %>' />
|
||||
<asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("ProvvCost","{0:C4}") %>' />
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("Agency") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox8" runat="server" Text='<%# Bind("ProvvCost","{0:C4}") %>' CssClass="text-right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-xs-offset-3">
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="btn btn-success" Width="100%" CausesValidation="True" CommandName="Update"><i class="fa fa-check"></i> <%: traduci("Update") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-danger" Width="100%" CausesValidation="False" CommandName="Cancel"><i class="fa fa-undo"></i> <%: traduci("Cancel") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter">
|
||||
@@ -93,3 +106,7 @@
|
||||
<asp:Label runat="server" ID="lblQuoteType" Visible="false" Text="" />
|
||||
<asp:Label runat="server" ID="lblCodQuote" Visible="false" Text="" />
|
||||
<asp:Label runat="server" ID="lblQuoteRev" Visible="false" Text="" />
|
||||
<asp:ObjectDataSource ID="odsProducts" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selItemsTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsCustomers" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selClientTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsRawMat" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selRawMatTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsIncoterms" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selIncotermsTableAdapter"></asp:ObjectDataSource>
|
||||
|
||||
+36
@@ -56,5 +56,41 @@ namespace C2P.WebUserControls {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblQuoteRev;
|
||||
|
||||
/// <summary>
|
||||
/// odsProducts control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsProducts;
|
||||
|
||||
/// <summary>
|
||||
/// odsCustomers control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsCustomers;
|
||||
|
||||
/// <summary>
|
||||
/// odsRawMat control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsRawMat;
|
||||
|
||||
/// <summary>
|
||||
/// odsIncoterms control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsIncoterms;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +79,8 @@ namespace C2P.WebUserControls
|
||||
QuoteType = Request.QueryString["QuoteType"];
|
||||
CodQuote = Request.QueryString["CodQuote"];
|
||||
QuoteRev = Request.QueryString["QuoteRev"];
|
||||
setModVisibility("");
|
||||
prevReq = "";
|
||||
setModVisibility("Header");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+566
@@ -32,6 +32,8 @@ namespace C2P_Data {
|
||||
|
||||
private v_selConsDataTable tablev_selCons;
|
||||
|
||||
private v_selIncotermsDataTable tablev_selIncoterms;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -72,6 +74,9 @@ namespace C2P_Data {
|
||||
if ((ds.Tables["v_selCons"] != null)) {
|
||||
base.Tables.Add(new v_selConsDataTable(ds.Tables["v_selCons"]));
|
||||
}
|
||||
if ((ds.Tables["v_selIncoterms"] != null)) {
|
||||
base.Tables.Add(new v_selIncotermsDataTable(ds.Tables["v_selIncoterms"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -130,6 +135,16 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
||||
public v_selIncotermsDataTable v_selIncoterms {
|
||||
get {
|
||||
return this.tablev_selIncoterms;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||
@@ -209,6 +224,9 @@ namespace C2P_Data {
|
||||
if ((ds.Tables["v_selCons"] != null)) {
|
||||
base.Tables.Add(new v_selConsDataTable(ds.Tables["v_selCons"]));
|
||||
}
|
||||
if ((ds.Tables["v_selIncoterms"] != null)) {
|
||||
base.Tables.Add(new v_selIncotermsDataTable(ds.Tables["v_selIncoterms"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -266,6 +284,12 @@ namespace C2P_Data {
|
||||
this.tablev_selCons.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablev_selIncoterms = ((v_selIncotermsDataTable)(base.Tables["v_selIncoterms"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablev_selIncoterms != null)) {
|
||||
this.tablev_selIncoterms.InitVars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -284,6 +308,8 @@ namespace C2P_Data {
|
||||
base.Tables.Add(this.tablev_selRawMat);
|
||||
this.tablev_selCons = new v_selConsDataTable();
|
||||
base.Tables.Add(this.tablev_selCons);
|
||||
this.tablev_selIncoterms = new v_selIncotermsDataTable();
|
||||
base.Tables.Add(this.tablev_selIncoterms);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -310,6 +336,12 @@ namespace C2P_Data {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private bool ShouldSerializev_selIncoterms() {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
||||
@@ -377,6 +409,9 @@ namespace C2P_Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void v_selConsRowChangeEventHandler(object sender, v_selConsRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public delegate void v_selIncotermsRowChangeEventHandler(object sender, v_selIncotermsRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -1478,6 +1513,281 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class v_selIncotermsDataTable : global::System.Data.TypedTableBase<v_selIncotermsRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnvalue;
|
||||
|
||||
private global::System.Data.DataColumn columnlabel;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selIncotermsDataTable() {
|
||||
this.TableName = "v_selIncoterms";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal v_selIncotermsDataTable(global::System.Data.DataTable table) {
|
||||
this.TableName = table.TableName;
|
||||
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
||||
this.CaseSensitive = table.CaseSensitive;
|
||||
}
|
||||
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
||||
this.Locale = table.Locale;
|
||||
}
|
||||
if ((table.Namespace != table.DataSet.Namespace)) {
|
||||
this.Namespace = table.Namespace;
|
||||
}
|
||||
this.Prefix = table.Prefix;
|
||||
this.MinimumCapacity = table.MinimumCapacity;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected v_selIncotermsDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||
base(info, context) {
|
||||
this.InitVars();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn valueColumn {
|
||||
get {
|
||||
return this.columnvalue;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn labelColumn {
|
||||
get {
|
||||
return this.columnlabel;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
public int Count {
|
||||
get {
|
||||
return this.Rows.Count;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selIncotermsRow this[int index] {
|
||||
get {
|
||||
return ((v_selIncotermsRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_selIncotermsRowChangeEventHandler v_selIncotermsRowChanging;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_selIncotermsRowChangeEventHandler v_selIncotermsRowChanged;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_selIncotermsRowChangeEventHandler v_selIncotermsRowDeleting;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public event v_selIncotermsRowChangeEventHandler v_selIncotermsRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Addv_selIncotermsRow(v_selIncotermsRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selIncotermsRow Addv_selIncotermsRow(string value, string label) {
|
||||
v_selIncotermsRow rowv_selIncotermsRow = ((v_selIncotermsRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
value,
|
||||
label};
|
||||
rowv_selIncotermsRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowv_selIncotermsRow);
|
||||
return rowv_selIncotermsRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selIncotermsRow FindByvalue(string value) {
|
||||
return ((v_selIncotermsRow)(this.Rows.Find(new object[] {
|
||||
value})));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
v_selIncotermsDataTable cln = ((v_selIncotermsDataTable)(base.Clone()));
|
||||
cln.InitVars();
|
||||
return cln;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override global::System.Data.DataTable CreateInstance() {
|
||||
return new v_selIncotermsDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columnvalue = base.Columns["value"];
|
||||
this.columnlabel = base.Columns["label"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitClass() {
|
||||
this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnvalue);
|
||||
this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnlabel);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnvalue}, true));
|
||||
this.columnvalue.AllowDBNull = false;
|
||||
this.columnvalue.Unique = true;
|
||||
this.columnvalue.MaxLength = 5;
|
||||
this.columnlabel.ReadOnly = true;
|
||||
this.columnlabel.MaxLength = 258;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selIncotermsRow Newv_selIncotermsRow() {
|
||||
return ((v_selIncotermsRow)(this.NewRow()));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
||||
return new v_selIncotermsRow(builder);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override global::System.Type GetRowType() {
|
||||
return typeof(v_selIncotermsRow);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanged(e);
|
||||
if ((this.v_selIncotermsRowChanged != null)) {
|
||||
this.v_selIncotermsRowChanged(this, new v_selIncotermsRowChangeEvent(((v_selIncotermsRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanging(e);
|
||||
if ((this.v_selIncotermsRowChanging != null)) {
|
||||
this.v_selIncotermsRowChanging(this, new v_selIncotermsRowChangeEvent(((v_selIncotermsRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleted(e);
|
||||
if ((this.v_selIncotermsRowDeleted != null)) {
|
||||
this.v_selIncotermsRowDeleted(this, new v_selIncotermsRowChangeEvent(((v_selIncotermsRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleting(e);
|
||||
if ((this.v_selIncotermsRowDeleting != null)) {
|
||||
this.v_selIncotermsRowDeleting(this, new v_selIncotermsRowChangeEvent(((v_selIncotermsRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void Removev_selIncotermsRow(v_selIncotermsRow row) {
|
||||
this.Rows.Remove(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
||||
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
||||
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
||||
DS_Utility ds = new DS_Utility();
|
||||
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
||||
any1.MinOccurs = new decimal(0);
|
||||
any1.MaxOccurs = decimal.MaxValue;
|
||||
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any1);
|
||||
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
||||
any2.MinOccurs = new decimal(1);
|
||||
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any2);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute1.Name = "namespace";
|
||||
attribute1.FixedValue = ds.Namespace;
|
||||
type.Attributes.Add(attribute1);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute2.Name = "tableTypeName";
|
||||
attribute2.FixedValue = "v_selIncotermsDataTable";
|
||||
type.Attributes.Add(attribute2);
|
||||
type.Particle = sequence;
|
||||
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
||||
if (xs.Contains(dsSchema.TargetNamespace)) {
|
||||
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
||||
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
||||
try {
|
||||
global::System.Xml.Schema.XmlSchema schema = null;
|
||||
dsSchema.Write(s1);
|
||||
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
||||
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
||||
s2.SetLength(0);
|
||||
schema.Write(s2);
|
||||
if ((s1.Length == s2.Length)) {
|
||||
s1.Position = 0;
|
||||
s2.Position = 0;
|
||||
for (; ((s1.Position != s1.Length)
|
||||
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
||||
;
|
||||
}
|
||||
if ((s1.Position == s1.Length)) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally {
|
||||
if ((s1 != null)) {
|
||||
s1.Close();
|
||||
}
|
||||
if ((s2 != null)) {
|
||||
s2.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
xs.Add(dsSchema);
|
||||
return type;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -1677,6 +1987,60 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
public partial class v_selIncotermsRow : global::System.Data.DataRow {
|
||||
|
||||
private v_selIncotermsDataTable tablev_selIncoterms;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal v_selIncotermsRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tablev_selIncoterms = ((v_selIncotermsDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string value {
|
||||
get {
|
||||
return ((string)(this[this.tablev_selIncoterms.valueColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tablev_selIncoterms.valueColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string label {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablev_selIncoterms.labelColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selIncoterms\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_selIncoterms.labelColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IslabelNull() {
|
||||
return this.IsNull(this.tablev_selIncoterms.labelColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetlabelNull() {
|
||||
this[this.tablev_selIncoterms.labelColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -1812,6 +2176,40 @@ namespace C2P_Data {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public class v_selIncotermsRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private v_selIncotermsRow eventRow;
|
||||
|
||||
private global::System.Data.DataRowAction eventAction;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selIncotermsRowChangeEvent(v_selIncotermsRow row, global::System.Data.DataRowAction action) {
|
||||
this.eventRow = row;
|
||||
this.eventAction = action;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selIncotermsRow Row {
|
||||
get {
|
||||
return this.eventRow;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataRowAction Action {
|
||||
get {
|
||||
return this.eventAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace C2P_Data.DS_UtilityTableAdapters {
|
||||
@@ -2558,6 +2956,174 @@ namespace C2P_Data.DS_UtilityTableAdapters {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the connection and commands used to retrieve and save data.
|
||||
///</summary>
|
||||
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[global::System.ComponentModel.ToolboxItem(true)]
|
||||
[global::System.ComponentModel.DataObjectAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
||||
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public partial class v_selIncotermsTableAdapter : global::System.ComponentModel.Component {
|
||||
|
||||
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
||||
|
||||
private global::System.Data.SqlClient.SqlConnection _connection;
|
||||
|
||||
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
||||
|
||||
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
||||
|
||||
private bool _clearBeforeFill;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public v_selIncotermsTableAdapter() {
|
||||
this.ClearBeforeFill = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
||||
get {
|
||||
if ((this._adapter == null)) {
|
||||
this.InitAdapter();
|
||||
}
|
||||
return this._adapter;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal global::System.Data.SqlClient.SqlConnection Connection {
|
||||
get {
|
||||
if ((this._connection == null)) {
|
||||
this.InitConnection();
|
||||
}
|
||||
return this._connection;
|
||||
}
|
||||
set {
|
||||
this._connection = value;
|
||||
if ((this.Adapter.InsertCommand != null)) {
|
||||
this.Adapter.InsertCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.DeleteCommand != null)) {
|
||||
this.Adapter.DeleteCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.UpdateCommand != null)) {
|
||||
this.Adapter.UpdateCommand.Connection = value;
|
||||
}
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
if ((this.CommandCollection[i] != null)) {
|
||||
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
||||
get {
|
||||
return this._transaction;
|
||||
}
|
||||
set {
|
||||
this._transaction = value;
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
this.CommandCollection[i].Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.DeleteCommand != null))) {
|
||||
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.InsertCommand != null))) {
|
||||
this.Adapter.InsertCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.UpdateCommand != null))) {
|
||||
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
||||
get {
|
||||
if ((this._commandCollection == null)) {
|
||||
this.InitCommandCollection();
|
||||
}
|
||||
return this._commandCollection;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool ClearBeforeFill {
|
||||
get {
|
||||
return this._clearBeforeFill;
|
||||
}
|
||||
set {
|
||||
this._clearBeforeFill = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitAdapter() {
|
||||
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
||||
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
||||
tableMapping.SourceTable = "Table";
|
||||
tableMapping.DataSetTable = "v_selIncoterms";
|
||||
tableMapping.ColumnMappings.Add("value", "value");
|
||||
tableMapping.ColumnMappings.Add("label", "label");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitConnection() {
|
||||
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
||||
this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT value, label FROM dbo.v_selIncoterms";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
||||
public virtual int Fill(DS_Utility.v_selIncotermsDataTable dataTable) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
||||
public virtual DS_Utility.v_selIncotermsDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_Utility.v_selIncotermsDataTable dataTable = new DS_Utility.v_selIncotermsDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
|
||||
+45
-4
@@ -112,6 +112,23 @@
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selIncotermsTableAdapter" GeneratorDataComponentClassName="v_selIncotermsTableAdapter" Name="v_selIncoterms" UserDataComponentName="v_selIncotermsTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.v_selIncoterms" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT value, label FROM dbo.v_selIncoterms</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="value" DataSetColumn="value" />
|
||||
<Mapping SourceColumn="label" DataSetColumn="label" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -120,7 +137,7 @@
|
||||
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Utility" msprop:Generator_UserDSName="DS_Utility">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="v_selClient" msprop:Generator_TableClassName="v_selClientDataTable" msprop:Generator_TableVarName="tablev_selClient" msprop:Generator_RowChangedName="v_selClientRowChanged" msprop:Generator_TablePropName="v_selClient" msprop:Generator_RowDeletingName="v_selClientRowDeleting" msprop:Generator_RowChangingName="v_selClientRowChanging" msprop:Generator_RowEvHandlerName="v_selClientRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientRowDeleted" msprop:Generator_RowClassName="v_selClientRow" msprop:Generator_UserTableName="v_selClient" msprop:Generator_RowEvArgName="v_selClientRowChangeEvent">
|
||||
<xs:element name="v_selClient" msprop:Generator_TableClassName="v_selClientDataTable" msprop:Generator_TableVarName="tablev_selClient" msprop:Generator_TablePropName="v_selClient" msprop:Generator_RowDeletingName="v_selClientRowDeleting" msprop:Generator_RowChangingName="v_selClientRowChanging" msprop:Generator_RowEvHandlerName="v_selClientRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientRowDeleted" msprop:Generator_UserTableName="v_selClient" msprop:Generator_RowChangedName="v_selClientRowChanged" msprop:Generator_RowEvArgName="v_selClientRowChangeEvent" msprop:Generator_RowClassName="v_selClientRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -140,7 +157,7 @@
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selItems" msprop:Generator_TableClassName="v_selItemsDataTable" msprop:Generator_TableVarName="tablev_selItems" msprop:Generator_TablePropName="v_selItems" msprop:Generator_RowDeletingName="v_selItemsRowDeleting" msprop:Generator_RowChangingName="v_selItemsRowChanging" msprop:Generator_RowEvHandlerName="v_selItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selItemsRowDeleted" msprop:Generator_UserTableName="v_selItems" msprop:Generator_RowChangedName="v_selItemsRowChanged" msprop:Generator_RowEvArgName="v_selItemsRowChangeEvent" msprop:Generator_RowClassName="v_selItemsRow">
|
||||
<xs:element name="v_selItems" msprop:Generator_TableClassName="v_selItemsDataTable" msprop:Generator_TableVarName="tablev_selItems" msprop:Generator_RowChangedName="v_selItemsRowChanged" msprop:Generator_TablePropName="v_selItems" msprop:Generator_RowDeletingName="v_selItemsRowDeleting" msprop:Generator_RowChangingName="v_selItemsRowChanging" msprop:Generator_RowEvHandlerName="v_selItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selItemsRowDeleted" msprop:Generator_RowClassName="v_selItemsRow" msprop:Generator_UserTableName="v_selItems" msprop:Generator_RowEvArgName="v_selItemsRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -160,7 +177,7 @@
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selRawMat" msprop:Generator_TableClassName="v_selRawMatDataTable" msprop:Generator_TableVarName="tablev_selRawMat" msprop:Generator_RowChangedName="v_selRawMatRowChanged" msprop:Generator_TablePropName="v_selRawMat" msprop:Generator_RowDeletingName="v_selRawMatRowDeleting" msprop:Generator_RowChangingName="v_selRawMatRowChanging" msprop:Generator_RowEvHandlerName="v_selRawMatRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selRawMatRowDeleted" msprop:Generator_RowClassName="v_selRawMatRow" msprop:Generator_UserTableName="v_selRawMat" msprop:Generator_RowEvArgName="v_selRawMatRowChangeEvent">
|
||||
<xs:element name="v_selRawMat" msprop:Generator_TableClassName="v_selRawMatDataTable" msprop:Generator_TableVarName="tablev_selRawMat" msprop:Generator_TablePropName="v_selRawMat" msprop:Generator_RowDeletingName="v_selRawMatRowDeleting" msprop:Generator_RowChangingName="v_selRawMatRowChanging" msprop:Generator_RowEvHandlerName="v_selRawMatRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selRawMatRowDeleted" msprop:Generator_UserTableName="v_selRawMat" msprop:Generator_RowChangedName="v_selRawMatRowChanged" msprop:Generator_RowEvArgName="v_selRawMatRowChangeEvent" msprop:Generator_RowClassName="v_selRawMatRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -180,7 +197,27 @@
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selCons" msprop:Generator_TableClassName="v_selConsDataTable" msprop:Generator_TableVarName="tablev_selCons" msprop:Generator_TablePropName="v_selCons" msprop:Generator_RowDeletingName="v_selConsRowDeleting" msprop:Generator_RowChangingName="v_selConsRowChanging" msprop:Generator_RowEvHandlerName="v_selConsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selConsRowDeleted" msprop:Generator_UserTableName="v_selCons" msprop:Generator_RowChangedName="v_selConsRowChanged" msprop:Generator_RowEvArgName="v_selConsRowChangeEvent" msprop:Generator_RowClassName="v_selConsRow">
|
||||
<xs:element name="v_selCons" msprop:Generator_TableClassName="v_selConsDataTable" msprop:Generator_TableVarName="tablev_selCons" msprop:Generator_RowChangedName="v_selConsRowChanged" msprop:Generator_TablePropName="v_selCons" msprop:Generator_RowDeletingName="v_selConsRowDeleting" msprop:Generator_RowChangingName="v_selConsRowChanging" msprop:Generator_RowEvHandlerName="v_selConsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selConsRowDeleted" msprop:Generator_RowClassName="v_selConsRow" msprop:Generator_UserTableName="v_selCons" msprop:Generator_RowEvArgName="v_selConsRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="5" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="258" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selIncoterms" msprop:Generator_TableClassName="v_selIncotermsDataTable" msprop:Generator_TableVarName="tablev_selIncoterms" msprop:Generator_TablePropName="v_selIncoterms" msprop:Generator_RowDeletingName="v_selIncotermsRowDeleting" msprop:Generator_RowChangingName="v_selIncotermsRowChanging" msprop:Generator_RowEvHandlerName="v_selIncotermsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selIncotermsRowDeleted" msprop:Generator_UserTableName="v_selIncoterms" msprop:Generator_RowChangedName="v_selIncotermsRowChanged" msprop:Generator_RowEvArgName="v_selIncotermsRowChangeEvent" msprop:Generator_RowClassName="v_selIncotermsRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -219,5 +256,9 @@
|
||||
<xs:selector xpath=".//mstns:v_selCons" />
|
||||
<xs:field xpath="mstns:value" />
|
||||
</xs:unique>
|
||||
<xs:unique name="v_selIncoterms_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:v_selIncoterms" />
|
||||
<xs:field xpath="mstns:value" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
Reference in New Issue
Block a user