v1.3.033
completato edit/delete/insert x SCFM
This commit is contained in:
Generated
+48
-7
@@ -9346,7 +9346,7 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
|
||||
[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[6];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM v_SchemaCollFamMacc";
|
||||
@@ -9381,15 +9381,22 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@filtByFamMac", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_SCFM_updateQuery";
|
||||
this._commandCollection[5].CommandText = "dbo.stp_SCFM_insertQuery";
|
||||
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("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, 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("@CodFam", 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("@NumSchede", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", 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_CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, 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_CodFam", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[6].Connection = this.Connection;
|
||||
this._commandCollection[6].CommandText = "dbo.stp_SCFM_updateQuery";
|
||||
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFam", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumSchede", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSchedaVers", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFam", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -9522,7 +9529,7 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
|
||||
[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 CodSchedaVers, string CodFam, global::System.Nullable<int> NumSchede, string Descrizione, string Original_CodSchedaVers, string Original_CodFam) {
|
||||
public virtual int insertQuery(string CodSchedaVers, string CodFam) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
if ((CodSchedaVers == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
@@ -9536,6 +9543,40 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(CodFam));
|
||||
}
|
||||
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 CodSchedaVers, string CodFam, global::System.Nullable<int> NumSchede, string Descrizione, string Original_CodSchedaVers, string Original_CodFam) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
||||
if ((CodSchedaVers == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(CodSchedaVers));
|
||||
}
|
||||
if ((CodFam == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(CodFam));
|
||||
}
|
||||
if ((NumSchede.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((int)(NumSchede.Value));
|
||||
}
|
||||
|
||||
@@ -889,6 +889,18 @@ SELECT CodScheda, Vers, CodMisura, MinPar, MaxPar, LIVal, LSVal FROM ValidVal WH
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_SCFM_insertQuery" 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="GetDataBy2" UserSourceName="insertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_SCFM_insertQuery</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="@CodSchedaVers" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodFam" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_SCFM_updateQuery" 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="GetDataBy" UserSourceName="updateQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace CMS_SC_Data
|
||||
taDS = new DS_ApplicazioneTableAdapters.DettSchedaTableAdapter();
|
||||
taEFM = new DS_ApplicazioneTableAdapters.ElencoFamMaccTableAdapter();
|
||||
taEM = new DS_ApplicazioneTableAdapters.ElencoMacchineCNTableAdapter();
|
||||
taSCFM = new DS_ApplicazioneTableAdapters.SchemaCollFamMaccTableAdapter();
|
||||
taVV = new DS_ApplicazioneTableAdapters.ValidValTableAdapter();
|
||||
//taFile = new DS_UtilityTableAdapters.tblFilesTableAdapter();
|
||||
}
|
||||
@@ -44,6 +45,7 @@ namespace CMS_SC_Data
|
||||
taDS.Connection.ConnectionString = connStr;
|
||||
taEFM.Connection.ConnectionString = connStr;
|
||||
taEM.Connection.ConnectionString = connStr;
|
||||
taSCFM.Connection.ConnectionString = connStr;
|
||||
taVV.Connection.ConnectionString = connStr;
|
||||
//taFile.Connection.ConnectionString = connStrFiles;
|
||||
}
|
||||
@@ -57,6 +59,7 @@ namespace CMS_SC_Data
|
||||
public DS_ApplicazioneTableAdapters.DettSchedaTableAdapter taDS;
|
||||
public DS_ApplicazioneTableAdapters.ElencoFamMaccTableAdapter taEFM;
|
||||
public DS_ApplicazioneTableAdapters.ElencoMacchineCNTableAdapter taEM;
|
||||
public DS_ApplicazioneTableAdapters.SchemaCollFamMaccTableAdapter taSCFM;
|
||||
public DS_ApplicazioneTableAdapters.ValidValTableAdapter taVV;
|
||||
//public DS_UtilityTableAdapters.tblFilesTableAdapter taFile;
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -12,19 +12,22 @@
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container-flow">
|
||||
<div class="row" style="padding: 0px 5px; font-size:0.9em;">
|
||||
<div class="col-xs-6">
|
||||
<asp:CheckBox runat="server" ID="chkFiltCodSchedaVers" AutoPostBack="True" OnCheckedChanged="chkFiltCodSchedaVers_CheckedChanged" />
|
||||
<uc1:mod_selSchedaUrl runat="server" ID="mod_selSchedaUrl" showLinkDoc="False" />
|
||||
</div>
|
||||
<div class="col-xs-6" style="float: right; margin: auto;">
|
||||
<div class="row" style="padding: 0px 5px; font-size: 0.9em;">
|
||||
<div class="col-xs-3">
|
||||
<asp:CheckBox runat="server" ID="chkFilFamMacc" AutoPostBack="True" OnCheckedChanged="chkFilFamMacc_CheckedChanged" />
|
||||
<uc1:mod_selFamMaccUrl runat="server" ID="mod_selFamMaccUrl" />
|
||||
</div>
|
||||
<div class="col-xs-7">
|
||||
<asp:CheckBox runat="server" ID="chkFiltCodSchedaVers" AutoPostBack="True" OnCheckedChanged="chkFiltCodSchedaVers_CheckedChanged" />
|
||||
<uc1:mod_selSchedaUrl runat="server" ID="mod_selSchedaUrl" showLinkDoc="False" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<asp:Button runat="server" ID="btnAddNew" CssClass="btn btn-success" Text='<%# traduci("btnAddNewFromEmpty") %>' OnClick="btnAddNew_Click" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="padding: 0px 5px;">
|
||||
<div class="col-xs-12">
|
||||
<uc1:mod_SchemaCollFamMacc runat="server" id="mod_SchemaCollFamMacc" />
|
||||
<uc1:mod_SchemaCollFamMacc runat="server" ID="mod_SchemaCollFamMacc" />
|
||||
<uc1:mod_righePag ID="mod_righePag" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace CMS_SC
|
||||
mod_SchemaCollFamMacc.pageSize = mod_righePag.numRowPag;
|
||||
presetChk();
|
||||
fixChkFilt();
|
||||
btnAddNew.DataBind();
|
||||
}
|
||||
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
|
||||
}
|
||||
@@ -63,6 +64,7 @@ namespace CMS_SC
|
||||
memLayer.ML.setSessionVal("filtByScheda", chkFiltCodSchedaVers.Checked);
|
||||
mod_selFamMaccUrl.Visible = chkFilFamMacc.Checked;
|
||||
mod_selSchedaUrl.Visible = chkFiltCodSchedaVers.Checked;
|
||||
btnAddNew.Visible = addNewEnabled;
|
||||
mod_SchemaCollFamMacc.doUpdate();
|
||||
}
|
||||
|
||||
@@ -80,5 +82,27 @@ namespace CMS_SC
|
||||
{
|
||||
fixChkFilt();
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica se si possano aggiungere nuovi record ovvero se selezionata famiglia e scheda...
|
||||
/// </summary>
|
||||
public bool addNewEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
answ = (memLayer.ML.QSS("CodSchedaVers") != "") && (memLayer.ML.QSS("CodFam") != "") && memLayer.ML.BoolSessionObj("filtByFamMac") && memLayer.ML.BoolSessionObj("filtByScheda");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnAddNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
mod_SchemaCollFamMacc.addNewFromSel(memLayer.ML.QSS("CodSchedaVers"), memLayer.ML.QSS("CodFam"));
|
||||
}
|
||||
}
|
||||
}
|
||||
+27
-18
@@ -12,24 +12,6 @@ namespace CMS_SC {
|
||||
|
||||
public partial class SchemaCollFamMacc {
|
||||
|
||||
/// <summary>
|
||||
/// chkFiltCodSchedaVers 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.CheckBox chkFiltCodSchedaVers;
|
||||
|
||||
/// <summary>
|
||||
/// mod_selSchedaUrl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::CMS_SC.WebUserControls.mod_selSchedaUrl mod_selSchedaUrl;
|
||||
|
||||
/// <summary>
|
||||
/// chkFilFamMacc control.
|
||||
/// </summary>
|
||||
@@ -48,6 +30,33 @@ namespace CMS_SC {
|
||||
/// </remarks>
|
||||
protected global::CMS_SC.WebUserControls.mod_selFamMaccUrl mod_selFamMaccUrl;
|
||||
|
||||
/// <summary>
|
||||
/// chkFiltCodSchedaVers 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.CheckBox chkFiltCodSchedaVers;
|
||||
|
||||
/// <summary>
|
||||
/// mod_selSchedaUrl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::CMS_SC.WebUserControls.mod_selSchedaUrl mod_selSchedaUrl;
|
||||
|
||||
/// <summary>
|
||||
/// btnAddNew 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.Button btnAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// mod_SchemaCollFamMacc control.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_SchemaCollFamMacc.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_SchemaCollFamMacc" %>
|
||||
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="CodFam,CodSchedaVers" DataSourceID="ods" CssClass="table table-striped" AllowPaging="True" AllowSorting="True">
|
||||
<PagerStyle CssClass="bg-primary" />
|
||||
<SelectedRowStyle CssClass="info" />
|
||||
<EmptyDataTemplate>
|
||||
<%: traduci("NoRecords") %>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-Wrap="false">
|
||||
<EditItemTemplate>
|
||||
@@ -42,7 +46,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-Wrap="false">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbAddNew" runat="server" CausesValidation="false" ToolTip="InsNew" CssClass="fa fa-plus fa-2x" OnClick="lbAddNew_Click" />
|
||||
<%--<asp:LinkButton ID="lbAddNew" runat="server" CausesValidation="false" ToolTip="InsNew" CssClass="fa fa-plus fa-2x" OnClick="lbAddNew_Click" />--%>
|
||||
</HeaderTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbUpdate2" runat="server" CausesValidation="True" CommandName="Update" ToolTip="Update" CssClass="fa fa-check fa-2x" />
|
||||
|
||||
@@ -5,6 +5,7 @@ using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using CMS_SC_Data;
|
||||
using SteamWare;
|
||||
|
||||
namespace CMS_SC.WebUserControls
|
||||
{
|
||||
@@ -12,7 +13,6 @@ namespace CMS_SC.WebUserControls
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// dimensione pagina grid view
|
||||
@@ -29,14 +29,14 @@ namespace CMS_SC.WebUserControls
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// richiesta di aggiunta record, tutto a zero!
|
||||
/// inserimento nuovo record x chiave indicata
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbAddNew_Click(object sender, EventArgs e)
|
||||
/// <param name="CodSchedaVers"></param>
|
||||
/// <param name="codFam"></param>
|
||||
public void addNewFromSel(string CodSchedaVers, string codFam)
|
||||
{
|
||||
//// inserisco nuovo record
|
||||
//DtProxy.man.taAF.insertQuery("000000", "000000 Nuova Fase");
|
||||
// inserisco nuovo record
|
||||
DtProxy.man.taSCFM.insertQuery(CodSchedaVers, codFam);
|
||||
// update!
|
||||
grView.DataBind();
|
||||
}
|
||||
@@ -48,8 +48,15 @@ namespace CMS_SC.WebUserControls
|
||||
|
||||
protected void ods_Updating(object sender, ObjectDataSourceMethodEventArgs e)
|
||||
{
|
||||
// verifico campi...
|
||||
//e.InputParameters
|
||||
}
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.3.031.336")]
|
||||
[assembly: AssemblyFileVersion("1.3.031.336")]
|
||||
[assembly: AssemblyVersion("1.3.033.336")]
|
||||
[assembly: AssemblyFileVersion("1.3.033.336")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2009-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.3.031.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.3.031.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("1.3.033.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.3.033.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2009-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user