Lettura conf numImballi da DB

This commit is contained in:
Samuele E. Locatelli
2017-10-27 18:02:43 +02:00
parent 8d251d7f90
commit 8b719a06e6
3 changed files with 879 additions and 858 deletions
+4 -2
View File
@@ -133,12 +133,14 @@
</div>
<div class="panel-body">
<asp:Label runat="server" ID="lblPart" />
<asp:HiddenField runat="server" ID="hfCodStato" Value="Fin" />
<asp:HiddenField runat="server" ID="hfNumLast" Value="3" />
<asp:DropDownList runat="server" ID="ddlImballi" DataSourceID="odsImballi" DataTextField="value" DataValueField="value" OnDataBound="ddlImballi_DataBound" Font-Size="2em"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsImballi" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPartLastUsed" TypeName="GMW_data.DS_UtilityTableAdapters.v_selImballiTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="lblPart" PropertyName="Text" Name="Particolare" Type="String" DefaultValue="" />
<asp:Parameter DefaultValue="Fin" Name="CodStato" Type="String" />
<asp:Parameter DefaultValue="3" Name="numLast" Type="Int32" />
<asp:ControlParameter ControlID="hfCodStato" PropertyName="Value" Name="CodStato" Type="String" DefaultValue="Fin" />
<asp:ControlParameter ControlID="hfNumLast" PropertyName="Value" Name="numLast" Type="Int32" DefaultValue="3" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
File diff suppressed because it is too large Load Diff
+18
View File
@@ -210,6 +210,24 @@ namespace GMW.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPart;
/// <summary>
/// Controllo hfCodStato.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCodStato;
/// <summary>
/// Controllo hfNumLast.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfNumLast;
/// <summary>
/// Controllo ddlImballi.
/// </summary>