Completato editing valori tabellati

This commit is contained in:
Samuele E. Locatelli
2015-02-26 12:15:27 +01:00
parent 28a920c381
commit f8e49f9a41
22 changed files with 431 additions and 111 deletions
+40 -41
View File
@@ -3,30 +3,47 @@
<div class="row" style="font-size: 8pt;">
<div class="col-sm-4">
<%--<asp:Button ID="btnNewLemma" runat="server" OnClick="btnNewLemma_Click" CssClass="btn btn-success" />
<asp:TextBox ID="txtNewLemma" runat="server" placeholder="inserire lemma" />--%>
<div class="col-sm-2">
<div class="input-group input-group-sm">
<div class="input-group-btn">
<asp:DropDownList ID="ddlTable" runat="server" AutoPostBack="True" CssClass="btn btn-default dropdown-toggle" Font-Size="X-Small" DataSourceID="odsTableName" DataTextField="TableName" DataValueField="TableName" AppendDataBoundItems="true">
<asp:DropDownList ID="ddlTable" runat="server" AutoPostBack="True" CssClass="btn btn-default dropdown-toggle" Font-Size="X-Small" DataSourceID="odsTableName" DataTextField="TableName" DataValueField="TableName" AppendDataBoundItems="true" OnSelectedIndexChanged="ddlTable_SelectedIndexChanged">
<asp:ListItem Value="" Selected="True">--- Select ---</asp:ListItem>
</asp:DropDownList>
</div>
</div>
</div>
<div class="col-sm-2">
<asp:LinkButton ID="lbShowNew" runat="server" OnClick="btnShowInsert" CssClass="btn btn-default">
<i class="glyphicon glyphicon-plus"></i>
<asp:Label ID="lblBtnShowNew" runat="server" Text="..." />
</asp:LinkButton>
</div>
<div class="col-sm-8" style="height: 5em;">
<div runat="server" id="divInsert">
<div class="col-sm-3">
<%: traduci("TableName") %>:
<asp:TextBox runat="server" ID="txtTableName" />
</div>
<div class="col-sm-3">
<%: traduci("FieldName") %>:
<asp:TextBox runat="server" ID="txtFieldName" />
</div>
<div class="col-sm-3">
<%: traduci("value") %>:
<asp:TextBox runat="server" ID="txtvalue" />
</div>
<div class="col-sm-3">
<asp:LinkButton ID="btnDoInsert" runat="server" CssClass="btn btn-default" OnClick="btnDoInsert_Click">
<i class="glyphicon glyphicon-plus"></i>
<%: traduci("insertNew") %>
</asp:LinkButton>
</div>
</div>
</div>
<div class="col-sm-12">
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AllowPaging="True" AllowSorting="True"
DataKeyNames="TableName,FieldName,value" AutoGenerateColumns="False" CellPadding="3"
BackColor="White" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px"
DataKeyNames="TableName,FieldName,value" AutoGenerateColumns="False" CssClass="table table-striped table-bordered"
OnDataBound="grView_DataBound">
<RowStyle CssClass="RowStyle" />
<AlternatingRowStyle CssClass="AlternatingRowStyle" />
<FooterStyle CssClass="FooterStyle" />
<PagerStyle CssClass="PagerStyle" />
<SelectedRowStyle CssClass="SelectedRowStyle" />
<HeaderStyle CssClass="HeaderStyle" ForeColor="White" />
<EditRowStyle CssClass="EditRowStyle" />
<EmptyDataRowStyle CssClass="RowStyle" />
<EmptyDataTemplate>
<h3>
<asp:Label runat="server" ID="lblNoRes" Text='<%# traduci("NoResultsFound") %>' />
@@ -36,40 +53,26 @@
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<EditItemTemplate>
<asp:LinkButton runat="server" ID="lbUpdate" CausesValidation="true" CommandName="Update"><i class="fa fa-check fa-2x"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbCancel" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo fa-2x"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbUpdate" CausesValidation="true" CommandName="Update"><i class="fa fa-check fa-2x"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbCancel" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo fa-2x"></i></asp:LinkButton>
</EditItemTemplate>
<HeaderTemplate>
<asp:LinkButton ID="lbtReset" runat="server" OnClick="btnReset_Click" CssClass="btn btn-default" Visible="true"><i class="glyphicon glyphicon-refresh"></i> <%: traduci("Reset") %></asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<%--<asp:LinkButton runat="server" ID="lbSelect" CausesValidation="false" CommandName="Select"><i class="fa fa-search fa-2x"></i></asp:LinkButton>--%>
<asp:LinkButton runat="server" ID="lbEdit" CausesValidation="false" CommandName="Edit"><i class="fa fa-edit fa-2x"></i></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="TableName" HeaderText="TableName" ReadOnly="True" SortExpression="TableName" />
<asp:BoundField DataField="FieldName" HeaderText="FieldName" ReadOnly="True" SortExpression="FieldName" />
<asp:TemplateField HeaderText="value" SortExpression="value">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("value") %>' Width="10em" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("value") %>' />
</ItemTemplate>
<FooterTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("value") %>' Width="10em" />
</FooterTemplate>
<ItemStyle Width="200px" />
</asp:TemplateField>
<asp:BoundField DataField="value" HeaderText="value" ReadOnly="True" SortExpression="value" />
<asp:TemplateField HeaderText="label" SortExpression="label">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("label") %>' Width="30em" TextMode="MultiLine" />
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("label") %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("label") %>' />
</ItemTemplate>
<FooterTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("label") %>' Width="30em" TextMode="MultiLine" />
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("label") %>' Width="20em" />
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ordinal" SortExpression="ordinal">
@@ -85,7 +88,7 @@
</asp:TemplateField>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<asp:LinkButton ID="lbtReset" runat="server" OnClick="btnShowFooter" CssClass="btn btn-default" Visible="true"><i class="glyphicon glyphicon-plus"></i> <%: traduci("btnNewListVal") %></asp:LinkButton>
<%--<asp:LinkButton ID="lbtReset" runat="server" OnClick="btnShowFooter" CssClass="btn btn-default" Visible="true"><i class="glyphicon glyphicon-plus"></i> <%: traduci("btnNewListVal") %></asp:LinkButton>--%>
</HeaderTemplate>
<EditItemTemplate>
</EditItemTemplate>
@@ -96,10 +99,10 @@
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />&nbsp;&nbsp;
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
<asp:ObjectDataSource ID="ods" runat="server" InsertMethod="Insert"
OldValuesParameterFormatString="original_{0}" SelectMethod="getByTable" FilterExpression=" (value like '%{0}%' OR label like '%{0}%' OR (CONVERT(ordinal, 'System.String') LIKE '%{0}%')) "
TypeName="C2P_Data.DS_UtilityTableAdapters.ListValuesTableAdapter" DeleteMethod="Delete" UpdateMethod="Update">
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
<asp:ObjectDataSource ID="ods" runat="server" InsertMethod="insertQuery"
OldValuesParameterFormatString="Original_{0}" SelectMethod="getByTable" FilterExpression=" (value like '%{0}%' OR label like '%{0}%' OR (CONVERT(ordinal, 'System.String') LIKE '%{0}%')) "
TypeName="C2P_Data.DS_UtilityTableAdapters.ListValuesTableAdapter" DeleteMethod="deleteQuery" UpdateMethod="updateQuery">
<SelectParameters>
<asp:ControlParameter ControlID="ddlTable" PropertyName="SelectedValue" Name="TableName"
DefaultValue="" Type="String" />
@@ -108,8 +111,6 @@
<asp:Parameter Name="Original_TableName" Type="String" />
<asp:Parameter Name="Original_FieldName" Type="String" />
<asp:Parameter Name="Original_value" Type="String" />
<asp:Parameter Name="Original_label" Type="String" />
<asp:Parameter Name="Original_ordinal" Type="Int32" />
</DeleteParameters>
<FilterParameters>
<asp:SessionParameter Type="String" Name="valore" SessionField="valoreCercato" />
@@ -127,8 +128,6 @@
<asp:Parameter Name="Original_TableName" Type="String" />
<asp:Parameter Name="Original_FieldName" Type="String" />
<asp:Parameter Name="Original_value" Type="String" />
<asp:Parameter Name="Original_label" Type="String" />
<asp:Parameter Name="Original_ordinal" Type="Int32" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsTableName" runat="server" OldValuesParameterFormatString="original_{0}"
+60 -34
View File
@@ -19,11 +19,25 @@ namespace C2P.WebUserControls
{
if (!Page.IsPostBack)
{
#if false
mod_filtroTableName.ods = odsTableName;
#endif
lbShowNew.Enabled = true;
lblBtnShowNew.Text = traduci("btnNewListVal");
divInsert.Visible = false;
}
}
/// <summary>
/// dimensione pagina grid view
/// </summary>
public int pageSize
{
get
{
return grView.PageSize;
}
set
{
grView.PageSize = value;
}
checkFixOds();
}
/// <summary>
/// effettua traduzione del lemma
@@ -35,37 +49,12 @@ namespace C2P.WebUserControls
return user_std.UtSn.Traduci(lemma);
}
/// <summary>
/// update dei controlli filtraggio
/// </summary>
private void checkFixOds()
{
//ods.FilterExpression = " (value like '%{0}%' OR label like '%{0}%' OR (CONVERT(ordinal, 'System.String') LIKE '%{0}%')) ";
//// reimposto il filtro dell'ODS
//if (mod_filtroTableName.isChecked)
//{
// //ods.FilterExpression += string.Format(" AND TableName ='{0}' ", mod_filtroTableName.valore);
//}
//doUpdate();
}
/// <summary>
/// selezionato un valore x elenco tabelle
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public void eh_selectedTable(object sender, EventArgs e)
{
checkFixOds();
}
/// <summary>
/// effettuo update
/// </summary>
private void doUpdate()
{
//grView.SelectedIndex = -1;
//grView.DataBind();
}
/// <summary>
/// reset selezione
/// </summary>
@@ -81,12 +70,26 @@ namespace C2P.WebUserControls
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnShowFooter(object sender, EventArgs e)
protected void btnShowInsert(object sender, EventArgs e)
{
// deseleziono e nascondo pnl statistiche...
grView.ShowFooter = true;// !grView.ShowFooter;
// SE HO SELEZIONATO UN VALORE!!!
if (ddlTable.SelectedIndex > 0)
{
// inverto visibilità insert nuovi valori
divInsert.Visible = !divInsert.Visible;
if (divInsert.Visible)
{
lblBtnShowNew.Text = traduci("btnHideNewListVal");
// precompilo valori tabella
txtTableName.Text = ddlTable.SelectedValue;
}
else
{
lblBtnShowNew.Text = traduci("btnNewListVal");
}
}
}
/// <summary>
/// evento post "aggancio" del grView x traduzione headers
/// </summary>
@@ -116,5 +119,28 @@ namespace C2P.WebUserControls
lblNumRec.Text = "";
}
}
protected void ddlTable_SelectedIndexChanged(object sender, EventArgs e)
{
// se seleziono valore "vuoto" resetto...
if (ddlTable.SelectedIndex == 0)
{
lblBtnShowNew.Text = traduci("btnNewListVal");
divInsert.Visible = false;
}
else
{
txtTableName.Text = ddlTable.SelectedValue;
}
}
protected void btnDoInsert_Click(object sender, EventArgs e)
{
// effettua insert!
C2P_Data.DtProxy.man.taListVal.insertQuery(txtTableName.Text.Trim(), txtFieldName.Text.Trim(), txtvalue.Text.Trim(), txtvalue.Text.Trim(), 999);
// refresh dati!
grView.DataBind();
}
}
}
+63
View File
@@ -21,6 +21,69 @@ namespace C2P.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlTable;
/// <summary>
/// lbShowNew 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.LinkButton lbShowNew;
/// <summary>
/// lblBtnShowNew 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 lblBtnShowNew;
/// <summary>
/// divInsert control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divInsert;
/// <summary>
/// txtTableName 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.TextBox txtTableName;
/// <summary>
/// txtFieldName 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.TextBox txtFieldName;
/// <summary>
/// txtvalue 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.TextBox txtvalue;
/// <summary>
/// btnDoInsert 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.LinkButton btnDoInsert;
/// <summary>
/// grView control.
/// </summary>
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15 -1
View File
@@ -17,7 +17,21 @@ namespace C2P
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
mod_righePag1.numRowPag = 20;
mod_listValues1.pageSize = mod_righePag1.numRowPag;
}
mod_righePag1.eh_newNum += mod_righePag1_eh_newNum;
}
/// <summary>
/// aggiornato numero righe datagrid... aggiorno visualizzazione
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_righePag1_eh_newNum(object sender, EventArgs e)
{
mod_listValues1.pageSize = mod_righePag1.numRowPag;
}
}
}
@@ -11,7 +11,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>IYlH6VeosGu8LOAtifdUhl52MkM=</dsig:DigestValue>
<dsig:DigestValue>taT5BiGNZZ+LWmRMzw/u5XyQsuI=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@@ -84,19 +84,19 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>ooAv2hDI7Nsi55yrL2bl9oyCGTU=</dsig:DigestValue>
<dsig:DigestValue>unZeFfAWmYGBhWfyz9WSrwwOSAw=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="C2P_Data.dll" size="501760">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="C2P_Data.dll" size="504320">
<assemblyIdentity name="C2P_Data" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>HdlVtB5eqlnmon0JtsWi+iEnaaE=</dsig:DigestValue>
<dsig:DigestValue>gZxKP41d2JYiccCGmakjfhi9p+k=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Binary file not shown.
+178 -6
View File
@@ -12025,22 +12025,50 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
[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[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT TableName, FieldName, value, label, ordinal FROM dbo.ListValues";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_listValues_getByTable";
this._commandCollection[1].CommandText = "dbo.stp_listValues_delete";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_listValues_getDistTable";
this._commandCollection[2].CommandText = "dbo.stp_listValues_getByTable";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_listValues_getDistTable";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].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[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_listValues_insNew";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@label", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordinal", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_listValues_update";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@label", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordinal", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12072,7 +12100,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Utility.ListValuesDataTable getByTable(string TableName) {
this.Adapter.SelectCommand = this.CommandCollection[1];
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((TableName == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -12089,7 +12117,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Utility.ListValuesDataTable getDistTableName() {
this.Adapter.SelectCommand = this.CommandCollection[2];
this.Adapter.SelectCommand = this.CommandCollection[3];
DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
@@ -12322,6 +12350,150 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
public virtual int Update(string label, global::System.Nullable<int> ordinal, string Original_TableName, string Original_FieldName, string Original_value, string Original_label, global::System.Nullable<int> Original_ordinal) {
return this.Update(Original_TableName, Original_FieldName, Original_value, label, ordinal, Original_TableName, Original_FieldName, Original_value, Original_label, Original_ordinal);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int deleteQuery(string Original_TableName, string Original_FieldName, string Original_value) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((Original_TableName == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(Original_TableName));
}
if ((Original_FieldName == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(Original_FieldName));
}
if ((Original_value == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(Original_value));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
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")]
public virtual int insertQuery(string TableName, string FieldName, string value, string label, global::System.Nullable<int> ordinal) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
if ((TableName == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(TableName));
}
if ((FieldName == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(FieldName));
}
if ((value == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(value));
}
if ((label == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(label));
}
if ((ordinal.HasValue == true)) {
command.Parameters[5].Value = ((int)(ordinal.Value));
}
else {
command.Parameters[5].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
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")]
public virtual int updateQuery(string Original_TableName, string Original_FieldName, string Original_value, string label, global::System.Nullable<int> ordinal) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
if ((Original_TableName == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(Original_TableName));
}
if ((Original_FieldName == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(Original_FieldName));
}
if ((Original_value == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(Original_value));
}
if ((label == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(label));
}
if ((ordinal.HasValue == true)) {
command.Parameters[5].Value = ((int)(ordinal.Value));
}
else {
command.Parameters[5].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
/// <summary>
+62 -19
View File
@@ -561,6 +561,19 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
<Mapping SourceColumn="ordinal" DataSetColumn="ordinal" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_listValues_delete</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="@Original_TableName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_FieldName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_value" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_getByTable" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByTable" GetMethodModifier="Public" GetMethodName="getByTable" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByTable" UserSourceName="getByTable">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -582,6 +595,36 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_insNew" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_listValues_insNew</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="@TableName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FieldName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@value" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@label" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ordinal" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_listValues_update</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="@Original_TableName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_FieldName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_value" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@label" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ordinal" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selListValTableAdapter" GeneratorDataComponentClassName="v_selListValTableAdapter" Name="v_selListVal" UserDataComponentName="v_selListValTableAdapter">
@@ -718,7 +761,7 @@ ORDER BY DataRich DESC</CommandText>
<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">
@@ -738,7 +781,7 @@ ORDER BY DataRich DESC</CommandText>
</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">
@@ -758,7 +801,7 @@ ORDER BY DataRich DESC</CommandText>
</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">
@@ -778,7 +821,7 @@ ORDER BY DataRich DESC</CommandText>
</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">
@@ -798,7 +841,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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">
@@ -818,7 +861,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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: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" />
@@ -848,7 +891,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
@@ -869,7 +912,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -889,7 +932,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -909,7 +952,7 @@ ORDER BY DataRich DESC</CommandText>
</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:element name="PickListTrad" msprop:Generator_TableClassName="PickListTradDataTable" msprop:Generator_TableVarName="tablePickListTrad" msprop:Generator_RowChangedName="PickListTradRowChanged" msprop:Generator_TablePropName="PickListTrad" msprop:Generator_RowDeletingName="PickListTradRowDeleting" msprop:Generator_RowChangingName="PickListTradRowChanging" msprop:Generator_RowEvHandlerName="PickListTradRowChangeEventHandler" msprop:Generator_RowDeletedName="PickListTradRowDeleted" msprop:Generator_RowClassName="PickListTradRow" msprop:Generator_UserTableName="PickListTrad" msprop:Generator_RowEvArgName="PickListTradRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" msprop:Generator_UserColumnName="Value">
@@ -929,7 +972,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_MarginReportStats" msprop:Generator_TableClassName="v_MarginReportStatsDataTable" msprop:Generator_TableVarName="tablev_MarginReportStats" msprop:Generator_RowChangedName="v_MarginReportStatsRowChanged" msprop:Generator_TablePropName="v_MarginReportStats" msprop:Generator_RowDeletingName="v_MarginReportStatsRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsRowDeleted" msprop:Generator_RowClassName="v_MarginReportStatsRow" msprop:Generator_UserTableName="v_MarginReportStats" msprop:Generator_RowEvArgName="v_MarginReportStatsRowChangeEvent">
<xs:element name="v_MarginReportStats" msprop:Generator_TableClassName="v_MarginReportStatsDataTable" msprop:Generator_TableVarName="tablev_MarginReportStats" msprop:Generator_TablePropName="v_MarginReportStats" msprop:Generator_RowDeletingName="v_MarginReportStatsRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsRowDeleted" msprop:Generator_UserTableName="v_MarginReportStats" msprop:Generator_RowChangedName="v_MarginReportStatsRowChanged" msprop:Generator_RowEvArgName="v_MarginReportStatsRowChangeEvent" msprop:Generator_RowClassName="v_MarginReportStatsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="FromDate" msprop:Generator_ColumnVarNameInTable="columnFromDate" msprop:Generator_ColumnPropNameInRow="FromDate" msprop:Generator_ColumnPropNameInTable="FromDateColumn" msprop:Generator_UserColumnName="FromDate" type="xs:dateTime" minOccurs="0" />
@@ -941,14 +984,14 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrderHist" msprop:Generator_TableClassName="OrderHistDataTable" msprop:Generator_TableVarName="tableOrderHist" msprop:Generator_TablePropName="OrderHist" msprop:Generator_RowDeletingName="OrderHistRowDeleting" msprop:Generator_RowChangingName="OrderHistRowChanging" msprop:Generator_RowEvHandlerName="OrderHistRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderHistRowDeleted" msprop:Generator_UserTableName="OrderHist" msprop:Generator_RowChangedName="OrderHistRowChanged" msprop:Generator_RowEvArgName="OrderHistRowChangeEvent" msprop:Generator_RowClassName="OrderHistRow">
<xs:element name="OrderHist" msprop:Generator_TableClassName="OrderHistDataTable" msprop:Generator_TableVarName="tableOrderHist" msprop:Generator_RowChangedName="OrderHistRowChanged" msprop:Generator_TablePropName="OrderHist" msprop:Generator_RowDeletingName="OrderHistRowDeleting" msprop:Generator_RowChangingName="OrderHistRowChanging" msprop:Generator_RowEvHandlerName="OrderHistRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderHistRowDeleted" msprop:Generator_RowClassName="OrderHistRow" msprop:Generator_UserTableName="OrderHist" msprop:Generator_RowEvArgName="OrderHistRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="RecordsIn" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRecordsIn" msprop:Generator_ColumnPropNameInRow="RecordsIn" msprop:Generator_ColumnPropNameInTable="RecordsInColumn" msprop:Generator_UserColumnName="RecordsIn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_MarginReportStatsNewData" msprop:Generator_TableClassName="v_MarginReportStatsNewDataDataTable" msprop:Generator_TableVarName="tablev_MarginReportStatsNewData" msprop:Generator_TablePropName="v_MarginReportStatsNewData" msprop:Generator_RowDeletingName="v_MarginReportStatsNewDataRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsNewDataRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsNewDataRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsNewDataRowDeleted" msprop:Generator_UserTableName="v_MarginReportStatsNewData" msprop:Generator_RowChangedName="v_MarginReportStatsNewDataRowChanged" msprop:Generator_RowEvArgName="v_MarginReportStatsNewDataRowChangeEvent" msprop:Generator_RowClassName="v_MarginReportStatsNewDataRow">
<xs:element name="v_MarginReportStatsNewData" msprop:Generator_TableClassName="v_MarginReportStatsNewDataDataTable" msprop:Generator_TableVarName="tablev_MarginReportStatsNewData" msprop:Generator_RowChangedName="v_MarginReportStatsNewDataRowChanged" msprop:Generator_TablePropName="v_MarginReportStatsNewData" msprop:Generator_RowDeletingName="v_MarginReportStatsNewDataRowDeleting" msprop:Generator_RowChangingName="v_MarginReportStatsNewDataRowChanging" msprop:Generator_RowEvHandlerName="v_MarginReportStatsNewDataRowChangeEventHandler" msprop:Generator_RowDeletedName="v_MarginReportStatsNewDataRowDeleted" msprop:Generator_RowClassName="v_MarginReportStatsNewDataRow" msprop:Generator_UserTableName="v_MarginReportStatsNewData" msprop:Generator_RowEvArgName="v_MarginReportStatsNewDataRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="FromDate" msprop:Generator_ColumnVarNameInTable="columnFromDate" msprop:Generator_ColumnPropNameInRow="FromDate" msprop:Generator_ColumnPropNameInTable="FromDateColumn" msprop:Generator_UserColumnName="FromDate" type="xs:dateTime" minOccurs="0" />
@@ -960,7 +1003,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selDateStdCost" msprop:Generator_TableClassName="v_selDateStdCostDataTable" msprop:Generator_TableVarName="tablev_selDateStdCost" msprop:Generator_TablePropName="v_selDateStdCost" msprop:Generator_RowDeletingName="v_selDateStdCostRowDeleting" msprop:Generator_RowChangingName="v_selDateStdCostRowChanging" msprop:Generator_RowEvHandlerName="v_selDateStdCostRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selDateStdCostRowDeleted" msprop:Generator_UserTableName="v_selDateStdCost" msprop:Generator_RowChangedName="v_selDateStdCostRowChanged" msprop:Generator_RowEvArgName="v_selDateStdCostRowChangeEvent" msprop:Generator_RowClassName="v_selDateStdCostRow">
<xs:element name="v_selDateStdCost" msprop:Generator_TableClassName="v_selDateStdCostDataTable" msprop:Generator_TableVarName="tablev_selDateStdCost" msprop:Generator_RowChangedName="v_selDateStdCostRowChanged" msprop:Generator_TablePropName="v_selDateStdCost" msprop:Generator_RowDeletingName="v_selDateStdCostRowDeleting" msprop:Generator_RowChangingName="v_selDateStdCostRowChanging" msprop:Generator_RowEvHandlerName="v_selDateStdCostRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selDateStdCostRowDeleted" msprop:Generator_RowClassName="v_selDateStdCostRow" msprop:Generator_UserTableName="v_selDateStdCost" msprop:Generator_RowEvArgName="v_selDateStdCostRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" type="xs:dateTime" minOccurs="0" />
@@ -974,14 +1017,14 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StdCost2create" msprop:Generator_TableClassName="StdCost2createDataTable" msprop:Generator_TableVarName="tableStdCost2create" msprop:Generator_RowChangedName="StdCost2createRowChanged" msprop:Generator_TablePropName="StdCost2create" msprop:Generator_RowDeletingName="StdCost2createRowDeleting" msprop:Generator_RowChangingName="StdCost2createRowChanging" msprop:Generator_RowEvHandlerName="StdCost2createRowChangeEventHandler" msprop:Generator_RowDeletedName="StdCost2createRowDeleted" msprop:Generator_RowClassName="StdCost2createRow" msprop:Generator_UserTableName="StdCost2create" msprop:Generator_RowEvArgName="StdCost2createRowChangeEvent">
<xs:element name="StdCost2create" msprop:Generator_TableClassName="StdCost2createDataTable" msprop:Generator_TableVarName="tableStdCost2create" msprop:Generator_TablePropName="StdCost2create" msprop:Generator_RowDeletingName="StdCost2createRowDeleting" msprop:Generator_RowChangingName="StdCost2createRowChanging" msprop:Generator_RowEvHandlerName="StdCost2createRowChangeEventHandler" msprop:Generator_RowDeletedName="StdCost2createRowDeleted" msprop:Generator_UserTableName="StdCost2create" msprop:Generator_RowChangedName="StdCost2createRowChanged" msprop:Generator_RowEvArgName="StdCost2createRowChangeEvent" msprop:Generator_RowClassName="StdCost2createRow">
<xs:complexType>
<xs:sequence>
<xs:element name="RecordsIn" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRecordsIn" msprop:Generator_ColumnPropNameInRow="RecordsIn" msprop:Generator_ColumnPropNameInTable="RecordsInColumn" msprop:Generator_UserColumnName="RecordsIn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ListValues" msprop:Generator_TableClassName="ListValuesDataTable" msprop:Generator_TableVarName="tableListValues" msprop:Generator_TablePropName="ListValues" msprop:Generator_RowDeletingName="ListValuesRowDeleting" msprop:Generator_RowChangingName="ListValuesRowChanging" msprop:Generator_RowEvHandlerName="ListValuesRowChangeEventHandler" msprop:Generator_RowDeletedName="ListValuesRowDeleted" msprop:Generator_UserTableName="ListValues" msprop:Generator_RowChangedName="ListValuesRowChanged" msprop:Generator_RowEvArgName="ListValuesRowChangeEvent" msprop:Generator_RowClassName="ListValuesRow">
<xs:element name="ListValues" msprop:Generator_TableClassName="ListValuesDataTable" msprop:Generator_TableVarName="tableListValues" msprop:Generator_RowChangedName="ListValuesRowChanged" msprop:Generator_TablePropName="ListValues" msprop:Generator_RowDeletingName="ListValuesRowDeleting" msprop:Generator_RowChangingName="ListValuesRowChanging" msprop:Generator_RowEvHandlerName="ListValuesRowChangeEventHandler" msprop:Generator_RowDeletedName="ListValuesRowDeleted" msprop:Generator_RowClassName="ListValuesRow" msprop:Generator_UserTableName="ListValues" msprop:Generator_RowEvArgName="ListValuesRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="TableName" msprop:Generator_ColumnVarNameInTable="columnTableName" msprop:Generator_ColumnPropNameInRow="TableName" msprop:Generator_ColumnPropNameInTable="TableNameColumn" msprop:Generator_UserColumnName="TableName">
@@ -1016,7 +1059,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selListVal" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_TableVarName="tablev_selListVal" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_UserTableName="v_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent" msprop:Generator_RowClassName="v_selListValRow">
<xs:element name="v_selListVal" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_TableVarName="tablev_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_RowClassName="v_selListValRow" msprop:Generator_UserTableName="v_selListVal" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
@@ -1036,7 +1079,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Import_TicketList" msprop:Generator_TableClassName="Import_TicketListDataTable" msprop:Generator_TableVarName="tableImport_TicketList" msprop:Generator_RowChangedName="Import_TicketListRowChanged" msprop:Generator_TablePropName="Import_TicketList" msprop:Generator_RowDeletingName="Import_TicketListRowDeleting" msprop:Generator_RowChangingName="Import_TicketListRowChanging" msprop:Generator_RowEvHandlerName="Import_TicketListRowChangeEventHandler" msprop:Generator_RowDeletedName="Import_TicketListRowDeleted" msprop:Generator_RowClassName="Import_TicketListRow" msprop:Generator_UserTableName="Import_TicketList" msprop:Generator_RowEvArgName="Import_TicketListRowChangeEvent">
<xs:element name="Import_TicketList" msprop:Generator_TableClassName="Import_TicketListDataTable" msprop:Generator_TableVarName="tableImport_TicketList" msprop:Generator_TablePropName="Import_TicketList" msprop:Generator_RowDeletingName="Import_TicketListRowDeleting" msprop:Generator_RowChangingName="Import_TicketListRowChanging" msprop:Generator_RowEvHandlerName="Import_TicketListRowChangeEventHandler" msprop:Generator_RowDeletedName="Import_TicketListRowDeleted" msprop:Generator_UserTableName="Import_TicketList" msprop:Generator_RowChangedName="Import_TicketListRowChanged" msprop:Generator_RowEvArgName="Import_TicketListRowChangeEvent" msprop:Generator_RowClassName="Import_TicketListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="NumTicket" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnNumTicket" msprop:Generator_ColumnPropNameInRow="NumTicket" msprop:Generator_ColumnPropNameInTable="NumTicketColumn" msprop:Generator_UserColumnName="NumTicket" type="xs:int" />
@@ -1069,7 +1112,7 @@ ORDER BY DataRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Import_Log" msprop:Generator_TableClassName="Import_LogDataTable" msprop:Generator_TableVarName="tableImport_Log" msprop:Generator_RowChangedName="Import_LogRowChanged" msprop:Generator_TablePropName="Import_Log" msprop:Generator_RowDeletingName="Import_LogRowDeleting" msprop:Generator_RowChangingName="Import_LogRowChanging" msprop:Generator_RowEvHandlerName="Import_LogRowChangeEventHandler" msprop:Generator_RowDeletedName="Import_LogRowDeleted" msprop:Generator_RowClassName="Import_LogRow" msprop:Generator_UserTableName="Import_Log" msprop:Generator_RowEvArgName="Import_LogRowChangeEvent">
<xs:element name="Import_Log" msprop:Generator_TableClassName="Import_LogDataTable" msprop:Generator_TableVarName="tableImport_Log" msprop:Generator_TablePropName="Import_Log" msprop:Generator_RowDeletingName="Import_LogRowDeleting" msprop:Generator_RowChangingName="Import_LogRowChanging" msprop:Generator_RowEvHandlerName="Import_LogRowChangeEventHandler" msprop:Generator_RowDeletedName="Import_LogRowDeleted" msprop:Generator_UserTableName="Import_Log" msprop:Generator_RowChangedName="Import_LogRowChanged" msprop:Generator_RowEvArgName="Import_LogRowChangeEvent" msprop:Generator_RowClassName="Import_LogRow">
<xs:complexType>
<xs:sequence>
<xs:element name="NumLog" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnNumLog" msprop:Generator_ColumnPropNameInRow="NumLog" msprop:Generator_ColumnPropNameInTable="NumLogColumn" msprop:Generator_UserColumnName="NumLog" type="xs:int" />
+2 -2
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</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="349" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="365" 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="19" X="356" Y="35" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selItems" ZOrder="18" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
@@ -21,7 +21,7 @@
<Shape ID="DesignTable:v_MarginReportStatsNewData" ZOrder="9" X="74" Y="956" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:v_selDateStdCost" ZOrder="7" X="557" Y="149" Height="115" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:StdCost2create" ZOrder="6" X="451" Y="1051" Height="154" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:ListValues" ZOrder="5" X="815" Y="1094" Height="210" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:ListValues" ZOrder="5" X="816" Y="1080" Height="271" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:v_selListVal" ZOrder="4" X="251" Y="1204" Height="134" Width="286" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Import_TicketList" ZOrder="1" X="10" Y="98" Height="305" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:Import_Log" ZOrder="3" X="276" Y="212" Height="229" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
+3
View File
@@ -70,6 +70,7 @@ namespace C2P_Data
taOH = new DS_UtilityTableAdapters.OrderHistTableAdapter();
taSC2C = new DS_UtilityTableAdapters.StdCost2createTableAdapter();
taImpTL = new DS_UtilityTableAdapters.Import_TicketListTableAdapter();
taListVal = new DS_UtilityTableAdapters.ListValuesTableAdapter();
}
/// <summary>
/// effettua setup dei connection strings da web.config della singola applicazione
@@ -91,6 +92,7 @@ namespace C2P_Data
taOH.Connection.ConnectionString = connStr;
taSC2C.Connection.ConnectionString = connStr;
taImpTL.Connection.ConnectionString = connStr;
taListVal.Connection.ConnectionString = connStr;
}
#endregion
@@ -110,6 +112,7 @@ namespace C2P_Data
public DS_UtilityTableAdapters.OrderHistTableAdapter taOH;
public DS_UtilityTableAdapters.StdCost2createTableAdapter taSC2C;
public DS_UtilityTableAdapters.Import_TicketListTableAdapter taImpTL;
public DS_UtilityTableAdapters.ListValuesTableAdapter taListVal;
public static DtProxy man = new DtProxy();
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("2.2.157.450")]
[assembly: AssemblyFileVersion("2.2.157.450")]
[assembly: AssemblyVersion("2.2.158.452")]
[assembly: AssemblyFileVersion("2.2.158.452")]
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-2015")]
[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("2.2.157.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.2.157.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("2.2.158.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.2.158.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+