Completata review conf parametri --> add abilitato
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<LastActiveSolutionConfig>TK_prod|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
</PropertyGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div style="white-space: nowrap;">
|
||||
<asp:LinkButton runat="server" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>' Visible='<%# enableSelect %>' CssClass="btn btn-sm btn-primary"><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>' Visible='<%# isNotRoot(Eval("CodLinea")) && enableSelect %>' CssClass="btn btn-sm btn-primary"><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# isNotRoot(Eval("CodLinea")) && enableEdit %>' CssClass="btn btn-sm btn-primary"><i class="fa fa-pencil" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
|
||||
@@ -6,10 +6,13 @@
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-primary text-light2" />
|
||||
<EmptyDataTemplate>
|
||||
No records
|
||||
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-success btn-sm" OnClick="lbtAddNew_Click" ToolTip="Add New Record">Add New <i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-success btn-sm" OnClick="lbtAddNew_Click" ToolTip="Add New"><i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<EditItemTemplate>
|
||||
<div class="text-nowrap">
|
||||
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="True" CommandName="Update" CssClass="btn btn-sm btn-success"><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton>
|
||||
@@ -34,7 +37,7 @@
|
||||
<asp:TemplateField HeaderText="M" SortExpression="Modo">
|
||||
<EditItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlModo" SelectedValue='<%# Bind("Modo") %>'>
|
||||
<asp:ListItem Text="VETO" Value="0" />
|
||||
<%--<asp:ListItem Text="VETO" Value="0" />--%>
|
||||
<asp:ListItem Text="PASSA" Value="1" />
|
||||
</asp:DropDownList>
|
||||
</EditItemTemplate>
|
||||
|
||||
@@ -232,6 +232,16 @@ namespace GMW.WebUserControls
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Aggiunta nuovo record...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtAddNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
// creo un NUOVO record con funzionalità "PASS" di default...
|
||||
MagClass.magazzino.taConfLin.Insert(codLinea, "Particolare", "Cod Particolare", 1);
|
||||
grView.DataBind();
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
-14
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW.WebUserControls {
|
||||
@@ -13,29 +13,29 @@ namespace GMW.WebUserControls {
|
||||
public partial class mod_confLinea {
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// hfCodLinea control.
|
||||
/// Controllo hfCodLinea.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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 hfCodLinea;
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace GMW_data
|
||||
/// Oggetto locale gestione classe datamatrix...
|
||||
/// </summary>
|
||||
protected DataMatrix DataMatrix_mgr = new DataMatrix();
|
||||
|
||||
#region area table adapters
|
||||
|
||||
// variabile di tipo table adapter
|
||||
@@ -50,6 +51,7 @@ namespace GMW_data
|
||||
public DS_magazzinoTableAdapters.UDC_check4deleteTableAdapter taUdcChk4Del;
|
||||
public DS_magazzinoTableAdapters.AnagKitTableAdapter taAK;
|
||||
public DS_magazzinoTableAdapters.RelKit2PartTableAdapter taRK2P;
|
||||
public DS_magazzinoTableAdapters.ConfLineaTableAdapter taConfLin;
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -92,6 +94,7 @@ namespace GMW_data
|
||||
taUdcChk4Del = new DS_magazzinoTableAdapters.UDC_check4deleteTableAdapter();
|
||||
taAK = new DS_magazzinoTableAdapters.AnagKitTableAdapter();
|
||||
taRK2P = new DS_magazzinoTableAdapters.RelKit2PartTableAdapter();
|
||||
taConfLin = new DS_magazzinoTableAdapters.ConfLineaTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
@@ -133,6 +136,7 @@ namespace GMW_data
|
||||
taUdcChk4Del.Connection.ConnectionString = connString;
|
||||
taAK.Connection.ConnectionString = connString;
|
||||
taRK2P.Connection.ConnectionString = connString;
|
||||
taConfLin.Connection.ConnectionString = connString;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Vendored
+1
-1
@@ -11,7 +11,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=2126']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=2127']) {
|
||||
// impiego numero di build del SINGOLO RAMO
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '4.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
// forzo numero di build x tutti rami uguali
|
||||
|
||||
Reference in New Issue
Block a user