aggiunta visualizzazione specifiche DTMX
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+22
-2
@@ -2,6 +2,8 @@
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagPrefix="uc1" TagName="mod_ricercaGenerica" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_anagFormatiDtx.ascx" TagPrefix="uc1" TagName="mod_anagFormatiDtx" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_specDmtx.ascx" TagPrefix="uc1" TagName="mod_specDmtx" %>
|
||||
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
@@ -10,7 +12,25 @@
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MCon" runat="server">
|
||||
<div class="container" style="font-size: 0.8em;">
|
||||
<uc1:mod_ricercaGenerica runat="server" ID="mod_ricercaGenerica" />
|
||||
<uc1:mod_anagFormatiDtx runat="server" ID="mod_anagFormatiDtx" />
|
||||
<div style="min-height: 290px;">
|
||||
<uc1:mod_ricercaGenerica runat="server" ID="mod_ricercaGenerica" />
|
||||
<uc1:mod_anagFormatiDtx runat="server" ID="mod_anagFormatiDtx" />
|
||||
</div>
|
||||
<div runat="server" id="divDetail" visible="false">
|
||||
<%--<ul class="nav nav-tabs">
|
||||
<li class="active"><a data-toggle="tab" href="#spec"><%: traduci("RiconoscimentoDmtx") %></a></li>
|
||||
<li><a data-toggle="tab" href="#esempi"><%: traduci("ElencoEsempiDmtx") %></a></li>
|
||||
</ul>
|
||||
<div class="tab-content clearfix">
|
||||
<div id="spec" class="tab-pane fade in active">--%>
|
||||
<h4><%: traduci("DettSpecFormato") %></h4>
|
||||
<uc1:mod_specDmtx runat="server" ID="mod_specDmtx" />
|
||||
<%--</div>
|
||||
<div id="esempi" class="tab-pane fade">
|
||||
<h3>Menu 1</h3>
|
||||
<p>Some content in menu 1.</p>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
@@ -4,14 +4,41 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
namespace GMW
|
||||
{
|
||||
public partial class AnagFormatiDtx : System.Web.UI.Page
|
||||
public partial class AnagFormatiDtx : UserPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_anagFormatiDtx.eh_ucev += Mod_anagFormatiDtx_eh_ucev;
|
||||
}
|
||||
|
||||
private void Mod_anagFormatiDtx_eh_ucev(object sender, EventArgs e)
|
||||
{
|
||||
// se trovo evento select/reset mostro/nascondo dettagli...
|
||||
ucEvent evento = (ucEvent)e;
|
||||
switch (evento.tipoEvento)
|
||||
{
|
||||
case ucEvType.Delete:
|
||||
break;
|
||||
case ucEvType.Edit:
|
||||
break;
|
||||
case ucEvType.New:
|
||||
break;
|
||||
case ucEvType.Reset:
|
||||
divDetail.Visible = false;
|
||||
break;
|
||||
case ucEvType.ReqUpdateParent:
|
||||
break;
|
||||
case ucEvType.Selected:
|
||||
mod_specDmtx.FormatoDtmx = mod_anagFormatiDtx.FormatoDtmxSel;
|
||||
divDetail.Visible = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+18
@@ -29,5 +29,23 @@ namespace GMW {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_anagFormatiDtx mod_anagFormatiDtx;
|
||||
|
||||
/// <summary>
|
||||
/// divDetail 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 divDetail;
|
||||
|
||||
/// <summary>
|
||||
/// mod_specDmtx control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_specDmtx mod_specDmtx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -539,6 +539,7 @@
|
||||
<Content Include="WebUserControls\mod_selLineaNtDt.ascx" />
|
||||
<Content Include="WebUserControls\mod_selPeriodo.ascx" />
|
||||
<Content Include="WebUserControls\mod_setAttrDtx.ascx" />
|
||||
<Content Include="WebUserControls\mod_specDmtx.ascx" />
|
||||
<Content Include="WebUserControls\mod_sterrTaglio.ascx" />
|
||||
<Content Include="WebUserControls\mod_sterrTaglioFC.ascx" />
|
||||
<Content Include="WS\DataFeed.asmx" />
|
||||
@@ -1946,6 +1947,13 @@
|
||||
<Compile Include="WebUserControls\mod_setAttrDtx.ascx.designer.cs">
|
||||
<DependentUpon>mod_setAttrDtx.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_specDmtx.ascx.cs">
|
||||
<DependentUpon>mod_specDmtx.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_specDmtx.ascx.designer.cs">
|
||||
<DependentUpon>mod_specDmtx.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_spostaDataMatrix.ascx.cs">
|
||||
<DependentUpon>mod_spostaDataMatrix.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -4,15 +4,11 @@
|
||||
{ %>
|
||||
<link href="../Content/Style.css" rel="stylesheet" type="text/css" />
|
||||
<% } %>
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" DataSourceID="ods" DataKeyNames="FormatoDtmx" AutoGenerateColumns="False" PageSize="5" AllowSorting="True" Width="100%">
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" DataSourceID="ods" DataKeyNames="FormatoDtmx" AutoGenerateColumns="False" PageSize="5" AllowSorting="True" Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" CssClass="table table-striped table-condensed table-responsive">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="info" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun Record
|
||||
<%--<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>'
|
||||
@@ -21,11 +17,13 @@
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="54px">
|
||||
<HeaderTemplate>
|
||||
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click" Visible="false" />
|
||||
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click" Visible="true" />
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>' ImageUrl="~/images/view_m.png" />
|
||||
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' ImageUrl="~/images/edit_m.png" />
|
||||
<div style="white-space: nowrap;">
|
||||
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>' ImageUrl="~/images/view_m.png" />
|
||||
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' ImageUrl="~/images/edit_m.png" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update")%>' ImageUrl="~/images/apply_m.png" />
|
||||
@@ -148,18 +146,6 @@
|
||||
<asp:TextBox ID="txtDataFormat" runat="server" Text='<%# Bind("DataFormat") %>' Width="3em" />
|
||||
</FooterTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--
|
||||
<asp:BoundField DataField="FormatoDtmx" HeaderText="FormatoDtmx" ReadOnly="True" SortExpression="FormatoDtmx" />
|
||||
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
|
||||
<asp:BoundField DataField="FormatoEsteso" HeaderText="FormatoEsteso" SortExpression="FormatoEsteso" />
|
||||
<asp:BoundField DataField="Lungh" HeaderText="Lungh" ReadOnly="True" SortExpression="Lungh" />
|
||||
<asp:BoundField DataField="PartNumberPos" HeaderText="PartNumberPos" SortExpression="PartNumberPos" />
|
||||
<asp:BoundField DataField="PartNumberLun" HeaderText="PartNumberLun" SortExpression="PartNumberLun" />
|
||||
<asp:BoundField DataField="ExpPos" HeaderText="ExpPos" SortExpression="ExpPos" />
|
||||
<asp:BoundField DataField="ExpLun" HeaderText="ExpLun" SortExpression="ExpLun" />
|
||||
<asp:BoundField DataField="DataPos" HeaderText="DataPos" SortExpression="DataPos" />
|
||||
<asp:BoundField DataField="DataLun" HeaderText="DataLun" SortExpression="DataLun" />
|
||||
<asp:BoundField DataField="DataFormat" HeaderText="DataFormat" SortExpression="DataFormat" />--%>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="54px">
|
||||
<HeaderTemplate>
|
||||
<%--<asp:Button ID="btnNew" runat="server" OnClick="btnNew_Click" Text='<%# traduci("New") %>' />--%>
|
||||
@@ -184,6 +170,3 @@
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
</FilterParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
|
||||
...su selezione deve mostrare le tabelle "dipendenti"... riconoscimento e decodifica... con tabPanel...
|
||||
@@ -26,6 +26,7 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
raiseEvent(ucEvType.Reset);
|
||||
}
|
||||
/// <summary>
|
||||
/// inserisce nuovo valore da footer
|
||||
@@ -140,5 +141,25 @@ namespace GMW.WebUserControls
|
||||
tipoColonna = "";
|
||||
}
|
||||
}
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
raiseEvent(ucEvType.Selected);
|
||||
}
|
||||
|
||||
public string FormatoDtmxSel
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = grView.SelectedValue.ToString();
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_specDmtx.ascx.cs" Inherits="GMW.WebUserControls.mod_specDmtx" %>
|
||||
<% if (false)
|
||||
{ %>
|
||||
<link href="../Content/Style.css" rel="stylesheet" type="text/css" />
|
||||
<% } %>
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="false" DataSourceID="ods" DataKeyNames="FormatoDtmx,CodSpec" AutoGenerateColumns="False" AllowSorting="True" Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" CssClass="table table-striped table-condensed table-responsive">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="info" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun Record
|
||||
<%--<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>'
|
||||
Visible='<%# isWritable() %>' />--%>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:BoundField DataField="FormatoDtmx" HeaderText="FormatoDtmx" ReadOnly="True" SortExpression="FormatoDtmx" />
|
||||
<asp:BoundField DataField="CodSpec" HeaderText="CodSpec" ReadOnly="True" SortExpression="CodSpec" />
|
||||
<asp:BoundField DataField="ValoreStr" HeaderText="ValoreStr" SortExpression="ValoreStr" />
|
||||
<asp:BoundField DataField="ValoreInt" HeaderText="ValoreInt" SortExpression="ValoreInt" />
|
||||
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
|
||||
<asp:BoundField DataField="Peso" HeaderText="Peso" SortExpression="Peso" />
|
||||
<asp:CheckBoxField DataField="Attivo" HeaderText="Attivo" SortExpression="Attivo" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByFormatoDtmx" TypeName="GMW_data.DS_DataMatrixTableAdapters.TabSpecDtxTableAdapter" OnInserting="recuperaFooter" DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_FormatoDtmx" Type="String" />
|
||||
<asp:Parameter Name="Original_CodSpec" Type="String" />
|
||||
<asp:Parameter Name="Original_ValoreStr" Type="String" />
|
||||
<asp:Parameter Name="Original_ValoreInt" Type="Int32" />
|
||||
<asp:Parameter Name="Original_Note" Type="String" />
|
||||
<asp:Parameter Name="Original_Peso" Type="Int32" />
|
||||
<asp:Parameter Name="Original_Attivo" Type="Boolean" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="FormatoDtmx" Type="String" />
|
||||
<asp:Parameter Name="CodSpec" Type="String" />
|
||||
<asp:Parameter Name="ValoreStr" Type="String" />
|
||||
<asp:Parameter Name="ValoreInt" Type="Int32" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
<asp:Parameter Name="Peso" Type="Int32" />
|
||||
<asp:Parameter Name="Attivo" Type="Boolean" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfFormatoDtmx" DefaultValue="" Name="FormatoDtmx" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="ValoreStr" Type="String" />
|
||||
<asp:Parameter Name="ValoreInt" Type="Int32" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
<asp:Parameter Name="Peso" Type="Int32" />
|
||||
<asp:Parameter Name="Attivo" Type="Boolean" />
|
||||
<asp:Parameter Name="Original_FormatoDtmx" Type="String" />
|
||||
<asp:Parameter Name="Original_CodSpec" Type="String" />
|
||||
<asp:Parameter Name="Original_ValoreStr" Type="String" />
|
||||
<asp:Parameter Name="Original_ValoreInt" Type="Int32" />
|
||||
<asp:Parameter Name="Original_Note" Type="String" />
|
||||
<asp:Parameter Name="Original_Peso" Type="Int32" />
|
||||
<asp:Parameter Name="Original_Attivo" Type="Boolean" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfFormatoDtmx" />
|
||||
@@ -0,0 +1,163 @@
|
||||
using System;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using System.Data;
|
||||
using GMW_data;
|
||||
|
||||
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class mod_specDmtx : ApplicationUserControl
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// reset della selezione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
resetSelezione();
|
||||
}
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
raiseEvent(ucEvType.Reset);
|
||||
}
|
||||
/// <summary>
|
||||
/// inserisce nuovo valore da footer
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lblIns_click(object sender, EventArgs e)
|
||||
{
|
||||
// click su inserimento, chiamo il metodo insert dell'ObjectDataSource
|
||||
ods.Insert();
|
||||
}
|
||||
/// <summary>
|
||||
/// gestione evento richiesta nuovo valore (mostra footer, ...)
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
// reset selezione...
|
||||
resetSelezione();
|
||||
// mostro il footer oppure la riga dei dettagli x nuovo...
|
||||
if (grView.FooterRow != null)
|
||||
{
|
||||
grView.FooterRow.Visible = true;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// determina se sia eliminabile il record (=non usato)
|
||||
/// </summary>
|
||||
/// <param name="idxMaker"></param>
|
||||
/// <returns></returns>
|
||||
public bool delEnabled(object idxObj)
|
||||
{
|
||||
bool answ = isWritable();
|
||||
#if false
|
||||
// solo se ha diritti scrittura controllo
|
||||
if (answ)
|
||||
{
|
||||
int trovati = 0;
|
||||
// controllo se ci siano celle associate
|
||||
trovati = MagClass.magazzino.taSAO.getLastByPost(DateTime.Now.AddYears(-memLayer.ML.confReadInt("defaultYearSAO")), DateTime.Now.AddDays(1), idxObj.ToString()).Rows.Count;
|
||||
// controllo se ci sono record correlati...
|
||||
if (trovati > 0)
|
||||
{
|
||||
answ = false;
|
||||
}
|
||||
}
|
||||
#endif // false
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// elenco colonne del datagrid
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected DataColumnCollection colonneObj()
|
||||
{
|
||||
DS_magazzino.ElencoPostazioniDataTable tabella = new DS_magazzino.ElencoPostazioniDataTable();
|
||||
DataColumnCollection colonne = tabella.Columns;
|
||||
return colonne;
|
||||
}
|
||||
/// <summary>
|
||||
/// recupera i dati di un nuovo record contenuti nel footer di un gridView;
|
||||
/// questi devono essere opportunamente nominati (es: txt{0}, dl{0}, ...)
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e)
|
||||
{
|
||||
//recupero la riga footer...
|
||||
DataColumnCollection colonne = colonneObj();
|
||||
string nomeCol;
|
||||
string tipoColonna = "";
|
||||
foreach (DataColumn colonna in colonne)
|
||||
{
|
||||
nomeCol = colonna.ColumnName;
|
||||
// cerco un textbox o quello che sia...
|
||||
if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null)
|
||||
{
|
||||
tipoColonna = "textBox";
|
||||
}
|
||||
else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null)
|
||||
{
|
||||
tipoColonna = "dropDownList";
|
||||
}
|
||||
else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null)
|
||||
{
|
||||
tipoColonna = "checkBox";
|
||||
}
|
||||
else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null)
|
||||
{
|
||||
tipoColonna = "selAjax";
|
||||
}
|
||||
// in base al tipo salvo negli inputparameters dell'ODS
|
||||
switch (tipoColonna)
|
||||
{
|
||||
case "textBox":
|
||||
e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text;
|
||||
break;
|
||||
case "dropDownList":
|
||||
e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue;
|
||||
break;
|
||||
case "checkBox":
|
||||
e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked;
|
||||
break;
|
||||
case "selAjax":
|
||||
e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
tipoColonna = "";
|
||||
}
|
||||
}
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
raiseEvent(ucEvType.Selected);
|
||||
}
|
||||
|
||||
public string FormatoDtmx
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfFormatoDtmx.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfFormatoDtmx.Value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_specDmtx {
|
||||
|
||||
/// <summary>
|
||||
/// grView 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.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// hfFormatoDtmx 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.HiddenField hfFormatoDtmx;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+1993
-59
File diff suppressed because it is too large
Load Diff
@@ -922,6 +922,144 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagSpecDtxTableAdapter" GeneratorDataComponentClassName="AnagSpecDtxTableAdapter" Name="AnagSpecDtx" UserDataComponentName="AnagSpecDtxTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.AnagSpecDtx" DbObjectType="Table" 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">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[AnagSpecDtx] WHERE (([CodSpec] = @Original_CodSpec) AND ([Descrizione] = @Original_Descrizione) AND ([Tipo] = @Original_Tipo))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSpec" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[AnagSpecDtx] ([CodSpec], [Descrizione], [Tipo]) VALUES (@CodSpec, @Descrizione, @Tipo);
|
||||
SELECT CodSpec, Descrizione, Tipo FROM AnagSpecDtx WHERE (CodSpec = @CodSpec)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSpec" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CodSpec, Descrizione, Tipo FROM dbo.AnagSpecDtx</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[AnagSpecDtx] SET [CodSpec] = @CodSpec, [Descrizione] = @Descrizione, [Tipo] = @Tipo WHERE (([CodSpec] = @Original_CodSpec) AND ([Descrizione] = @Original_Descrizione) AND ([Tipo] = @Original_Tipo));
|
||||
SELECT CodSpec, Descrizione, Tipo FROM AnagSpecDtx WHERE (CodSpec = @CodSpec)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSpec" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSpec" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Tipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Tipo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CodSpec" DataSetColumn="CodSpec" />
|
||||
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
|
||||
<Mapping SourceColumn="Tipo" DataSetColumn="Tipo" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TabSpecDtxTableAdapter" GeneratorDataComponentClassName="TabSpecDtxTableAdapter" Name="TabSpecDtx" UserDataComponentName="TabSpecDtxTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.TabSpecDtx" DbObjectType="Table" 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">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[TabSpecDtx] WHERE (([FormatoDtmx] = @Original_FormatoDtmx) AND ([CodSpec] = @Original_CodSpec) AND ([ValoreStr] = @Original_ValoreStr) AND ([ValoreInt] = @Original_ValoreInt) AND ([Note] = @Original_Note) AND ([Peso] = @Original_Peso) AND ([Attivo] = @Original_Attivo))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FormatoDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSpec" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ValoreStr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValoreStr" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ValoreInt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ValoreInt" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Peso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Peso" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[TabSpecDtx] ([FormatoDtmx], [CodSpec], [ValoreStr], [ValoreInt], [Note], [Peso], [Attivo]) VALUES (@FormatoDtmx, @CodSpec, @ValoreStr, @ValoreInt, @Note, @Peso, @Attivo);
|
||||
SELECT FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM TabSpecDtx WHERE (CodSpec = @CodSpec) AND (FormatoDtmx = @FormatoDtmx)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FormatoDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSpec" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ValoreStr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValoreStr" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ValoreInt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ValoreInt" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Peso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Peso" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM dbo.TabSpecDtx</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[TabSpecDtx] SET [FormatoDtmx] = @FormatoDtmx, [CodSpec] = @CodSpec, [ValoreStr] = @ValoreStr, [ValoreInt] = @ValoreInt, [Note] = @Note, [Peso] = @Peso, [Attivo] = @Attivo WHERE (([FormatoDtmx] = @Original_FormatoDtmx) AND ([CodSpec] = @Original_CodSpec) AND ([ValoreStr] = @Original_ValoreStr) AND ([ValoreInt] = @Original_ValoreInt) AND ([Note] = @Original_Note) AND ([Peso] = @Original_Peso) AND ([Attivo] = @Original_Attivo));
|
||||
SELECT FormatoDtmx, CodSpec, ValoreStr, ValoreInt, Note, Peso, Attivo FROM TabSpecDtx WHERE (CodSpec = @CodSpec) AND (FormatoDtmx = @FormatoDtmx)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FormatoDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSpec" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ValoreStr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValoreStr" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ValoreInt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ValoreInt" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Peso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Peso" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FormatoDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodSpec" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ValoreStr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ValoreStr" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ValoreInt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ValoreInt" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Peso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Peso" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Attivo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Attivo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="FormatoDtmx" DataSetColumn="FormatoDtmx" />
|
||||
<Mapping SourceColumn="CodSpec" DataSetColumn="CodSpec" />
|
||||
<Mapping SourceColumn="ValoreStr" DataSetColumn="ValoreStr" />
|
||||
<Mapping SourceColumn="ValoreInt" DataSetColumn="ValoreInt" />
|
||||
<Mapping SourceColumn="Note" DataSetColumn="Note" />
|
||||
<Mapping SourceColumn="Peso" DataSetColumn="Peso" />
|
||||
<Mapping SourceColumn="Attivo" DataSetColumn="Attivo" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dmtx.stp_getSpecDmtxByTipo" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByFormatoDtmx" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="getByFormatoDtmx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByFormatoDtmx" UserSourceName="getByFormatoDtmx">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dmtx.stp_getSpecDmtxByTipo</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="@FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -1417,6 +1555,70 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagSpecDtx" msprop:Generator_TableClassName="AnagSpecDtxDataTable" msprop:Generator_TableVarName="tableAnagSpecDtx" msprop:Generator_TablePropName="AnagSpecDtx" msprop:Generator_RowDeletingName="AnagSpecDtxRowDeleting" msprop:Generator_RowChangingName="AnagSpecDtxRowChanging" msprop:Generator_RowEvHandlerName="AnagSpecDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSpecDtxRowDeleted" msprop:Generator_UserTableName="AnagSpecDtx" msprop:Generator_RowChangedName="AnagSpecDtxRowChanged" msprop:Generator_RowEvArgName="AnagSpecDtxRowChangeEvent" msprop:Generator_RowClassName="AnagSpecDtxRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodSpec" msprop:Generator_ColumnVarNameInTable="columnCodSpec" msprop:Generator_ColumnPropNameInRow="CodSpec" msprop:Generator_ColumnPropNameInTable="CodSpecColumn" msprop:Generator_UserColumnName="CodSpec">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" msprop:Generator_UserColumnName="Tipo">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="TabSpecDtx" msprop:Generator_TableClassName="TabSpecDtxDataTable" msprop:Generator_TableVarName="tableTabSpecDtx" msprop:Generator_TablePropName="TabSpecDtx" msprop:Generator_RowDeletingName="TabSpecDtxRowDeleting" msprop:Generator_RowChangingName="TabSpecDtxRowChanging" msprop:Generator_RowEvHandlerName="TabSpecDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="TabSpecDtxRowDeleted" msprop:Generator_UserTableName="TabSpecDtx" msprop:Generator_RowChangedName="TabSpecDtxRowChanged" msprop:Generator_RowEvArgName="TabSpecDtxRowChangeEvent" msprop:Generator_RowClassName="TabSpecDtxRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="FormatoDtmx" msprop:Generator_ColumnVarNameInTable="columnFormatoDtmx" msprop:Generator_ColumnPropNameInRow="FormatoDtmx" msprop:Generator_ColumnPropNameInTable="FormatoDtmxColumn" msprop:Generator_UserColumnName="FormatoDtmx">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodSpec" msprop:Generator_ColumnVarNameInTable="columnCodSpec" msprop:Generator_ColumnPropNameInRow="CodSpec" msprop:Generator_ColumnPropNameInTable="CodSpecColumn" msprop:Generator_UserColumnName="CodSpec">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ValoreStr" msprop:Generator_ColumnVarNameInTable="columnValoreStr" msprop:Generator_ColumnPropNameInRow="ValoreStr" msprop:Generator_ColumnPropNameInTable="ValoreStrColumn" msprop:Generator_UserColumnName="ValoreStr">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ValoreInt" msprop:Generator_ColumnVarNameInTable="columnValoreInt" msprop:Generator_ColumnPropNameInRow="ValoreInt" msprop:Generator_ColumnPropNameInTable="ValoreIntColumn" msprop:Generator_UserColumnName="ValoreInt" type="xs:int" />
|
||||
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Peso" msprop:Generator_ColumnVarNameInTable="columnPeso" msprop:Generator_ColumnPropNameInRow="Peso" msprop:Generator_ColumnPropNameInTable="PesoColumn" msprop:Generator_UserColumnName="Peso" type="xs:int" />
|
||||
<xs:element name="Attivo" msprop:Generator_ColumnVarNameInTable="columnAttivo" msprop:Generator_ColumnPropNameInRow="Attivo" msprop:Generator_ColumnPropNameInTable="AttivoColumn" msprop:Generator_UserColumnName="Attivo" type="xs:boolean" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
@@ -1457,5 +1659,20 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh, PartNumberPos, PartNumber
|
||||
<xs:selector xpath=".//mstns:v_ElencoDmtx" />
|
||||
<xs:field xpath="mstns:DataMatrix" />
|
||||
</xs:unique>
|
||||
<xs:unique name="AnagSpecDtx_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:AnagSpecDtx" />
|
||||
<xs:field xpath="mstns:CodSpec" />
|
||||
</xs:unique>
|
||||
<xs:unique name="TabSpecDtx_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:TabSpecDtx" />
|
||||
<xs:field xpath="mstns:FormatoDtmx" />
|
||||
<xs:field xpath="mstns:CodSpec" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_TabSpecDtx_AnagFormatiDtmx" msdata:parent="AnagFormatiDtmx" msdata:child="TabSpecDtx" msdata:parentkey="FormatoDtmx" msdata:childkey="FormatoDtmx" msprop:Generator_UserChildTable="TabSpecDtx" msprop:Generator_ChildPropName="GetTabSpecDtxRows" msprop:Generator_UserRelationName="FK_TabSpecDtx_AnagFormatiDtmx" msprop:Generator_ParentPropName="AnagFormatiDtmxRow" msprop:Generator_RelationVarName="relationFK_TabSpecDtx_AnagFormatiDtmx" msprop:Generator_UserParentTable="AnagFormatiDtmx" />
|
||||
<msdata:Relationship name="FK_TabSpecDtx_AnagSpecDtx" msdata:parent="AnagSpecDtx" msdata:child="TabSpecDtx" msdata:parentkey="CodSpec" msdata:childkey="CodSpec" msprop:Generator_UserChildTable="TabSpecDtx" msprop:Generator_ChildPropName="GetTabSpecDtxRows" msprop:Generator_UserRelationName="FK_TabSpecDtx_AnagSpecDtx" msprop:Generator_ParentPropName="AnagSpecDtxRow" msprop:Generator_RelationVarName="relationFK_TabSpecDtx_AnagSpecDtx" msprop:Generator_UserParentTable="AnagSpecDtx" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
+45
-18
@@ -4,24 +4,51 @@
|
||||
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="-10" 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="-3" ViewPortY="26" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:TranscodificaParticolari" ZOrder="16" X="946" Y="49" Height="134" Width="281" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ElencoDataMatrix" ZOrder="14" X="604" Y="14" Height="400" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_trasfDataMatrix" ZOrder="15" X="951" Y="201" Height="324" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:stp_decodeDtx" ZOrder="10" X="392" Y="663" Height="115" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_verificaDtx" ZOrder="13" X="403" Y="795" Height="115" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_conteggioDtx" ZOrder="12" X="90" Y="664" Height="134" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_DtxAcquisiti" ZOrder="11" X="664" Y="669" Height="191" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:stp_getFirstLastDtx" ZOrder="9" X="96" Y="805" Height="115" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Dtx2UDC" ZOrder="4" X="87" Y="297" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:stp_DtxGetAvailFreeAnom" ZOrder="2" X="692" Y="873" Height="130" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Attr2Dtx" ZOrder="7" X="71" Y="36" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:v_Attr2Dtx" ZOrder="8" X="390" Y="69" Height="210" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:stp_DtxCheckBlocked" ZOrder="6" X="463" Y="469" Height="96" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="45" />
|
||||
<Shape ID="DesignTable:AnagFormatiDtmx" ZOrder="5" X="1226" Y="228" Height="305" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:Dmtx_ByAttr" ZOrder="3" X="1034" Y="550" Height="286" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_ElencoDmtx" ZOrder="1" X="1030" Y="885" Height="130" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:TranscodificaParticolari" ZOrder="20" X="946" Y="49" Height="134" Width="281" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ElencoDataMatrix" ZOrder="18" X="604" Y="14" Height="400" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_trasfDataMatrix" ZOrder="19" X="951" Y="201" Height="324" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:stp_decodeDtx" ZOrder="14" X="392" Y="663" Height="115" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_verificaDtx" ZOrder="17" X="403" Y="795" Height="115" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_conteggioDtx" ZOrder="16" X="90" Y="664" Height="134" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_DtxAcquisiti" ZOrder="15" X="664" Y="669" Height="191" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:stp_getFirstLastDtx" ZOrder="13" X="96" Y="805" Height="115" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Dtx2UDC" ZOrder="8" X="87" Y="297" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:stp_DtxGetAvailFreeAnom" ZOrder="6" X="692" Y="873" Height="130" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Attr2Dtx" ZOrder="11" X="71" Y="36" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:v_Attr2Dtx" ZOrder="12" X="390" Y="69" Height="210" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:stp_DtxCheckBlocked" ZOrder="10" X="463" Y="469" Height="96" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="45" />
|
||||
<Shape ID="DesignTable:AnagFormatiDtmx" ZOrder="9" X="1226" Y="228" Height="305" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:Dmtx_ByAttr" ZOrder="7" X="961" Y="549" Height="286" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_ElencoDmtx" ZOrder="5" X="1030" Y="885" Height="130" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagSpecDtx" ZOrder="2" X="1241" Y="875" Height="134" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:TabSpecDtx" ZOrder="1" X="1241" Y="581" Height="229" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_TabSpecDtx_AnagFormatiDtmx" ZOrder="4" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1315</X>
|
||||
<Y>533</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1315</X>
|
||||
<Y>581</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabSpecDtx_AnagSpecDtx" ZOrder="3" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1321</X>
|
||||
<Y>875</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1321</X>
|
||||
<Y>810</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
</Connectors>
|
||||
</DiagramLayout>
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user