Fix ricerca con filtraggio stato/tipo quote

This commit is contained in:
Samuele E. Locatelli
2014-05-23 09:00:06 +02:00
parent d657128154
commit 8af3b07d87
14 changed files with 721 additions and 79 deletions
+2 -2
View File
@@ -33,8 +33,8 @@ function fixTabs() {
- Abilitazione buttongroups radio jQueryui
------------------------------------------------------------------*/
function fixRadioBtnGroup() {
$(".radioBtnGrp").buttonset();
$("#radio").buttonset();
//$(".radioBtnGrp").buttonset();
//$("#radio").buttonset();
}
/*------------------------------------------------------------------
+35 -34
View File
@@ -15,34 +15,23 @@
<h3 class="panel-title"><%: traduci("SearchFilters") %></h3>
</div>
<div class="panel-body">
<%--<script type="text/javascript">
$(document).ready(function () { $("#<%= rblStato.ClientID %>").buttonset(); });
$(document).ready(function () { $("#<%= rblTipo.ClientID %>").buttonset(); });
</script>--%>
<div class="row" style="min-height: 3.3em;">
<div class="col-sm-3">
Stato
</div>
<div class="col-sm-9">
<asp:RadioButtonList ID="rblStato" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" CssClass="radioBtnGrp">
<asp:ListItem Value="-" Selected="True"></asp:ListItem>
<asp:ListItem Value="D"></asp:ListItem>
<asp:ListItem Value="C"></asp:ListItem>
<asp:ListItem Value="A"></asp:ListItem>
<asp:ListItem Value="R"></asp:ListItem>
<div class="col-sm-12">
<asp:RadioButtonList ID="rblQState" runat="server" AutoPostBack="True" class="btn-group btn-group-justified" RepeatDirection="Horizontal" RepeatLayout="Flow">
<asp:ListItem Value="-1" Text="All" Selected="True" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="0" Text="Draft" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="1" Text="Compl" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="2" Text="Appr" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="3" Text="Rel" class="btn btn-default btn-xs"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
<div class="row" style="min-height: 3.3em;">
<div class="col-sm-3">
Tipo
</div>
<div class="col-sm-9">
<asp:RadioButtonList ID="rblTipo" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" CssClass="radioBtnGrp">
<asp:ListItem Value="Q"></asp:ListItem>
<asp:ListItem Value="S"></asp:ListItem>
<asp:ListItem Value="Q+S" Selected="True"></asp:ListItem>
<div class="col-sm-12">
<asp:RadioButtonList ID="rblTipo" runat="server" AutoPostBack="True" class="btn-group btn-group-justified" RepeatDirection="Horizontal" RepeatLayout="Flow">
<asp:ListItem Value="*" Text="All" Selected="True" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="Q" Text="Quotes" class="btn btn-default btn-xs"></asp:ListItem>
<asp:ListItem Value="S" Text="Simulation" class="btn btn-default btn-xs"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
@@ -93,7 +82,6 @@
<asp:LinkButton runat="server" ID="lbtReset" CssClass="btn btn-warning" Width="100%" OnClick="lbtReset_Click"><%: traduci("Reset") %></asp:LinkButton>
</div>
</div>
--numero record--
</div>
</div>
</div>
@@ -133,7 +121,9 @@
<asp:BoundField DataField="ClientName" HeaderText="Customer" SortExpression="ClientName" ReadOnly="true" />
<asp:BoundField DataField="RawMat" HeaderText="Alloy" SortExpression="RawMat" ReadOnly="true" />
<asp:BoundField DataField="CodItem" HeaderText="Item" SortExpression="CodItem" ReadOnly="true" />
<asp:BoundField DataField="BatchQty" HeaderText="Qty" SortExpression="BatchQty" ReadOnly="true" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N0}" HtmlEncode="false" />
<asp:BoundField DataField="BatchQty" HeaderText="Qty" SortExpression="BatchQty" ReadOnly="true" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N0}" HtmlEncode="false" >
<ItemStyle HorizontalAlign="Right"></ItemStyle>
</asp:BoundField>
<asp:TemplateField HeaderText="RMFC" SortExpression="RawMatFullCost" ItemStyle-HorizontalAlign="Right">
<%--<HeaderTemplate>
<asp:Label runat="server" ID="lblHeadRMFC" Text="RMFC" ToolTip="Raw Material Full Cost" />
@@ -141,6 +131,8 @@
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("RawMatFullCost", "{0:C3}") %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Right"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="FC" SortExpression="FullCost" ItemStyle-HorizontalAlign="Right">
<%--<HeaderTemplate>
@@ -149,6 +141,8 @@
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("FullCost", "{0:C3}") %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Right"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="MP" SortExpression="MinPrice" ItemStyle-HorizontalAlign="Right">
<%--<HeaderTemplate>
@@ -157,6 +151,8 @@
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("MinPrice", "{0:C3}") %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Right"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="PO" SortExpression="PriceOff" ItemStyle-HorizontalAlign="Right">
<%--<HeaderTemplate>
@@ -168,6 +164,8 @@
<EditItemTemplate>
<asp:TextBox ID="txtPriceOff" runat="server" Text='<%# Bind("PriceOff") %>' Width="5em" />
</EditItemTemplate>
<ItemStyle HorizontalAlign="Right"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
@@ -181,28 +179,31 @@
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label runat="server" ID="lblResults" CssClass="didascalia"><%: numRecords %></asp:Label>
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getBySearch" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="QuoteFull_Q_update" FilterExpression="ClientName LIKE '%{0}%' OR RawMat LIKE '%{0}%' OR CodItem LIKE '%{0}%' OR CONVERT(CodQuote, 'System.String') LIKE '%{0}%'">
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getBySearch" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" FilterExpression="ClientName LIKE '%{0}%' OR RawMat LIKE '%{0}%' OR CodItem LIKE '%{0}%' OR CONVERT(CodQuote, 'System.String') LIKE '%{0}%'">
<FilterParameters>
<asp:SessionParameter SessionField="searchVal" Type="String" DefaultValue="*" />
</FilterParameters>
<SelectParameters>
<asp:ControlParameter ControlID="acClient" PropertyName="valore" Name="CodClient" DefaultValue="" Type="String" />
<asp:ControlParameter ControlID="acMaterial" PropertyName="valore" Name="RawMat" DefaultValue="" Type="String" />
<asp:ControlParameter ControlID="acItem" PropertyName="valore" Name="CodItem" DefaultValue="" Type="String" />
<asp:ControlParameter ControlID="acMaterial" PropertyName="valore" Name="RawMat" DefaultValue="" Type="String" />
<asp:ControlParameter ControlID="mod_selPeriodo1" PropertyName="inizio" Name="DataMin" Type="DateTime" DefaultValue="" />
<asp:ControlParameter ControlID="mod_selPeriodo1" PropertyName="fine" Name="DataMax" Type="DateTime" DefaultValue="" />
<asp:ControlParameter ControlID="mod_range1" PropertyName="minValSel" Name="qtaMin" Type="Int32" />
<asp:ControlParameter ControlID="mod_range1" PropertyName="maxValSel" Name="qtaMax" Type="Int32" />
<asp:ControlParameter ControlID="rblTipo" DefaultValue="*" Name="QuoteType" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="rblQState" DefaultValue="-1" Name="IdxQState" PropertyName="SelectedValue" Type="Int32" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="QuoteType" Type="String" />
<asp:Parameter Name="CodQuote" Type="Int64" />
<asp:Parameter Name="QuoteRev" Type="Int32" />
<asp:Parameter Name="PriceOff" Type="Decimal" />
</UpdateParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<asp:Label runat="server" ID="lblResults" CssClass="didascalia"><%: numRecords %></asp:Label>
</div>
<div class="col-sm-6 text-right">
--numero record--
</div>
</div>
</div>
</div>
+11 -11
View File
@@ -22,13 +22,13 @@ namespace C2P.WebUserControls {
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1;
/// <summary>
/// rblStato control.
/// rblQState 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.RadioButtonList rblStato;
protected global::System.Web.UI.WebControls.RadioButtonList rblQState;
/// <summary>
/// rblTipo control.
@@ -147,15 +147,6 @@ namespace C2P.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// lblResults 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.Label lblResults;
/// <summary>
/// odsQuotes control.
/// </summary>
@@ -164,5 +155,14 @@ namespace C2P.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsQuotes;
/// <summary>
/// lblResults 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.Label lblResults;
}
}
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15 -1
View File
@@ -16291,6 +16291,8 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMax", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtaMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtaMax", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_QLF_getLast";
@@ -16495,7 +16497,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
[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, false)]
public virtual DS_Quotes.QuoteFull_QDataTable getBySearch(string CodClient, string CodItem, string RawMat, global::System.Nullable<global::System.DateTime> DataMin, global::System.Nullable<global::System.DateTime> DataMax, global::System.Nullable<int> qtaMin, global::System.Nullable<int> qtaMax) {
public virtual DS_Quotes.QuoteFull_QDataTable getBySearch(string CodClient, string CodItem, string RawMat, global::System.Nullable<global::System.DateTime> DataMin, global::System.Nullable<global::System.DateTime> DataMax, global::System.Nullable<int> qtaMin, global::System.Nullable<int> qtaMax, string QuoteType, global::System.Nullable<int> IdxQState) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((CodClient == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -16539,6 +16541,18 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
else {
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
}
if ((QuoteType == null)) {
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[8].Value = ((string)(QuoteType));
}
if ((IdxQState.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[9].Value = ((int)(IdxQState.Value));
}
else {
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
}
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
+15 -13
View File
@@ -912,6 +912,8 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataMax" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtaMin" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtaMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxQState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1668,7 +1670,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
<xs:element name="DS_Quotes" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Quotes" msprop:Generator_UserDSName="DS_Quotes">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="QuoteList" msprop:Generator_TableClassName="QuoteListDataTable" msprop:Generator_TableVarName="tableQuoteList" msprop:Generator_TablePropName="QuoteList" msprop:Generator_RowDeletingName="QuoteListRowDeleting" msprop:Generator_RowChangingName="QuoteListRowChanging" msprop:Generator_RowEvHandlerName="QuoteListRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteListRowDeleted" msprop:Generator_UserTableName="QuoteList" msprop:Generator_RowChangedName="QuoteListRowChanged" msprop:Generator_RowEvArgName="QuoteListRowChangeEvent" msprop:Generator_RowClassName="QuoteListRow">
<xs:element name="QuoteList" msprop:Generator_TableClassName="QuoteListDataTable" msprop:Generator_TableVarName="tableQuoteList" msprop:Generator_RowChangedName="QuoteListRowChanged" msprop:Generator_TablePropName="QuoteList" msprop:Generator_RowDeletingName="QuoteListRowDeleting" msprop:Generator_RowChangingName="QuoteListRowChanging" msprop:Generator_RowEvHandlerName="QuoteListRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteListRowDeleted" msprop:Generator_RowClassName="QuoteListRow" msprop:Generator_UserTableName="QuoteList" msprop:Generator_RowEvArgName="QuoteListRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1752,7 +1754,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteRM" msprop:Generator_TableClassName="QuoteRMDataTable" msprop:Generator_TableVarName="tableQuoteRM" msprop:Generator_TablePropName="QuoteRM" msprop:Generator_RowDeletingName="QuoteRMRowDeleting" msprop:Generator_RowChangingName="QuoteRMRowChanging" msprop:Generator_RowEvHandlerName="QuoteRMRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteRMRowDeleted" msprop:Generator_UserTableName="QuoteRM" msprop:Generator_RowChangedName="QuoteRMRowChanged" msprop:Generator_RowEvArgName="QuoteRMRowChangeEvent" msprop:Generator_RowClassName="QuoteRMRow">
<xs:element name="QuoteRM" msprop:Generator_TableClassName="QuoteRMDataTable" msprop:Generator_TableVarName="tableQuoteRM" msprop:Generator_RowChangedName="QuoteRMRowChanged" msprop:Generator_TablePropName="QuoteRM" msprop:Generator_RowDeletingName="QuoteRMRowDeleting" msprop:Generator_RowChangingName="QuoteRMRowChanging" msprop:Generator_RowEvHandlerName="QuoteRMRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteRMRowDeleted" msprop:Generator_RowClassName="QuoteRMRow" msprop:Generator_UserTableName="QuoteRM" msprop:Generator_RowEvArgName="QuoteRMRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1788,7 +1790,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteWorkExt" msprop:Generator_TableClassName="QuoteWorkExtDataTable" msprop:Generator_TableVarName="tableQuoteWorkExt" msprop:Generator_TablePropName="QuoteWorkExt" msprop:Generator_RowDeletingName="QuoteWorkExtRowDeleting" msprop:Generator_RowChangingName="QuoteWorkExtRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkExtRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkExtRowDeleted" msprop:Generator_UserTableName="QuoteWorkExt" msprop:Generator_RowChangedName="QuoteWorkExtRowChanged" msprop:Generator_RowEvArgName="QuoteWorkExtRowChangeEvent" msprop:Generator_RowClassName="QuoteWorkExtRow">
<xs:element name="QuoteWorkExt" msprop:Generator_TableClassName="QuoteWorkExtDataTable" msprop:Generator_TableVarName="tableQuoteWorkExt" msprop:Generator_RowChangedName="QuoteWorkExtRowChanged" msprop:Generator_TablePropName="QuoteWorkExt" msprop:Generator_RowDeletingName="QuoteWorkExtRowDeleting" msprop:Generator_RowChangingName="QuoteWorkExtRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkExtRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkExtRowDeleted" msprop:Generator_RowClassName="QuoteWorkExtRow" msprop:Generator_UserTableName="QuoteWorkExt" msprop:Generator_RowEvArgName="QuoteWorkExtRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1813,7 +1815,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteWorkInt" msprop:Generator_TableClassName="QuoteWorkIntDataTable" msprop:Generator_TableVarName="tableQuoteWorkInt" msprop:Generator_TablePropName="QuoteWorkInt" msprop:Generator_RowDeletingName="QuoteWorkIntRowDeleting" msprop:Generator_RowChangingName="QuoteWorkIntRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkIntRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkIntRowDeleted" msprop:Generator_UserTableName="QuoteWorkInt" msprop:Generator_RowChangedName="QuoteWorkIntRowChanged" msprop:Generator_RowEvArgName="QuoteWorkIntRowChangeEvent" msprop:Generator_RowClassName="QuoteWorkIntRow">
<xs:element name="QuoteWorkInt" msprop:Generator_TableClassName="QuoteWorkIntDataTable" msprop:Generator_TableVarName="tableQuoteWorkInt" msprop:Generator_RowChangedName="QuoteWorkIntRowChanged" msprop:Generator_TablePropName="QuoteWorkInt" msprop:Generator_RowDeletingName="QuoteWorkIntRowDeleting" msprop:Generator_RowChangingName="QuoteWorkIntRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkIntRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkIntRowDeleted" msprop:Generator_RowClassName="QuoteWorkIntRow" msprop:Generator_UserTableName="QuoteWorkInt" msprop:Generator_RowEvArgName="QuoteWorkIntRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1893,7 +1895,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteParam" msprop:Generator_TableClassName="QuoteParamDataTable" msprop:Generator_TableVarName="tableQuoteParam" msprop:Generator_TablePropName="QuoteParam" msprop:Generator_RowDeletingName="QuoteParamRowDeleting" msprop:Generator_RowChangingName="QuoteParamRowChanging" msprop:Generator_RowEvHandlerName="QuoteParamRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteParamRowDeleted" msprop:Generator_UserTableName="QuoteParam" msprop:Generator_RowChangedName="QuoteParamRowChanged" msprop:Generator_RowEvArgName="QuoteParamRowChangeEvent" msprop:Generator_RowClassName="QuoteParamRow">
<xs:element name="QuoteParam" msprop:Generator_TableClassName="QuoteParamDataTable" msprop:Generator_TableVarName="tableQuoteParam" msprop:Generator_RowChangedName="QuoteParamRowChanged" msprop:Generator_TablePropName="QuoteParam" msprop:Generator_RowDeletingName="QuoteParamRowDeleting" msprop:Generator_RowChangingName="QuoteParamRowChanging" msprop:Generator_RowEvHandlerName="QuoteParamRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteParamRowDeleted" msprop:Generator_RowClassName="QuoteParamRow" msprop:Generator_UserTableName="QuoteParam" msprop:Generator_RowEvArgName="QuoteParamRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -1930,7 +1932,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteOC" msprop:Generator_TableClassName="QuoteOCDataTable" msprop:Generator_TableVarName="tableQuoteOC" msprop:Generator_TablePropName="QuoteOC" msprop:Generator_RowDeletingName="QuoteOCRowDeleting" msprop:Generator_RowChangingName="QuoteOCRowChanging" msprop:Generator_RowEvHandlerName="QuoteOCRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteOCRowDeleted" msprop:Generator_UserTableName="QuoteOC" msprop:Generator_RowChangedName="QuoteOCRowChanged" msprop:Generator_RowEvArgName="QuoteOCRowChangeEvent" msprop:Generator_RowClassName="QuoteOCRow">
<xs:element name="QuoteOC" msprop:Generator_TableClassName="QuoteOCDataTable" msprop:Generator_TableVarName="tableQuoteOC" msprop:Generator_RowChangedName="QuoteOCRowChanged" msprop:Generator_TablePropName="QuoteOC" msprop:Generator_RowDeletingName="QuoteOCRowDeleting" msprop:Generator_RowChangingName="QuoteOCRowChanging" msprop:Generator_RowEvHandlerName="QuoteOCRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteOCRowDeleted" msprop:Generator_RowClassName="QuoteOCRow" msprop:Generator_UserTableName="QuoteOC" msprop:Generator_RowEvArgName="QuoteOCRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
@@ -2000,7 +2002,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteFull_Q" msprop:Generator_TableClassName="QuoteFull_QDataTable" msprop:Generator_TableVarName="tableQuoteFull_Q" msprop:Generator_RowChangedName="QuoteFull_QRowChanged" msprop:Generator_TablePropName="QuoteFull_Q" msprop:Generator_RowDeletingName="QuoteFull_QRowDeleting" msprop:Generator_RowChangingName="QuoteFull_QRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_QRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_QRowDeleted" msprop:Generator_RowClassName="QuoteFull_QRow" msprop:Generator_UserTableName="QuoteFull_Q" msprop:Generator_RowEvArgName="QuoteFull_QRowChangeEvent">
<xs:element name="QuoteFull_Q" msprop:Generator_TableClassName="QuoteFull_QDataTable" msprop:Generator_TableVarName="tableQuoteFull_Q" msprop:Generator_TablePropName="QuoteFull_Q" msprop:Generator_RowDeletingName="QuoteFull_QRowDeleting" msprop:Generator_RowChangingName="QuoteFull_QRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_QRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_QRowDeleted" msprop:Generator_UserTableName="QuoteFull_Q" msprop:Generator_RowChangedName="QuoteFull_QRowChanged" msprop:Generator_RowEvArgName="QuoteFull_QRowChangeEvent" msprop:Generator_RowClassName="QuoteFull_QRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers">
@@ -2254,7 +2256,7 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteFull_S" msprop:Generator_TableClassName="QuoteFull_SDataTable" msprop:Generator_TableVarName="tableQuoteFull_S" msprop:Generator_TablePropName="QuoteFull_S" msprop:Generator_RowDeletingName="QuoteFull_SRowDeleting" msprop:Generator_RowChangingName="QuoteFull_SRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_SRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_SRowDeleted" msprop:Generator_UserTableName="QuoteFull_S" msprop:Generator_RowChangedName="QuoteFull_SRowChanged" msprop:Generator_RowEvArgName="QuoteFull_SRowChangeEvent" msprop:Generator_RowClassName="QuoteFull_SRow">
<xs:element name="QuoteFull_S" msprop:Generator_TableClassName="QuoteFull_SDataTable" msprop:Generator_TableVarName="tableQuoteFull_S" msprop:Generator_RowChangedName="QuoteFull_SRowChanged" msprop:Generator_TablePropName="QuoteFull_S" msprop:Generator_RowDeletingName="QuoteFull_SRowDeleting" msprop:Generator_RowChangingName="QuoteFull_SRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_SRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_SRowDeleted" msprop:Generator_RowClassName="QuoteFull_SRow" msprop:Generator_UserTableName="QuoteFull_S" msprop:Generator_RowEvArgName="QuoteFull_SRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers">
@@ -2550,11 +2552,11 @@ SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, Co
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_QuoteRM_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteRM" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteRM" msprop:Generator_ChildPropName="GetQuoteRMRows" msprop:Generator_UserRelationName="FK_QuoteRM_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteRM_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteWorkExt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkExt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkExt" msprop:Generator_ChildPropName="GetQuoteWorkExtRows" msprop:Generator_UserRelationName="FK_QuoteWorkExt_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteWorkExt_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteWorkInt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkInt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkInt" msprop:Generator_ChildPropName="GetQuoteWorkIntRows" msprop:Generator_UserRelationName="FK_QuoteWorkInt_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteWorkInt_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteParam_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteParam" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteParam" msprop:Generator_ChildPropName="GetQuoteParamRows" msprop:Generator_UserRelationName="FK_QuoteParam_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteParam_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteExtra_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteOC" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteOC" msprop:Generator_ChildPropName="GetQuoteOCRows" msprop:Generator_UserRelationName="FK_QuoteExtra_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteExtra_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteRM_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteRM" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteRM" msprop:Generator_ChildPropName="GetQuoteRMRows" msprop:Generator_UserRelationName="FK_QuoteRM_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteRM_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<msdata:Relationship name="FK_QuoteWorkExt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkExt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkExt" msprop:Generator_ChildPropName="GetQuoteWorkExtRows" msprop:Generator_UserRelationName="FK_QuoteWorkExt_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteWorkExt_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<msdata:Relationship name="FK_QuoteWorkInt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkInt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkInt" msprop:Generator_ChildPropName="GetQuoteWorkIntRows" msprop:Generator_UserRelationName="FK_QuoteWorkInt_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteWorkInt_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<msdata:Relationship name="FK_QuoteParam_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteParam" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteParam" msprop:Generator_ChildPropName="GetQuoteParamRows" msprop:Generator_UserRelationName="FK_QuoteParam_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteParam_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<msdata:Relationship name="FK_QuoteExtra_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteOC" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteOC" msprop:Generator_ChildPropName="GetQuoteOCRows" msprop:Generator_UserRelationName="FK_QuoteExtra_QuoteList" msprop:Generator_RelationVarName="relationFK_QuoteExtra_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+50 -9
View File
@@ -284,6 +284,27 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PickListTradTableAdapter" GeneratorDataComponentClassName="PickListTradTableAdapter" Name="PickListTrad" UserDataComponentName="PickListTradTableAdapter">
<MainSource>
<DbSource ConnectionRef="Proxima_C2PConnectionString (Settings)" DbObjectName="Proxima_C2P.dbo.stp_PL_getByListLingua" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" 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="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PL_getByListLingua</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodList" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Lingua" Precision="0" ProviderType="NVarChar" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Value" DataSetColumn="Value" />
<Mapping SourceColumn="Label" DataSetColumn="Label" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -292,7 +313,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
<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_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: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:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -312,7 +333,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -332,7 +353,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -352,7 +373,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -372,7 +393,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</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:element name="v_selIncoterms" msprop:Generator_TableClassName="v_selIncotermsDataTable" msprop:Generator_TableVarName="tablev_selIncoterms" msprop:Generator_RowChangedName="v_selIncotermsRowChanged" 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_RowClassName="v_selIncotermsRow" msprop:Generator_UserTableName="v_selIncoterms" msprop:Generator_RowEvArgName="v_selIncotermsRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -392,7 +413,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ReportPrintTicket" msprop:Generator_TableClassName="ReportPrintTicketDataTable" msprop:Generator_TableVarName="tableReportPrintTicket" msprop:Generator_RowChangedName="ReportPrintTicketRowChanged" msprop:Generator_TablePropName="ReportPrintTicket" msprop:Generator_RowDeletingName="ReportPrintTicketRowDeleting" msprop:Generator_RowChangingName="ReportPrintTicketRowChanging" msprop:Generator_RowEvHandlerName="ReportPrintTicketRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportPrintTicketRowDeleted" msprop:Generator_RowClassName="ReportPrintTicketRow" msprop:Generator_UserTableName="ReportPrintTicket" msprop:Generator_RowEvArgName="ReportPrintTicketRowChangeEvent">
<xs:element name="ReportPrintTicket" msprop:Generator_TableClassName="ReportPrintTicketDataTable" msprop:Generator_TableVarName="tableReportPrintTicket" msprop:Generator_TablePropName="ReportPrintTicket" msprop:Generator_RowDeletingName="ReportPrintTicketRowDeleting" msprop:Generator_RowChangingName="ReportPrintTicketRowChanging" msprop:Generator_RowEvHandlerName="ReportPrintTicketRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportPrintTicketRowDeleted" msprop:Generator_UserTableName="ReportPrintTicket" msprop:Generator_RowChangedName="ReportPrintTicketRowChanged" msprop:Generator_RowEvArgName="ReportPrintTicketRowChangeEvent" msprop:Generator_RowClassName="ReportPrintTicketRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Ticket" msprop:Generator_ColumnVarNameInTable="columnTicket" msprop:Generator_ColumnPropNameInRow="Ticket" msprop:Generator_ColumnPropNameInTable="TicketColumn" msprop:Generator_UserColumnName="Ticket" type="xs:int" />
@@ -422,7 +443,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Offers4Item" msprop:Generator_TableClassName="Offers4ItemDataTable" msprop:Generator_TableVarName="tableOffers4Item" msprop:Generator_TablePropName="Offers4Item" msprop:Generator_RowDeletingName="Offers4ItemRowDeleting" msprop:Generator_RowChangingName="Offers4ItemRowChanging" msprop:Generator_RowEvHandlerName="Offers4ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="Offers4ItemRowDeleted" msprop:Generator_UserTableName="Offers4Item" msprop:Generator_RowChangedName="Offers4ItemRowChanged" msprop:Generator_RowEvArgName="Offers4ItemRowChangeEvent" msprop:Generator_RowClassName="Offers4ItemRow">
<xs:element name="Offers4Item" msprop:Generator_TableClassName="Offers4ItemDataTable" msprop:Generator_TableVarName="tableOffers4Item" msprop:Generator_RowChangedName="Offers4ItemRowChanged" msprop:Generator_TablePropName="Offers4Item" msprop:Generator_RowDeletingName="Offers4ItemRowDeleting" msprop:Generator_RowChangingName="Offers4ItemRowChanging" msprop:Generator_RowEvHandlerName="Offers4ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="Offers4ItemRowDeleted" msprop:Generator_RowClassName="Offers4ItemRow" msprop:Generator_UserTableName="Offers4Item" msprop:Generator_RowEvArgName="Offers4ItemRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
@@ -443,7 +464,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPackage" msprop:Generator_TableClassName="v_selPackageDataTable" msprop:Generator_TableVarName="tablev_selPackage" msprop:Generator_TablePropName="v_selPackage" msprop:Generator_RowDeletingName="v_selPackageRowDeleting" msprop:Generator_RowChangingName="v_selPackageRowChanging" msprop:Generator_RowEvHandlerName="v_selPackageRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPackageRowDeleted" msprop:Generator_UserTableName="v_selPackage" msprop:Generator_RowChangedName="v_selPackageRowChanged" msprop:Generator_RowEvArgName="v_selPackageRowChangeEvent" msprop:Generator_RowClassName="v_selPackageRow">
<xs:element name="v_selPackage" msprop:Generator_TableClassName="v_selPackageDataTable" msprop:Generator_TableVarName="tablev_selPackage" msprop:Generator_RowChangedName="v_selPackageRowChanged" msprop:Generator_TablePropName="v_selPackage" msprop:Generator_RowDeletingName="v_selPackageRowDeleting" msprop:Generator_RowChangingName="v_selPackageRowChanging" msprop:Generator_RowEvHandlerName="v_selPackageRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPackageRowDeleted" msprop:Generator_RowClassName="v_selPackageRow" msprop:Generator_UserTableName="v_selPackage" msprop:Generator_RowEvArgName="v_selPackageRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -463,7 +484,7 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPlant" msprop:Generator_TableClassName="v_selPlantDataTable" msprop:Generator_TableVarName="tablev_selPlant" msprop:Generator_TablePropName="v_selPlant" msprop:Generator_RowDeletingName="v_selPlantRowDeleting" msprop:Generator_RowChangingName="v_selPlantRowChanging" msprop:Generator_RowEvHandlerName="v_selPlantRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPlantRowDeleted" msprop:Generator_UserTableName="v_selPlant" msprop:Generator_RowChangedName="v_selPlantRowChanged" msprop:Generator_RowEvArgName="v_selPlantRowChangeEvent" msprop:Generator_RowClassName="v_selPlantRow">
<xs:element name="v_selPlant" msprop:Generator_TableClassName="v_selPlantDataTable" msprop:Generator_TableVarName="tablev_selPlant" msprop:Generator_RowChangedName="v_selPlantRowChanged" msprop:Generator_TablePropName="v_selPlant" msprop:Generator_RowDeletingName="v_selPlantRowDeleting" msprop:Generator_RowChangingName="v_selPlantRowChanging" msprop:Generator_RowEvHandlerName="v_selPlantRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selPlantRowDeleted" msprop:Generator_RowClassName="v_selPlantRow" msprop:Generator_UserTableName="v_selPlant" msprop:Generator_RowEvArgName="v_selPlantRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -483,6 +504,26 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PickListTrad" msprop:Generator_TableClassName="PickListTradDataTable" msprop:Generator_TableVarName="tablePickListTrad" msprop:Generator_TablePropName="PickListTrad" msprop:Generator_RowDeletingName="PickListTradRowDeleting" msprop:Generator_RowChangingName="PickListTradRowChanging" msprop:Generator_RowEvHandlerName="PickListTradRowChangeEventHandler" msprop:Generator_RowDeletedName="PickListTradRowDeleted" msprop:Generator_UserTableName="PickListTrad" msprop:Generator_RowChangedName="PickListTradRowChanged" msprop:Generator_RowEvArgName="PickListTradRowChangeEvent" msprop:Generator_RowClassName="PickListTradRow">
<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="50" />
</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="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
+10 -9
View File
@@ -6,15 +6,16 @@
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:v_selClient" ZOrder="9" X="164" Y="164" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selItems" ZOrder="8" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selRawMat" ZOrder="7" X="239" Y="585" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selCons" ZOrder="6" X="844" Y="518" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selIncoterms" ZOrder="5" X="552" Y="476" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ReportPrintTicket" ZOrder="4" X="786" Y="162" Height="248" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:Offers4Item" ZOrder="3" X="817" Y="748" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selPackage" ZOrder="2" X="136" Y="450" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selPlant" ZOrder="1" X="509" Y="312" Height="115" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selClient" ZOrder="10" X="164" Y="164" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selItems" ZOrder="9" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selRawMat" ZOrder="8" X="239" Y="585" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selCons" ZOrder="7" X="844" Y="518" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selIncoterms" ZOrder="6" X="552" Y="476" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ReportPrintTicket" ZOrder="5" X="786" Y="162" Height="248" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:Offers4Item" ZOrder="4" X="817" Y="748" Height="134" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selPackage" ZOrder="3" X="136" Y="450" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selPlant" ZOrder="2" X="509" Y="312" Height="115" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:PickListTrad" ZOrder="1" X="118" Y="797" Height="115" Width="183" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
</Shapes>
<Connectors />
</DiagramLayout>
+583
View File
@@ -42,6 +42,8 @@ namespace C2P_Data {
private v_selPlantDataTable tablev_selPlant;
private PickListTradDataTable tablePickListTrad;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -97,6 +99,9 @@ namespace C2P_Data {
if ((ds.Tables["v_selPlant"] != null)) {
base.Tables.Add(new v_selPlantDataTable(ds.Tables["v_selPlant"]));
}
if ((ds.Tables["PickListTrad"] != null)) {
base.Tables.Add(new PickListTradDataTable(ds.Tables["PickListTrad"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -205,6 +210,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 PickListTradDataTable PickListTrad {
get {
return this.tablePickListTrad;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -299,6 +314,9 @@ namespace C2P_Data {
if ((ds.Tables["v_selPlant"] != null)) {
base.Tables.Add(new v_selPlantDataTable(ds.Tables["v_selPlant"]));
}
if ((ds.Tables["PickListTrad"] != null)) {
base.Tables.Add(new PickListTradDataTable(ds.Tables["PickListTrad"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -386,6 +404,12 @@ namespace C2P_Data {
this.tablev_selPlant.InitVars();
}
}
this.tablePickListTrad = ((PickListTradDataTable)(base.Tables["PickListTrad"]));
if ((initTable == true)) {
if ((this.tablePickListTrad != null)) {
this.tablePickListTrad.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -414,6 +438,8 @@ namespace C2P_Data {
base.Tables.Add(this.tablev_selPackage);
this.tablev_selPlant = new v_selPlantDataTable();
base.Tables.Add(this.tablev_selPlant);
this.tablePickListTrad = new PickListTradDataTable();
base.Tables.Add(this.tablePickListTrad);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -470,6 +496,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 ShouldSerializePickListTrad() {
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) {
@@ -552,6 +584,9 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void v_selPlantRowChangeEventHandler(object sender, v_selPlantRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void PickListTradRowChangeEventHandler(object sender, PickListTradRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -3106,6 +3141,271 @@ namespace C2P_Data {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class PickListTradDataTable : global::System.Data.TypedTableBase<PickListTradRow> {
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 PickListTradDataTable() {
this.TableName = "PickListTrad";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal PickListTradDataTable(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 PickListTradDataTable(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 PickListTradRow this[int index] {
get {
return ((PickListTradRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event PickListTradRowChangeEventHandler PickListTradRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event PickListTradRowChangeEventHandler PickListTradRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event PickListTradRowChangeEventHandler PickListTradRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event PickListTradRowChangeEventHandler PickListTradRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddPickListTradRow(PickListTradRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public PickListTradRow AddPickListTradRow(string Value, string Label) {
PickListTradRow rowPickListTradRow = ((PickListTradRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
Value,
Label};
rowPickListTradRow.ItemArray = columnValuesArray;
this.Rows.Add(rowPickListTradRow);
return rowPickListTradRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
PickListTradDataTable cln = ((PickListTradDataTable)(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 PickListTradDataTable();
}
[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.columnValue.AllowDBNull = false;
this.columnValue.MaxLength = 50;
this.columnLabel.ReadOnly = true;
this.columnLabel.MaxLength = 500;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public PickListTradRow NewPickListTradRow() {
return ((PickListTradRow)(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 PickListTradRow(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(PickListTradRow);
}
[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.PickListTradRowChanged != null)) {
this.PickListTradRowChanged(this, new PickListTradRowChangeEvent(((PickListTradRow)(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.PickListTradRowChanging != null)) {
this.PickListTradRowChanging(this, new PickListTradRowChangeEvent(((PickListTradRow)(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.PickListTradRowDeleted != null)) {
this.PickListTradRowDeleted(this, new PickListTradRowChangeEvent(((PickListTradRow)(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.PickListTradRowDeleting != null)) {
this.PickListTradRowDeleting(this, new PickListTradRowChangeEvent(((PickListTradRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovePickListTradRow(PickListTradRow 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 = "PickListTradDataTable";
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>
@@ -3613,6 +3913,60 @@ namespace C2P_Data {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class PickListTradRow : global::System.Data.DataRow {
private PickListTradDataTable tablePickListTrad;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal PickListTradRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablePickListTrad = ((PickListTradDataTable)(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.tablePickListTrad.ValueColumn]));
}
set {
this[this.tablePickListTrad.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.tablePickListTrad.LabelColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Label\' in table \'PickListTrad\' is DBNull.", e);
}
}
set {
this[this.tablePickListTrad.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.tablePickListTrad.LabelColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetLabelNull() {
this[this.tablePickListTrad.LabelColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -3918,6 +4272,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 PickListTradRowChangeEvent : global::System.EventArgs {
private PickListTradRow 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 PickListTradRowChangeEvent(PickListTradRow 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 PickListTradRow 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 {
@@ -5872,6 +6260,201 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
}
}
/// <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 PickListTradTableAdapter : 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 PickListTradTableAdapter() {
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 = "PickListTrad";
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 = "dbo.stp_PL_getByListLingua";
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodList", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Lingua", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[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.PickListTradDataTable dataTable, string CodList, string Lingua) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((CodList == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodList));
}
if ((Lingua == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Lingua));
}
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.PickListTradDataTable GetData(string CodList, string Lingua) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((CodList == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodList));
}
if ((Lingua == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Lingua));
}
DS_Utility.PickListTradDataTable dataTable = new DS_Utility.PickListTradDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
Binary file not shown.
Binary file not shown.
Binary file not shown.