forzato conversione datetime ad ITA... da rivedere...

This commit is contained in:
Samuele E. Locatelli
2015-02-16 17:03:22 +01:00
parent ce31b5a422
commit ff3366e2c3
31 changed files with 143 additions and 169 deletions
+22 -5
View File
@@ -36,16 +36,33 @@ public class WebGimUtils
/// <param name="dataOra"></param>
/// <param name="formato"></param>
/// <param name="culture"></param>
/// <param name="doLog"></param>
/// <returns></returns>
public static DateTime convDate(string dataOra, string formato, string cultura)
public static DateTime convDate(string dataOra, string formato, string cultura, bool doLog)
{
DateTime answ = DateTime.Now;
CultureInfo culture = new CultureInfo(cultura);
//logger.lg.scriviLog(string.Format("Valore txt:{1}", Environment.NewLine, dataOra), tipoLog.INFO);
DateTime.TryParseExact(dataOra, formato, culture, DateTimeStyles.None, out answ);
//logger.lg.scriviLog(string.Format("Valore txt:{1}{0}Valore conv:{2}", Environment.NewLine, dataOra, answ), tipoLog.INFO);
if(doLog) logger.lg.scriviLog(string.Format("Valore txt:{1}", Environment.NewLine, dataOra), tipoLog.INFO);
bool fatto = false;
fatto = DateTime.TryParseExact(dataOra, formato, culture, DateTimeStyles.None, out answ);
if (doLog) logger.lg.scriviLog(string.Format("{0}Valore txt:{1}{0}Valore conv:{2}", Environment.NewLine, dataOra, answ), tipoLog.INFO);
if (!fatto)
{
answ = Convert.ToDateTime(dataOra);
}
if (doLog) logger.lg.scriviLog(string.Format("{0}Valore txt:{1}{0}Valore conv BIS:{2}", Environment.NewLine, dataOra, answ), tipoLog.INFO);
return answ;
}
/// <summary>
/// converte in datetime un valore formattato con una culture generica ed un formato generico
/// </summary>
/// <param name="dataOra"></param>
/// <param name="formato"></param>
/// <param name="culture"></param>
/// <returns></returns>
public static DateTime convDate(string dataOra, string formato, string cultura)
{
return convDate(dataOra, formato, cultura, false);
}
public static WebGimUtils obj = new WebGimUtils();
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -624,6 +624,7 @@
</Content>
<None Include="Web.Alumat.config">
<DependentUpon>Web.config</DependentUpon>
<SubType>Designer</SubType>
</None>
<None Include="Web.IIS02.config">
<DependentUpon>Web.config</DependentUpon>
+5 -13
View File
@@ -3,7 +3,7 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add key="dominio" value="WINLAB" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="_logLevel" value="5" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="_logLevel" value="6" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!--<add key="exportFormat1" value="./ExportPdf.aspx?tipo={0}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="exportFormat2" value="../ExportPdf.aspx?tipo={0}&amp;idx={1}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="exportFormat3" value="./ExportPdf.aspx?tipo={0}&amp;inizio={1}&amp;fine={2}&amp;username={3}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />-->
@@ -13,18 +13,10 @@
<add key="AppConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=Alumat_WebGIM;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="TestAppConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=Alumat_WebGIM;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="stampanteRichiesteMtz" value="\\pc-manutenzione\HP-manut" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="culture"
value="it-IT"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyy"
value="dd/MM/yy"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyy"
value="dd/MM/yyyy"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyyHHmm"
value="dd/MM/yyyy HH:mm"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="culture" value="it-IT" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyy" value="dd/MM/yy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyy" value="dd/MM/yyyy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyyHHmm" value="dd/MM/yyyy HH:mm" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="appAdminEmail" value="astolfi@alumat.it, luzzana@alumat.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
<connectionStrings>
+37 -113
View File
@@ -3,117 +3,41 @@
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an atrribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<appSettings>
<add key="dominio"
value="SOUTHBENDGEAR"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="_logLevel"
value="5"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="exportFormat1"
value="./ExportPdf.aspx?tipo={0}"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="exportFormat2"
value="../ExportPdf.aspx?tipo={0}&amp;idx={1}"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="exportFormat3"
value="./ExportPdf.aspx?tipo={0}&amp;inizio={1}&amp;fine={2}&amp;username={3}"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="PermessiConnectionString"
value="Data Source=localhost\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=ViaDante16!"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="UtenteCdcConnectionString"
value="Data Source=localhost\SQLExpress;Initial Catalog=GimUsaAnag;Persist Security Info=True;User id=sa;Password=ViaDante16!"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="VocabolarioConnectionString"
value="Data Source=localhost\SQLExpress;Initial Catalog=GimUsaVoc;Persist Security Info=True;User id=sa;Password=ViaDante16!"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="AppConnectionString"
value="Data Source=localhost\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=ViaDante16!"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="TestAppConnectionString"
value="Data Source=localhost\SQLExpress;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=ViaDante16!"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="stampanteRichiesteMtz"
value="\\pc-manutenzione\HP-manut"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newAmbitoGuasto"
value="-- [NEW] undefined --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newCognome"
value="-- [NEW] Surname --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newNome"
value="-- [NEW] Name --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newCalFF"
value="-- [NEW] undefined --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newImpianto"
value="-- [NEW] undefined --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newTipoGuasto"
value="-- [NEW] undefined --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newMacchina"
value="-- [NEW] undefined --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newModello"
value="-- MODEL --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newFamMacchina"
value="-- [NEW] undefined --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newCausale"
value="-- [NEW] undefined --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newPriorita"
value="-- [NEW] undefined --"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="culture"
value="en-US"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyy"
value="yy/MM/dd"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyy"
value="yyyy/MM/dd"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyyHHmm"
value="yyyy/MM/dd HH:mm"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="appAdminEmail"
value="dgregis@somaschini.com"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
</appSettings>
<connectionStrings>
<add name="GIMConnectionString"
connectionString="Data Source=localhost\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=ViaDante16!"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute.
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
<!-- In the example below, the "SetAttributes" transform will change the value of "connectionString" to use "ReleaseSQLServer" only when the "Match" locator finds an atrribute "name" that has a value of "MyDB". <connectionStrings> <add name="MyDB" connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> </connectionStrings> -->
<appSettings>
<add key="dominio" value="SOUTHBENDGEAR" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="_logLevel" value="5" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="exportFormat1" value="./ExportPdf.aspx?tipo={0}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="exportFormat2" value="../ExportPdf.aspx?tipo={0}&amp;idx={1}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="exportFormat3" value="./ExportPdf.aspx?tipo={0}&amp;inizio={1}&amp;fine={2}&amp;username={3}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="PermessiConnectionString" value="Data Source=localhost\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=ViaDante16!" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="UtenteCdcConnectionString" value="Data Source=localhost\SQLExpress;Initial Catalog=GimUsaAnag;Persist Security Info=True;User id=sa;Password=ViaDante16!" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="VocabolarioConnectionString" value="Data Source=localhost\SQLExpress;Initial Catalog=GimUsaVoc;Persist Security Info=True;User id=sa;Password=ViaDante16!" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="AppConnectionString" value="Data Source=localhost\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=ViaDante16!" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="TestAppConnectionString" value="Data Source=localhost\SQLExpress;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=ViaDante16!" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="stampanteRichiesteMtz" value="\\pc-manutenzione\HP-manut" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newAmbitoGuasto" value="-- [NEW] undefined --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newCognome" value="-- [NEW] Surname --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newNome" value="-- [NEW] Name --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newCalFF" value="-- [NEW] undefined --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newImpianto" value="-- [NEW] undefined --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newTipoGuasto" value="-- [NEW] undefined --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newMacchina" value="-- [NEW] undefined --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newModello" value="-- MODEL --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newFamMacchina" value="-- [NEW] undefined --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newCausale" value="-- [NEW] undefined --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="newPriorita" value="-- [NEW] undefined --" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="culture" value="en-US" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyy" value="yy/MM/dd" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyy" value="yyyy/MM/dd" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyyHHmm" value="yyyy/MM/dd HH:mm" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="appAdminEmail" value="dgregis@somaschini.com" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
</appSettings>
<connectionStrings>
<add name="GIMConnectionString" connectionString="Data Source=localhost\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=ViaDante16!" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!-- In the example below, the "Replace" transform will replace the entire <customErrors> section of your web.config file. Note that because there is only one customErrors section under the <system.web> node, there is no need to use the "xdt:Locator" attribute. <customErrors defaultRedirect="GenericError.htm" mode="RemoteOnly" xdt:Transform="Replace"> <error statusCode="500" redirect="InternalError.htm"/> </customErrors> -->
</system.web>
</configuration>
+6 -2
View File
@@ -24,8 +24,12 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<!--Versione USA!!!
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" /> -->
<!--Versione Ita-->
<globalization culture="it-IT" uiCulture="it-IT" enableClientBasedCulture="false" />
<!--Versione AUTO!!!
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -159,6 +159,7 @@ public partial class mod_dataOra : System.Web.UI.UserControl
min = Convert.ToDateTime(txtTime.Text).Minute;
break;
}
DateTime valore = WebGimUtils.convDate(txtData.Text, memLayer.ML.CRS("ddMMyyyy"), memLayer.ML.CRS("culture"));
#if false
string formato = memLayer.ML.CRS("ddMMyyyy");
@@ -132,11 +132,22 @@ public partial class mod_insertRichiesta : System.Web.UI.UserControl
try
{
// sistemo i valori
DateTime richiesta = Convert.ToDateTime(txtDataOra.Text.Trim());
DateTime dataLav = Convert.ToDateTime(txtDataLav.Text.Trim());
// 2015.02.16 fix datetime!!!
//DateTime richiesta = Convert.ToDateTime(txtDataOra.Text.Trim());
//DateTime dataLav = Convert.ToDateTime(txtDataLav.Text.Trim());
DateTime richiesta = WebGimUtils.convDate(txtDataOra.Text.Trim(), memLayer.ML.CRS("ddMMyyyy"), memLayer.ML.CRS("culture"), true);
DateTime dataLav = WebGimUtils.convDate(txtDataLav.Text.Trim(), memLayer.ML.CRS("ddMMyyyy"), memLayer.ML.CRS("culture"));
DateTime inizioGuasto = mod_dataOra1.valore;
if (memLayer.ML.confReadInt("_logLevel") > 5)
{
logger.lg.scriviLog(string.Format("richiesta: {0} -> {1}", txtDataOra.Text, richiesta));
logger.lg.scriviLog(string.Format("dataLav: {0} -> {1}", txtDataLav.Text, dataLav));
logger.lg.scriviLog(string.Format("inizioGuasto: {0}", mod_dataOra1.valore));
}
int turno = Convert.ToInt32(txtTurnoLav.Text);
string matr = txtMatr.Text.Trim();
DateTime inizioGuasto = mod_dataOra1.valore;
int idxAmbito = Convert.ToInt32(ddlAmbito.SelectedValue);
int idxPrior = Convert.ToInt32(ddlPrior.SelectedValue);
bool isFermo = chkImpFermo.Checked;
@@ -152,6 +163,10 @@ public partial class mod_insertRichiesta : System.Web.UI.UserControl
}
catch
{ }
if (memLayer.ML.confReadInt("_logLevel") > 5)
{
logger.lg.scriviLog(string.Format("sp_insRichiesta, valori: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13}", richiesta, dataLav, turno, matr, inizioGuasto, idxAmbito, idxPrior, isFermo, idxTipo, idxImpianto, idxMacchina, descrizione, idxCausale, false));
}
// stored inserimento!
TA_app.obj.taInterventiMtz.sp_insRichiesta(richiesta, dataLav, turno, matr, inizioGuasto, idxAmbito, idxPrior, isFermo, idxTipo, idxImpianto, idxMacchina, descrizione, idxCausale, false, ref numReq);
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -24,8 +24,12 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<!--Versione USA!!!
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" /> -->
<!--Versione Ita-->
<globalization culture="it-IT" uiCulture="it-IT" enableClientBasedCulture="false" />
<!--Versione AUTO!!!
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -93,7 +97,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="_fromEmail" value="info@steamware.net" />
<add key="_logDir" value="./logs/" />
<add key="_logLevel" value="5" />
<add key="_logLevel" value="6" />
<add key="doShrinkFolder" value="true" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />
@@ -24,8 +24,12 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<!--Versione USA!!!
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" /> -->
<!--Versione Ita-->
<globalization culture="it-IT" uiCulture="it-IT" enableClientBasedCulture="false" />
<!--Versione AUTO!!!
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -93,7 +97,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="_fromEmail" value="info@steamware.net" />
<add key="_logDir" value="./logs/" />
<add key="_logLevel" value="5" />
<add key="_logLevel" value="6" />
<add key="doShrinkFolder" value="true" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />
@@ -24,8 +24,12 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<!--Versione USA!!!
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" /> -->
<!--Versione Ita-->
<globalization culture="it-IT" uiCulture="it-IT" enableClientBasedCulture="false" />
<!--Versione AUTO!!!
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -93,7 +97,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="_fromEmail" value="info@steamware.net" />
<add key="_logDir" value="./logs/" />
<add key="_logLevel" value="5" />
<add key="_logLevel" value="6" />
<add key="doShrinkFolder" value="true" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />
@@ -24,8 +24,12 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<!--Versione USA!!!
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" /> -->
<!--Versione Ita-->
<globalization culture="it-IT" uiCulture="it-IT" enableClientBasedCulture="false" />
<!--Versione AUTO!!!
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -93,7 +97,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="_fromEmail" value="info@steamware.net" />
<add key="_logDir" value="./logs/" />
<add key="_logLevel" value="5" />
<add key="_logLevel" value="6" />
<add key="doShrinkFolder" value="true" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />
Binary file not shown.
@@ -24,8 +24,12 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<!--Versione USA!!!
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" /> -->
<!--Versione Ita-->
<globalization culture="it-IT" uiCulture="it-IT" enableClientBasedCulture="false" />
<!--Versione AUTO!!!
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -93,7 +97,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="_fromEmail" value="info@steamware.net" />
<add key="_logDir" value="./logs/" />
<add key="_logLevel" value="5" />
<add key="_logLevel" value="6" />
<add key="doShrinkFolder" value="true" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />
@@ -3,7 +3,7 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add key="dominio" value="WINLAB" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="_logLevel" value="5" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="_logLevel" value="6" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!--<add key="exportFormat1" value="./ExportPdf.aspx?tipo={0}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="exportFormat2" value="../ExportPdf.aspx?tipo={0}&amp;idx={1}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="exportFormat3" value="./ExportPdf.aspx?tipo={0}&amp;inizio={1}&amp;fine={2}&amp;username={3}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />-->
@@ -13,18 +13,10 @@
<add key="AppConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=Alumat_WebGIM;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="TestAppConnectionString" value="Data Source=localhost\SQLExpress2008R2;Initial Catalog=Alumat_WebGIM;Persist Security Info=True;User ID=sa;Password=keyhammer" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="stampanteRichiesteMtz" value="\\pc-manutenzione\HP-manut" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="culture"
value="it-IT"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyy"
value="dd/MM/yy"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyy"
value="dd/MM/yyyy"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyyHHmm"
value="dd/MM/yyyy HH:mm"
xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="culture" value="it-IT" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyy" value="dd/MM/yy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyy" value="dd/MM/yyyy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ddMMyyyyHHmm" value="dd/MM/yyyy HH:mm" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="appAdminEmail" value="astolfi@alumat.it, luzzana@alumat.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
<connectionStrings>
@@ -24,8 +24,12 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<!--Versione USA!!!
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" /> -->
<!--Versione Ita-->
<globalization culture="it-IT" uiCulture="it-IT" enableClientBasedCulture="false" />
<!--Versione AUTO!!!
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -24,8 +24,12 @@
<system.web>
<identity />
<authentication mode="Windows" />
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" />
<!--<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<!--Versione USA!!!
<globalization culture="en-US" uiCulture="en-US" enableClientBasedCulture="false" /> -->
<!--Versione Ita-->
<globalization culture="it-IT" uiCulture="it-IT" enableClientBasedCulture="false" />
<!--Versione AUTO!!!
<globalization culture="auto" uiCulture="auto" enableClientBasedCulture="true" />-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
@@ -93,7 +97,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="_fromEmail" value="info@steamware.net" />
<add key="_logDir" value="./logs/" />
<add key="_logLevel" value="5" />
<add key="_logLevel" value="6" />
<add key="doShrinkFolder" value="true" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />