iniziata integrazione file come allegato (su tab) alle misure...
This commit is contained in:
Generated
+36
-13
@@ -6995,7 +6995,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
[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[5];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.tblFiles";
|
||||
@@ -7008,29 +7008,35 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = "dbo.stp_file_getByKey";
|
||||
this._commandCollection[2].CommandText = "dbo.stp_file_getByFiltKey";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FiltKey", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_file_InsertQuery";
|
||||
this._commandCollection[3].CommandText = "dbo.stp_file_getByKey";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FileName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FiltKey", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ContentType", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.VarBinary, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_file_UpdateQuery";
|
||||
this._commandCollection[4].CommandText = "dbo.stp_file_InsertQuery";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FileName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FiltKey", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ContentType", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.VarBinary, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_file_UpdateQuery";
|
||||
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("@FileName", 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("@FiltKey", global::System.Data.SqlDbType.NVarChar, 500, 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("@ContentType", global::System.Data.SqlDbType.NVarChar, 250, 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("@Data", global::System.Data.SqlDbType.VarBinary, 2147483647, 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_idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -7061,8 +7067,25 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Utility.tblFilesDataTable getByKey(global::System.Nullable<int> idxFile) {
|
||||
public virtual DS_Utility.tblFilesDataTable getByFiltKey(string FiltKey) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((FiltKey == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(FiltKey));
|
||||
}
|
||||
DS_Utility.tblFilesDataTable dataTable = new DS_Utility.tblFilesDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[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")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Utility.tblFilesDataTable getByKey(global::System.Nullable<int> idxFile) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((idxFile.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxFile.Value));
|
||||
}
|
||||
@@ -7079,7 +7102,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Utility.tblFilesDataTable insertQuery(string FileName, string FiltKey, string ContentType, byte[] Data) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((FileName == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -7348,7 +7371,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
[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 FileName, string FiltKey, string ContentType, byte[] Data, global::System.Nullable<int> Original_idxFile) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
if ((FileName == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
|
||||
+22
-11
@@ -467,6 +467,17 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_file_getByFiltKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByFiltKey" GetMethodModifier="Public" GetMethodName="getByFiltKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByFiltKey" UserSourceName="getByFiltKey">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_file_getByFiltKey</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="@FiltKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_file_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -492,7 +503,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_file_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="GetDataBy2" UserSourceName="updateQuery">
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_file_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="GetDataBy1" UserSourceName="updateQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_file_UpdateQuery</CommandText>
|
||||
@@ -517,7 +528,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Utility" msprop:Generator_UserDSName="DS_Utility">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="v_selScheda" msprop:Generator_TableClassName="v_selSchedaDataTable" msprop:Generator_TableVarName="tablev_selScheda" msprop:Generator_RowChangedName="v_selSchedaRowChanged" msprop:Generator_TablePropName="v_selScheda" msprop:Generator_RowDeletingName="v_selSchedaRowDeleting" msprop:Generator_RowChangingName="v_selSchedaRowChanging" msprop:Generator_RowEvHandlerName="v_selSchedaRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selSchedaRowDeleted" msprop:Generator_RowClassName="v_selSchedaRow" msprop:Generator_UserTableName="v_selScheda" msprop:Generator_RowEvArgName="v_selSchedaRowChangeEvent">
|
||||
<xs:element name="v_selScheda" msprop:Generator_TableClassName="v_selSchedaDataTable" msprop:Generator_TableVarName="tablev_selScheda" msprop:Generator_TablePropName="v_selScheda" msprop:Generator_RowDeletingName="v_selSchedaRowDeleting" msprop:Generator_RowChangingName="v_selSchedaRowChanging" msprop:Generator_RowEvHandlerName="v_selSchedaRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selSchedaRowDeleted" msprop:Generator_UserTableName="v_selScheda" msprop:Generator_RowChangedName="v_selSchedaRowChanged" msprop:Generator_RowEvArgName="v_selSchedaRowChangeEvent" msprop:Generator_RowClassName="v_selSchedaRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -537,7 +548,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selListVal" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_TableVarName="tablev_selListVal" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_UserTableName="v_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent" msprop:Generator_RowClassName="v_selListValRow">
|
||||
<xs:element name="v_selListVal" msprop:Generator_TableClassName="v_selListValDataTable" msprop:Generator_TableVarName="tablev_selListVal" msprop:Generator_RowChangedName="v_selListValRowChanged" msprop:Generator_TablePropName="v_selListVal" msprop:Generator_RowDeletingName="v_selListValRowDeleting" msprop:Generator_RowChangingName="v_selListValRowChanging" msprop:Generator_RowEvHandlerName="v_selListValRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selListValRowDeleted" msprop:Generator_RowClassName="v_selListValRow" msprop:Generator_UserTableName="v_selListVal" msprop:Generator_RowEvArgName="v_selListValRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -557,7 +568,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selFamMacc" msprop:Generator_TableClassName="v_selFamMaccDataTable" msprop:Generator_TableVarName="tablev_selFamMacc" msprop:Generator_RowChangedName="v_selFamMaccRowChanged" msprop:Generator_TablePropName="v_selFamMacc" msprop:Generator_RowDeletingName="v_selFamMaccRowDeleting" msprop:Generator_RowChangingName="v_selFamMaccRowChanging" msprop:Generator_RowEvHandlerName="v_selFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFamMaccRowDeleted" msprop:Generator_RowClassName="v_selFamMaccRow" msprop:Generator_UserTableName="v_selFamMacc" msprop:Generator_RowEvArgName="v_selFamMaccRowChangeEvent">
|
||||
<xs:element name="v_selFamMacc" msprop:Generator_TableClassName="v_selFamMaccDataTable" msprop:Generator_TableVarName="tablev_selFamMacc" msprop:Generator_TablePropName="v_selFamMacc" msprop:Generator_RowDeletingName="v_selFamMaccRowDeleting" msprop:Generator_RowChangingName="v_selFamMaccRowChanging" msprop:Generator_RowEvHandlerName="v_selFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFamMaccRowDeleted" msprop:Generator_UserTableName="v_selFamMacc" msprop:Generator_RowChangedName="v_selFamMaccRowChanged" msprop:Generator_RowEvArgName="v_selFamMaccRowChangeEvent" msprop:Generator_RowClassName="v_selFamMaccRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -577,7 +588,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selMacchine" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_RowClassName="v_selMacchineRow">
|
||||
<xs:element name="v_selMacchine" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -597,7 +608,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selElencoDossier" msprop:Generator_TableClassName="v_selElencoDossierDataTable" msprop:Generator_TableVarName="tablev_selElencoDossier" msprop:Generator_TablePropName="v_selElencoDossier" msprop:Generator_RowDeletingName="v_selElencoDossierRowDeleting" msprop:Generator_RowChangingName="v_selElencoDossierRowChanging" msprop:Generator_RowEvHandlerName="v_selElencoDossierRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selElencoDossierRowDeleted" msprop:Generator_UserTableName="v_selElencoDossier" msprop:Generator_RowChangedName="v_selElencoDossierRowChanged" msprop:Generator_RowEvArgName="v_selElencoDossierRowChangeEvent" msprop:Generator_RowClassName="v_selElencoDossierRow">
|
||||
<xs:element name="v_selElencoDossier" msprop:Generator_TableClassName="v_selElencoDossierDataTable" msprop:Generator_TableVarName="tablev_selElencoDossier" msprop:Generator_RowChangedName="v_selElencoDossierRowChanged" msprop:Generator_TablePropName="v_selElencoDossier" msprop:Generator_RowDeletingName="v_selElencoDossierRowDeleting" msprop:Generator_RowChangingName="v_selElencoDossierRowChanging" msprop:Generator_RowEvHandlerName="v_selElencoDossierRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selElencoDossierRowDeleted" msprop:Generator_RowClassName="v_selElencoDossierRow" msprop:Generator_UserTableName="v_selElencoDossier" msprop:Generator_RowEvArgName="v_selElencoDossierRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
|
||||
@@ -618,7 +629,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selFasi" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent" msprop:Generator_RowClassName="v_selFasiRow">
|
||||
<xs:element name="v_selFasi" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_RowClassName="v_selFasiRow" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -638,7 +649,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ListValues" msprop:Generator_TableClassName="ListValuesDataTable" msprop:Generator_TableVarName="tableListValues" msprop:Generator_RowChangedName="ListValuesRowChanged" msprop:Generator_TablePropName="ListValues" msprop:Generator_RowDeletingName="ListValuesRowDeleting" msprop:Generator_RowChangingName="ListValuesRowChanging" msprop:Generator_RowEvHandlerName="ListValuesRowChangeEventHandler" msprop:Generator_RowDeletedName="ListValuesRowDeleted" msprop:Generator_RowClassName="ListValuesRow" msprop:Generator_UserTableName="ListValues" msprop:Generator_RowEvArgName="ListValuesRowChangeEvent">
|
||||
<xs:element name="ListValues" msprop:Generator_TableClassName="ListValuesDataTable" msprop:Generator_TableVarName="tableListValues" msprop:Generator_TablePropName="ListValues" msprop:Generator_RowDeletingName="ListValuesRowDeleting" msprop:Generator_RowChangingName="ListValuesRowChanging" msprop:Generator_RowEvHandlerName="ListValuesRowChangeEventHandler" msprop:Generator_RowDeletedName="ListValuesRowDeleted" msprop:Generator_UserTableName="ListValues" msprop:Generator_RowChangedName="ListValuesRowChanged" msprop:Generator_RowEvArgName="ListValuesRowChangeEvent" msprop:Generator_RowClassName="ListValuesRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="TableName" msprop:Generator_ColumnVarNameInTable="columnTableName" msprop:Generator_ColumnPropNameInRow="TableName" msprop:Generator_ColumnPropNameInTable="TableNameColumn" msprop:Generator_UserColumnName="TableName">
|
||||
@@ -673,7 +684,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selLingue" msprop:Generator_TableClassName="v_selLingueDataTable" msprop:Generator_TableVarName="tablev_selLingue" msprop:Generator_TablePropName="v_selLingue" msprop:Generator_RowDeletingName="v_selLingueRowDeleting" msprop:Generator_RowChangingName="v_selLingueRowChanging" msprop:Generator_RowEvHandlerName="v_selLingueRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selLingueRowDeleted" msprop:Generator_UserTableName="v_selLingue" msprop:Generator_RowChangedName="v_selLingueRowChanged" msprop:Generator_RowEvArgName="v_selLingueRowChangeEvent" msprop:Generator_RowClassName="v_selLingueRow">
|
||||
<xs:element name="v_selLingue" msprop:Generator_TableClassName="v_selLingueDataTable" msprop:Generator_TableVarName="tablev_selLingue" msprop:Generator_RowChangedName="v_selLingueRowChanged" msprop:Generator_TablePropName="v_selLingue" msprop:Generator_RowDeletingName="v_selLingueRowDeleting" msprop:Generator_RowChangingName="v_selLingueRowChanging" msprop:Generator_RowEvHandlerName="v_selLingueRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selLingueRowDeleted" msprop:Generator_RowClassName="v_selLingueRow" msprop:Generator_UserTableName="v_selLingue" msprop:Generator_RowEvArgName="v_selLingueRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -693,7 +704,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Vocabolario" msprop:Generator_TableClassName="VocabolarioDataTable" msprop:Generator_TableVarName="tableVocabolario" msprop:Generator_RowChangedName="VocabolarioRowChanged" msprop:Generator_TablePropName="Vocabolario" msprop:Generator_RowDeletingName="VocabolarioRowDeleting" msprop:Generator_RowChangingName="VocabolarioRowChanging" msprop:Generator_RowEvHandlerName="VocabolarioRowChangeEventHandler" msprop:Generator_RowDeletedName="VocabolarioRowDeleted" msprop:Generator_RowClassName="VocabolarioRow" msprop:Generator_UserTableName="Vocabolario" msprop:Generator_RowEvArgName="VocabolarioRowChangeEvent">
|
||||
<xs:element name="Vocabolario" msprop:Generator_TableClassName="VocabolarioDataTable" msprop:Generator_TableVarName="tableVocabolario" msprop:Generator_TablePropName="Vocabolario" msprop:Generator_RowDeletingName="VocabolarioRowDeleting" msprop:Generator_RowChangingName="VocabolarioRowChanging" msprop:Generator_RowEvHandlerName="VocabolarioRowChangeEventHandler" msprop:Generator_RowDeletedName="VocabolarioRowDeleted" msprop:Generator_UserTableName="Vocabolario" msprop:Generator_RowChangedName="VocabolarioRowChanged" msprop:Generator_RowEvArgName="VocabolarioRowChangeEvent" msprop:Generator_RowClassName="VocabolarioRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Lingua" msprop:Generator_ColumnVarNameInTable="columnLingua" msprop:Generator_ColumnPropNameInRow="Lingua" msprop:Generator_ColumnPropNameInTable="LinguaColumn" msprop:Generator_UserColumnName="Lingua">
|
||||
@@ -720,7 +731,7 @@ SELECT idxFile, FiltKey, DataMod, FileName, ContentType, Data, Size FROM tblFile
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="tblFiles" msprop:Generator_TableClassName="tblFilesDataTable" msprop:Generator_TableVarName="tabletblFiles" msprop:Generator_RowChangedName="tblFilesRowChanged" msprop:Generator_TablePropName="tblFiles" msprop:Generator_RowDeletingName="tblFilesRowDeleting" msprop:Generator_RowChangingName="tblFilesRowChanging" msprop:Generator_RowEvHandlerName="tblFilesRowChangeEventHandler" msprop:Generator_RowDeletedName="tblFilesRowDeleted" msprop:Generator_RowClassName="tblFilesRow" msprop:Generator_UserTableName="tblFiles" msprop:Generator_RowEvArgName="tblFilesRowChangeEvent">
|
||||
<xs:element name="tblFiles" msprop:Generator_TableClassName="tblFilesDataTable" msprop:Generator_TableVarName="tabletblFiles" msprop:Generator_TablePropName="tblFiles" msprop:Generator_RowDeletingName="tblFilesRowDeleting" msprop:Generator_RowChangingName="tblFilesRowChanging" msprop:Generator_RowEvHandlerName="tblFilesRowChangeEventHandler" msprop:Generator_RowDeletedName="tblFilesRowDeleted" msprop:Generator_UserTableName="tblFiles" msprop:Generator_RowChangedName="tblFilesRowChanged" msprop:Generator_RowEvArgName="tblFilesRowChangeEvent" msprop:Generator_RowClassName="tblFilesRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFile" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<Shape ID="DesignTable:ListValues" ZOrder="4" X="797" Y="572" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:v_selLingue" ZOrder="3" X="466" Y="731" Height="115" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Vocabolario" ZOrder="2" X="132" Y="762" Height="153" Width="281" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:tblFiles" ZOrder="1" X="412" Y="68" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:tblFiles" ZOrder="1" X="412" Y="68" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Binary file not shown.
Binary file not shown.
@@ -1534,6 +1534,16 @@
|
||||
<param name="diritto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:SteamWare.devicesAuthProxy.setupLingua">
|
||||
<summary>
|
||||
imposta la lingua utente dal valore della riga DB
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.devicesAuthProxy.lingua">
|
||||
<summary>
|
||||
oggetto lingua utente con metodi get/set
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.devicesAuthProxy.pagCorrente">
|
||||
<summary>
|
||||
pagina correntemente visualizzata (URL in sessione)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -21,16 +21,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<_SavePWD>True</_SavePWD>
|
||||
<PublishDatabaseSettings>
|
||||
<Objects xmlns="">
|
||||
<ObjectGroup Name="DefaultConnection" Order="1" Enabled="False">
|
||||
<Destination Path="" />
|
||||
<Object Type="DbDacFx">
|
||||
<PreSource Path="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\aspnet-CMS_SC-20150515094114.mdf;Initial Catalog=aspnet-CMS_SC-20150515094114;Integrated Security=True" includeData="False" />
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\DefaultConnection_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-CMS_SC-20150515094114;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-CMS_SC-20150515094114.mdf" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
<ObjectGroup Name="CMS_SC_Data.Properties.Settings.CMS_SCConnectionString" Order="2" Enabled="False">
|
||||
<Destination Path="" />
|
||||
<Object Type="DbDacFx">
|
||||
@@ -53,10 +43,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
</ObjectGroup>
|
||||
</Objects>
|
||||
</PublishDatabaseSettings>
|
||||
<ADUsesOwinOrOpenIdConnect>False</ADUsesOwinOrOpenIdConnect>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<MSDeployParameterValue Include="$(DeployParameterPrefix)DefaultConnection-Web.config Connection String">
|
||||
<UpdateDestWebConfig>False</UpdateDestWebConfig>
|
||||
</MSDeployParameterValue>
|
||||
<MSDeployParameterValue Include="$(DeployParameterPrefix)CMS_SC_Data.Properties.Settings.CMS_SCConnectionString-Web.config Connection String" />
|
||||
<MSDeployParameterValue Include="$(DeployParameterPrefix)SteamWare.Properties.Settings.DS_AuthConnectionString-Web.config Connection String" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,6 +1,8 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_collaudi.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_collaudi" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_fileUpload.ascx" TagPrefix="uc1" TagName="mod_fileUpload" %>
|
||||
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="IdxDossier,CodScheda,Vers,NumScheda,CodMisura,Fase" DataSourceID="ods" CssClass="table table-striped" AllowPaging="True" AllowSorting="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="info" />
|
||||
<Columns>
|
||||
@@ -21,9 +23,14 @@
|
||||
<asp:TextBox ID="txtValoreMis" runat="server" Text='<%# Bind("ValoreMis") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblValoreMis" runat="server" Text='<%# Bind("ValoreMis") %>' />
|
||||
<br />
|
||||
<asp:Label ID="lblLS_ValMis" runat="server" Text='<%# string.Format("({0} ÷ {1})",Eval("LIVal"),Eval("LSVal")) %>' Visible='<%# Eval("NomePar")!="" %>' Font-Size="0.8em" ForeColor="#696969" />
|
||||
<div runat="server" id="divMisura" visible='<%# Eval("TipovalMisura").ToString()!="FILE" %>'>
|
||||
<asp:Label ID="lblValoreMis" runat="server" Text='<%# Eval("ValoreMis") %>' />
|
||||
<br />
|
||||
<asp:Label ID="lblLS_ValMis" runat="server" Text='<%# string.Format("({0} ÷ {1})",Eval("LIVal"),Eval("LSVal")) %>' Visible='<%# Eval("NomePar")!="" %>' Font-Size="0.8em" ForeColor="#696969" />
|
||||
</div>
|
||||
<div runat="server" id="divFile" visible='<%# Eval("TipovalMisura").ToString()=="FILE" %>'>
|
||||
<uc1:mod_fileUpload runat="server" ID="mod_fileUpload" filtKey='<%# Eval("ValoreMis") %>' enableMod="false" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
@@ -49,10 +56,10 @@
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<HeaderTemplate>
|
||||
<asp:Label runat="server" ID="lblHeadValPar" Text="Vis." Visible='<%# Convert.ToBoolean(hfEditEnabled.Value) %>' />
|
||||
<asp:Label runat="server" ID="lblHeadValPar" Text="Val.Par." Visible='<%# Convert.ToBoolean(hfEditEnabled.Value) %>' />
|
||||
</HeaderTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Val.Par." SortExpression="CodVisib">
|
||||
<asp:TemplateField HeaderText="Vis" SortExpression="CodVisib">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="txtCodVisib" runat="server" Text='<%# Bind("CodVisib") %>' />
|
||||
</EditItemTemplate>
|
||||
|
||||
@@ -1,79 +1,72 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_fileUpload.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_fileUpload" %>
|
||||
|
||||
<div id="divNewEdit" runat="server">
|
||||
<asp:Button ID="btnAdd" runat="server" Text="Nuovo Allegato" OnClick="btnAdd_Click" Enabled='<%# enableMod %>' />
|
||||
<asp:Button ID="btnCancel" runat="server" Text="Annulla" OnClick="btnCancel_Click" />
|
||||
</div>
|
||||
|
||||
<div id="divFileUpl" runat="server">
|
||||
<div style="width: 100%;">
|
||||
<asp:FileUpload ID="FileUpload1" runat="server" />
|
||||
<div>
|
||||
<div id="divNewEdit" runat="server">
|
||||
<asp:Button ID="btnAdd" runat="server" Text="Nuovo Allegato" OnClick="btnAdd_Click" Enabled='<%# enableMod %>' />
|
||||
<asp:Button ID="btnCancel" runat="server" Text="Annulla" OnClick="btnCancel_Click" />
|
||||
</div>
|
||||
<div style="width: 100%;">
|
||||
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="Upload" data-theme="b" />
|
||||
</div>
|
||||
</div>
|
||||
<asp:GridView ID="grView" runat="server" Width="100%" AutoGenerateColumns="False" DataSourceID="odsFile" DataKeyNames="idxFile" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle BackColor="#2461BF" />
|
||||
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
|
||||
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
|
||||
<SortedAscendingCellStyle BackColor="#F5F7FB" />
|
||||
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
|
||||
<SortedDescendingCellStyle BackColor="#E9EBEF" />
|
||||
<SortedDescendingHeaderStyle BackColor="#4870BE" />
|
||||
<AlternatingRowStyle BackColor="White" />
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Documento">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("FileName") %>'></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:LinkButton ID="lnkDownload" runat="server" OnClick="DownloadFile"
|
||||
CommandArgument='<%# Eval("idxFile") %>'>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("FileName") %>' />
|
||||
</asp:LinkButton></div><div>
|
||||
<asp:Label CssClass="flLeft" ID="lblDataMod" runat="server" Text='<%# Eval("DataMod","{0:yyyy-MM-dd HH:mm}") %>' Font-Size="0.7em" />
|
||||
<asp:Label CssClass="flRight" ID="lblSize" runat="server" Text='<%# Eval("Size","{0:N0} kb") %>' Font-Size="0.8em" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Left" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="right">
|
||||
<ItemTemplate>
|
||||
<div id="Div1" runat="server" visible='<%# isWriteEnabled %>'>
|
||||
<asp:LinkButton ID="lnkSelect" runat="server" CausesValidation="False" CommandName="Select" Text="Select" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-notext ui-btn-inline" ToolTip="Modifica" Visible='<%# enableMod %>' />
|
||||
<asp:LinkButton ID="lnkDelete" runat="server" CausesValidation="False" CommandName="Delete" Text="Delete" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete ui-btn-icon-notext ui-btn-inline" ToolTip="Elimina" OnClientClick="return confirm('Sei sicuro di voler eliminare il file?')" Visible='<%# enableMod %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
|
||||
<asp:ObjectDataSource ID="odsFile" runat="server" DeleteMethod="DeleteQuery" OldValuesParameterFormatString="original_{0}" SelectMethod="getByImpegno" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.tblFilesTableAdapter" InsertMethod="InsertQuery" UpdateMethod="UpdateQuery">
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter DefaultValue="0" Name="IdxImpegno" QueryStringField="IdxImpegno" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_idxFile" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:QueryStringParameter DefaultValue="0" Name="IdxImpegno" QueryStringField="IdxImpegno" Type="Int32" />
|
||||
<asp:Parameter Name="IdxRapportino" DefaultValue="0" Type="Int32" />
|
||||
<asp:Parameter Name="FileName" Type="String" />
|
||||
<asp:Parameter Name="ContentType" Type="String" />
|
||||
<asp:Parameter Name="Data" Type="Object" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:QueryStringParameter DefaultValue="0" Name="IdxImpegno" QueryStringField="IdxImpegno" Type="Int32" />
|
||||
<asp:Parameter Name="IdxRapportino" DefaultValue="0" Type="Int32" />
|
||||
<asp:Parameter Name="FileName" Type="String" />
|
||||
<asp:Parameter Name="ContentType" Type="String" />
|
||||
<asp:Parameter Name="Data" Type="Object" />
|
||||
<asp:Parameter Name="Original_idxFile" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div id="divFileUpl" runat="server">
|
||||
<div style="width: 100%;">
|
||||
<asp:FileUpload ID="FileUpload1" runat="server" />
|
||||
</div>
|
||||
<div style="width: 100%;">
|
||||
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="Upload" data-theme="b" />
|
||||
</div>
|
||||
</div>
|
||||
<asp:GridView ID="grView" runat="server" Width="100%" AutoGenerateColumns="False" DataSourceID="odsFile" DataKeyNames="idxFile" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle BackColor="#2461BF" />
|
||||
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
|
||||
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
|
||||
<SortedAscendingCellStyle BackColor="#F5F7FB" />
|
||||
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
|
||||
<SortedDescendingCellStyle BackColor="#E9EBEF" />
|
||||
<SortedDescendingHeaderStyle BackColor="#4870BE" />
|
||||
<AlternatingRowStyle BackColor="White" />
|
||||
<EmptyDataTemplate>
|
||||
<%: traduci("NoFileFound") %>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Documento">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("FileName") %>'></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:LinkButton ID="lnkDownload" runat="server" OnClick="DownloadFile"
|
||||
CommandArgument='<%# Eval("idxFile") %>'>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("FileName") %>' />
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
<div>
|
||||
<asp:Label CssClass="flLeft" ID="lblDataMod" runat="server" Text='<%# Eval("DataMod","{0:yyyy-MM-dd HH:mm}") %>' Font-Size="0.7em" />
|
||||
<asp:Label CssClass="flRight" ID="lblSize" runat="server" Text='<%# Eval("Size","{0:N0} kb") %>' Font-Size="0.8em" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Left" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="right">
|
||||
<ItemTemplate>
|
||||
<div id="Div1" runat="server" visible='<%# isWriteEnabled %>'>
|
||||
<asp:LinkButton ID="lnkSelect" runat="server" CausesValidation="False" CommandName="Select" Text="Select" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-notext ui-btn-inline" ToolTip="Modifica" Visible='<%# enableMod %>' />
|
||||
<asp:LinkButton ID="lnkDelete" runat="server" CausesValidation="False" CommandName="Delete" Text="Delete" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete ui-btn-icon-notext ui-btn-inline" ToolTip="Elimina" OnClientClick="return confirm('Sei sicuro di voler eliminare il file?')" Visible='<%# enableMod %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:HiddenField runat="server" ID="hfFiltKey" />
|
||||
<asp:HiddenField runat="server" ID="hfReadOnly" />
|
||||
<asp:ObjectDataSource ID="odsFile" runat="server" DeleteMethod="deleteQuery" OldValuesParameterFormatString="original_{0}" SelectMethod="getByFiltKey" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.tblFilesTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfFiltKey" PropertyName="Value" Type="string" Name="FiltKey" />
|
||||
</SelectParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_idxFile" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
|
||||
@@ -27,15 +27,46 @@ namespace CMS_SC.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
fisVisFU(enableMod);
|
||||
if (!IsPostBack)
|
||||
{
|
||||
fisVisFU(false);
|
||||
grView.DataBind();
|
||||
}
|
||||
divNewEdit.Visible = isWriteEnabled;
|
||||
divNewEdit.Visible = isWriteEnabled && enableMod;
|
||||
btnAdd.DataBind();
|
||||
}
|
||||
public string filtKey { get; set; }
|
||||
/// <summary>
|
||||
/// Chiave di filtraggio dati...
|
||||
/// </summary>
|
||||
public string filtKey
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfFiltKey.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfFiltKey.Value = value;
|
||||
}
|
||||
}
|
||||
#if false
|
||||
/// <summary>
|
||||
/// determina se sia in modalità read only = non permette upload/cancellazioni/...
|
||||
/// </summary>
|
||||
public bool readOnly
|
||||
{
|
||||
get
|
||||
{
|
||||
return Convert.ToBoolean(hfReadOnly.Value);
|
||||
}
|
||||
set
|
||||
{
|
||||
hfReadOnly.Value = value.ToString();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
protected void Upload(object sender, EventArgs e)
|
||||
{
|
||||
string filename = Path.GetFileName(FileUpload1.PostedFile.FileName);
|
||||
|
||||
@@ -75,6 +75,24 @@ namespace CMS_SC.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// hfFiltKey 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 hfFiltKey;
|
||||
|
||||
/// <summary>
|
||||
/// hfReadOnly 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 hfReadOnly;
|
||||
|
||||
/// <summary>
|
||||
/// odsFile control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1534,6 +1534,16 @@
|
||||
<param name="diritto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:SteamWare.devicesAuthProxy.setupLingua">
|
||||
<summary>
|
||||
imposta la lingua utente dal valore della riga DB
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.devicesAuthProxy.lingua">
|
||||
<summary>
|
||||
oggetto lingua utente con metodi get/set
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.devicesAuthProxy.pagCorrente">
|
||||
<summary>
|
||||
pagina correntemente visualizzata (URL in sessione)
|
||||
|
||||
@@ -1 +1,8 @@
|
||||
<?xml version="1.0"?><configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"><system.web><authorization><deny users="*" /></authorization></system.web></configuration>
|
||||
<?xml version="1.0"?>
|
||||
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
|
||||
<system.web>
|
||||
<authorization>
|
||||
<deny users="*" />
|
||||
</authorization>
|
||||
</system.web>
|
||||
</configuration>
|
||||
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.8.071.349")]
|
||||
[assembly: AssemblyFileVersion("1.8.071.349")]
|
||||
[assembly: AssemblyVersion("1.8.073.349")]
|
||||
[assembly: AssemblyFileVersion("1.8.073.349")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2009-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.8.071.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.8.071.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("1.8.073.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.8.073.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2009-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user