Implemetato FILE upload/modifica/cancellazione...
This commit is contained in:
Generated
+4
-4
@@ -13299,7 +13299,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
|
||||
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("@IdxDossier", 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("@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("@CodSchedaVersNum", 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("@Fase", 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;
|
||||
@@ -13492,7 +13492,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
|
||||
[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 insMissing(global::System.Nullable<int> IdxDossier, string CodSchedaVers, string Fase) {
|
||||
public virtual int insMissing(global::System.Nullable<int> IdxDossier, string CodSchedaVersNum, string Fase) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
if ((IdxDossier.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(IdxDossier.Value));
|
||||
@@ -13500,11 +13500,11 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
|
||||
else {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodSchedaVers == null)) {
|
||||
if ((CodSchedaVersNum == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(CodSchedaVers));
|
||||
command.Parameters[2].Value = ((string)(CodSchedaVersNum));
|
||||
}
|
||||
if ((Fase == null)) {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
|
||||
@@ -1003,7 +1003,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_SCM_insMisFasiMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insMisFasiMissing" Modifier="Public" Name="insMisFasiMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="insMisFasiMissing">
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_SCM_insMisFasiMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insMisFasiMissing" Modifier="Public" Name="insMisFasiMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="insMisFasiMissing">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_SCM_insMisFasiMissing</CommandText>
|
||||
@@ -1014,7 +1014,7 @@ SELECT IdxDossier, CodScheda, Vers, NumScheda, Descrizione, opz, FasiEnab FROM S
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_SCM_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="GetDataBy3" UserSourceName="updateQuery">
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_SCM_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="GetDataBy4" UserSourceName="updateQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_SCM_updateQuery</CommandText>
|
||||
@@ -1130,13 +1130,13 @@ FROM v_Misure</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="int" DbType="Int32" Direction="Input" ParameterName="@IdxDossier" 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="@CodSchedaVersNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Fase" 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_Mis_RemSetMis" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="remSetMis" Modifier="Public" Name="remSetMis" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="remSetMis">
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_Mis_RemSetMis" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="remSetMis" Modifier="Public" Name="remSetMis" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="remSetMis">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_Mis_RemSetMis</CommandText>
|
||||
@@ -1149,7 +1149,7 @@ FROM v_Misure</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_Mis_updateMis" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateMis" Modifier="Public" Name="updateMis" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateMis">
|
||||
<DbSource ConnectionRef="CMS_SCConnectionString (Settings)" DbObjectName="[CMS-SC].dbo.stp_Mis_updateMis" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateMis" Modifier="Public" Name="updateMis" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updateMis">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_Mis_updateMis</CommandText>
|
||||
@@ -1380,7 +1380,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="ElencoFamMacc" msprop:Generator_TableClassName="ElencoFamMaccDataTable" msprop:Generator_TableVarName="tableElencoFamMacc" msprop:Generator_RowChangedName="ElencoFamMaccRowChanged" msprop:Generator_TablePropName="ElencoFamMacc" msprop:Generator_RowDeletingName="ElencoFamMaccRowDeleting" msprop:Generator_RowChangingName="ElencoFamMaccRowChanging" msprop:Generator_RowEvHandlerName="ElencoFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFamMaccRowDeleted" msprop:Generator_RowClassName="ElencoFamMaccRow" msprop:Generator_UserTableName="ElencoFamMacc" msprop:Generator_RowEvArgName="ElencoFamMaccRowChangeEvent">
|
||||
<xs:element name="ElencoFamMacc" msprop:Generator_TableClassName="ElencoFamMaccDataTable" msprop:Generator_TableVarName="tableElencoFamMacc" msprop:Generator_TablePropName="ElencoFamMacc" msprop:Generator_RowDeletingName="ElencoFamMaccRowDeleting" msprop:Generator_RowChangingName="ElencoFamMaccRowChanging" msprop:Generator_RowEvHandlerName="ElencoFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFamMaccRowDeleted" msprop:Generator_UserTableName="ElencoFamMacc" msprop:Generator_RowChangedName="ElencoFamMaccRowChanged" msprop:Generator_RowEvArgName="ElencoFamMaccRowChangeEvent" msprop:Generator_RowClassName="ElencoFamMaccRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodFam" msprop:Generator_ColumnVarNameInTable="columnCodFam" msprop:Generator_ColumnPropNameInRow="CodFam" msprop:Generator_ColumnPropNameInTable="CodFamColumn" msprop:Generator_UserColumnName="CodFam">
|
||||
@@ -1400,7 +1400,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoMacchineCN" msprop:Generator_TableClassName="ElencoMacchineCNDataTable" msprop:Generator_TableVarName="tableElencoMacchineCN" msprop:Generator_RowChangedName="ElencoMacchineCNRowChanged" msprop:Generator_TablePropName="ElencoMacchineCN" msprop:Generator_RowDeletingName="ElencoMacchineCNRowDeleting" msprop:Generator_RowChangingName="ElencoMacchineCNRowChanging" msprop:Generator_RowEvHandlerName="ElencoMacchineCNRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoMacchineCNRowDeleted" msprop:Generator_RowClassName="ElencoMacchineCNRow" msprop:Generator_UserTableName="ElencoMacchineCN" msprop:Generator_RowEvArgName="ElencoMacchineCNRowChangeEvent">
|
||||
<xs:element name="ElencoMacchineCN" msprop:Generator_TableClassName="ElencoMacchineCNDataTable" msprop:Generator_TableVarName="tableElencoMacchineCN" msprop:Generator_TablePropName="ElencoMacchineCN" msprop:Generator_RowDeletingName="ElencoMacchineCNRowDeleting" msprop:Generator_RowChangingName="ElencoMacchineCNRowChanging" msprop:Generator_RowEvHandlerName="ElencoMacchineCNRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoMacchineCNRowDeleted" msprop:Generator_UserTableName="ElencoMacchineCN" msprop:Generator_RowChangedName="ElencoMacchineCNRowChanged" msprop:Generator_RowEvArgName="ElencoMacchineCNRowChangeEvent" msprop:Generator_RowClassName="ElencoMacchineCNRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Matricola" msprop:Generator_ColumnVarNameInTable="columnMatricola" msprop:Generator_ColumnPropNameInRow="Matricola" msprop:Generator_ColumnPropNameInTable="MatricolaColumn" msprop:Generator_UserColumnName="Matricola">
|
||||
@@ -1437,7 +1437,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
|
||||
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Fase" msprop:Generator_ColumnVarNameInTable="columnFase" msprop:Generator_ColumnPropNameInRow="Fase" msprop:Generator_ColumnPropNameInTable="FaseColumn" msprop:Generator_UserColumnName="Fase">
|
||||
@@ -1457,7 +1457,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagSchede" msprop:Generator_TableClassName="AnagSchedeDataTable" msprop:Generator_TableVarName="tableAnagSchede" msprop:Generator_TablePropName="AnagSchede" msprop:Generator_RowDeletingName="AnagSchedeRowDeleting" msprop:Generator_RowChangingName="AnagSchedeRowChanging" msprop:Generator_RowEvHandlerName="AnagSchedeRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSchedeRowDeleted" msprop:Generator_UserTableName="AnagSchede" msprop:Generator_RowChangedName="AnagSchedeRowChanged" msprop:Generator_RowEvArgName="AnagSchedeRowChangeEvent" msprop:Generator_RowClassName="AnagSchedeRow">
|
||||
<xs:element name="AnagSchede" msprop:Generator_TableClassName="AnagSchedeDataTable" msprop:Generator_TableVarName="tableAnagSchede" msprop:Generator_RowChangedName="AnagSchedeRowChanged" msprop:Generator_TablePropName="AnagSchede" msprop:Generator_RowDeletingName="AnagSchedeRowDeleting" msprop:Generator_RowChangingName="AnagSchedeRowChanging" msprop:Generator_RowEvHandlerName="AnagSchedeRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSchedeRowDeleted" msprop:Generator_RowClassName="AnagSchedeRow" msprop:Generator_UserTableName="AnagSchede" msprop:Generator_RowEvArgName="AnagSchedeRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
|
||||
@@ -1499,7 +1499,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DettScheda" msprop:Generator_TableClassName="DettSchedaDataTable" msprop:Generator_TableVarName="tableDettScheda" msprop:Generator_RowChangedName="DettSchedaRowChanged" msprop:Generator_TablePropName="DettScheda" msprop:Generator_RowDeletingName="DettSchedaRowDeleting" msprop:Generator_RowChangingName="DettSchedaRowChanging" msprop:Generator_RowEvHandlerName="DettSchedaRowChangeEventHandler" msprop:Generator_RowDeletedName="DettSchedaRowDeleted" msprop:Generator_RowClassName="DettSchedaRow" msprop:Generator_UserTableName="DettScheda" msprop:Generator_RowEvArgName="DettSchedaRowChangeEvent">
|
||||
<xs:element name="DettScheda" msprop:Generator_TableClassName="DettSchedaDataTable" msprop:Generator_TableVarName="tableDettScheda" msprop:Generator_TablePropName="DettScheda" msprop:Generator_RowDeletingName="DettSchedaRowDeleting" msprop:Generator_RowChangingName="DettSchedaRowChanging" msprop:Generator_RowEvHandlerName="DettSchedaRowChangeEventHandler" msprop:Generator_RowDeletedName="DettSchedaRowDeleted" msprop:Generator_UserTableName="DettScheda" msprop:Generator_RowChangedName="DettSchedaRowChanged" msprop:Generator_RowEvArgName="DettSchedaRowChangeEvent" msprop:Generator_RowClassName="DettSchedaRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
|
||||
@@ -1548,7 +1548,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ValidVal" msprop:Generator_TableClassName="ValidValDataTable" msprop:Generator_TableVarName="tableValidVal" msprop:Generator_RowChangedName="ValidValRowChanged" msprop:Generator_TablePropName="ValidVal" msprop:Generator_RowDeletingName="ValidValRowDeleting" msprop:Generator_RowChangingName="ValidValRowChanging" msprop:Generator_RowEvHandlerName="ValidValRowChangeEventHandler" msprop:Generator_RowDeletedName="ValidValRowDeleted" msprop:Generator_RowClassName="ValidValRow" msprop:Generator_UserTableName="ValidVal" msprop:Generator_RowEvArgName="ValidValRowChangeEvent">
|
||||
<xs:element name="ValidVal" msprop:Generator_TableClassName="ValidValDataTable" msprop:Generator_TableVarName="tableValidVal" msprop:Generator_TablePropName="ValidVal" msprop:Generator_RowDeletingName="ValidValRowDeleting" msprop:Generator_RowChangingName="ValidValRowChanging" msprop:Generator_RowEvHandlerName="ValidValRowChangeEventHandler" msprop:Generator_RowDeletedName="ValidValRowDeleted" msprop:Generator_UserTableName="ValidVal" msprop:Generator_RowChangedName="ValidValRowChanged" msprop:Generator_RowEvArgName="ValidValRowChangeEvent" msprop:Generator_RowClassName="ValidValRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodScheda" msprop:Generator_ColumnVarNameInTable="columnCodScheda" msprop:Generator_ColumnPropNameInRow="CodScheda" msprop:Generator_ColumnPropNameInTable="CodSchedaColumn" msprop:Generator_UserColumnName="CodScheda">
|
||||
@@ -1573,7 +1573,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SchemaCollFamMacc" msprop:Generator_TableClassName="SchemaCollFamMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollFamMacc" msprop:Generator_RowChangedName="SchemaCollFamMaccRowChanged" msprop:Generator_TablePropName="SchemaCollFamMacc" msprop:Generator_RowDeletingName="SchemaCollFamMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollFamMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollFamMaccRowDeleted" msprop:Generator_RowClassName="SchemaCollFamMaccRow" msprop:Generator_UserTableName="SchemaCollFamMacc" msprop:Generator_RowEvArgName="SchemaCollFamMaccRowChangeEvent">
|
||||
<xs:element name="SchemaCollFamMacc" msprop:Generator_TableClassName="SchemaCollFamMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollFamMacc" msprop:Generator_TablePropName="SchemaCollFamMacc" msprop:Generator_RowDeletingName="SchemaCollFamMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollFamMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollFamMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollFamMaccRowDeleted" msprop:Generator_UserTableName="SchemaCollFamMacc" msprop:Generator_RowChangedName="SchemaCollFamMaccRowChanged" msprop:Generator_RowEvArgName="SchemaCollFamMaccRowChangeEvent" msprop:Generator_RowClassName="SchemaCollFamMaccRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodFam" msprop:Generator_ColumnVarNameInTable="columnCodFam" msprop:Generator_ColumnPropNameInRow="CodFam" msprop:Generator_ColumnPropNameInTable="CodFamColumn" msprop:Generator_UserColumnName="CodFam">
|
||||
@@ -1630,7 +1630,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoDossier" msprop:Generator_TableClassName="ElencoDossierDataTable" msprop:Generator_TableVarName="tableElencoDossier" msprop:Generator_TablePropName="ElencoDossier" msprop:Generator_RowDeletingName="ElencoDossierRowDeleting" msprop:Generator_RowChangingName="ElencoDossierRowChanging" msprop:Generator_RowEvHandlerName="ElencoDossierRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoDossierRowDeleted" msprop:Generator_UserTableName="ElencoDossier" msprop:Generator_RowChangedName="ElencoDossierRowChanged" msprop:Generator_RowEvArgName="ElencoDossierRowChangeEvent" msprop:Generator_RowClassName="ElencoDossierRow">
|
||||
<xs:element name="ElencoDossier" msprop:Generator_TableClassName="ElencoDossierDataTable" msprop:Generator_TableVarName="tableElencoDossier" msprop:Generator_RowChangedName="ElencoDossierRowChanged" msprop:Generator_TablePropName="ElencoDossier" msprop:Generator_RowDeletingName="ElencoDossierRowDeleting" msprop:Generator_RowChangingName="ElencoDossierRowChanging" msprop:Generator_RowEvHandlerName="ElencoDossierRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoDossierRowDeleted" msprop:Generator_RowClassName="ElencoDossierRow" msprop:Generator_UserTableName="ElencoDossier" msprop:Generator_RowEvArgName="ElencoDossierRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDossier" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
|
||||
@@ -1676,7 +1676,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SchemaCollMacc" msprop:Generator_TableClassName="SchemaCollMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollMacc" msprop:Generator_TablePropName="SchemaCollMacc" msprop:Generator_RowDeletingName="SchemaCollMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollMaccRowDeleted" msprop:Generator_UserTableName="SchemaCollMacc" msprop:Generator_RowChangedName="SchemaCollMaccRowChanged" msprop:Generator_RowEvArgName="SchemaCollMaccRowChangeEvent" msprop:Generator_RowClassName="SchemaCollMaccRow">
|
||||
<xs:element name="SchemaCollMacc" msprop:Generator_TableClassName="SchemaCollMaccDataTable" msprop:Generator_TableVarName="tableSchemaCollMacc" msprop:Generator_RowChangedName="SchemaCollMaccRowChanged" msprop:Generator_TablePropName="SchemaCollMacc" msprop:Generator_RowDeletingName="SchemaCollMaccRowDeleting" msprop:Generator_RowChangingName="SchemaCollMaccRowChanging" msprop:Generator_RowEvHandlerName="SchemaCollMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="SchemaCollMaccRowDeleted" msprop:Generator_RowClassName="SchemaCollMaccRow" msprop:Generator_UserTableName="SchemaCollMacc" msprop:Generator_RowEvArgName="SchemaCollMaccRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
|
||||
@@ -1713,7 +1713,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Misure" msprop:Generator_TableClassName="MisureDataTable" msprop:Generator_TableVarName="tableMisure" msprop:Generator_TablePropName="Misure" msprop:Generator_RowDeletingName="MisureRowDeleting" msprop:Generator_RowChangingName="MisureRowChanging" msprop:Generator_RowEvHandlerName="MisureRowChangeEventHandler" msprop:Generator_RowDeletedName="MisureRowDeleted" msprop:Generator_UserTableName="Misure" msprop:Generator_RowChangedName="MisureRowChanged" msprop:Generator_RowEvArgName="MisureRowChangeEvent" msprop:Generator_RowClassName="MisureRow">
|
||||
<xs:element name="Misure" msprop:Generator_TableClassName="MisureDataTable" msprop:Generator_TableVarName="tableMisure" msprop:Generator_RowChangedName="MisureRowChanged" msprop:Generator_TablePropName="Misure" msprop:Generator_RowDeletingName="MisureRowDeleting" msprop:Generator_RowChangingName="MisureRowChanging" msprop:Generator_RowEvHandlerName="MisureRowChangeEventHandler" msprop:Generator_RowDeletedName="MisureRowDeleted" msprop:Generator_RowClassName="MisureRow" msprop:Generator_UserTableName="Misure" msprop:Generator_RowEvArgName="MisureRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
|
||||
@@ -1806,7 +1806,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ReportData" msprop:Generator_TableClassName="ReportDataDataTable" msprop:Generator_TableVarName="tableReportData" msprop:Generator_RowChangedName="ReportDataRowChanged" msprop:Generator_TablePropName="ReportData" msprop:Generator_RowDeletingName="ReportDataRowDeleting" msprop:Generator_RowChangingName="ReportDataRowChanging" msprop:Generator_RowEvHandlerName="ReportDataRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportDataRowDeleted" msprop:Generator_RowClassName="ReportDataRow" msprop:Generator_UserTableName="ReportData" msprop:Generator_RowEvArgName="ReportDataRowChangeEvent">
|
||||
<xs:element name="ReportData" msprop:Generator_TableClassName="ReportDataDataTable" msprop:Generator_TableVarName="tableReportData" msprop:Generator_TablePropName="ReportData" msprop:Generator_RowDeletingName="ReportDataRowDeleting" msprop:Generator_RowChangingName="ReportDataRowChanging" msprop:Generator_RowEvHandlerName="ReportDataRowChangeEventHandler" msprop:Generator_RowDeletedName="ReportDataRowDeleted" msprop:Generator_UserTableName="ReportData" msprop:Generator_RowChangedName="ReportDataRowChanged" msprop:Generator_RowEvArgName="ReportDataRowChangeEvent" msprop:Generator_RowClassName="ReportDataRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDossier" msprop:Generator_ColumnVarNameInTable="columnIdxDossier" msprop:Generator_ColumnPropNameInRow="IdxDossier" msprop:Generator_ColumnPropNameInTable="IdxDossierColumn" msprop:Generator_UserColumnName="IdxDossier" type="xs:int" />
|
||||
@@ -1920,7 +1920,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Tags2Macchine" msprop:Generator_TableClassName="Tags2MacchineDataTable" msprop:Generator_TableVarName="tableTags2Macchine" msprop:Generator_TablePropName="Tags2Macchine" msprop:Generator_RowDeletingName="Tags2MacchineRowDeleting" msprop:Generator_RowChangingName="Tags2MacchineRowChanging" msprop:Generator_RowEvHandlerName="Tags2MacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="Tags2MacchineRowDeleted" msprop:Generator_UserTableName="Tags2Macchine" msprop:Generator_RowChangedName="Tags2MacchineRowChanged" msprop:Generator_RowEvArgName="Tags2MacchineRowChangeEvent" msprop:Generator_RowClassName="Tags2MacchineRow">
|
||||
<xs:element name="Tags2Macchine" msprop:Generator_TableClassName="Tags2MacchineDataTable" msprop:Generator_TableVarName="tableTags2Macchine" msprop:Generator_RowChangedName="Tags2MacchineRowChanged" msprop:Generator_TablePropName="Tags2Macchine" msprop:Generator_RowDeletingName="Tags2MacchineRowDeleting" msprop:Generator_RowChangingName="Tags2MacchineRowChanging" msprop:Generator_RowEvHandlerName="Tags2MacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="Tags2MacchineRowDeleted" msprop:Generator_RowClassName="Tags2MacchineRow" msprop:Generator_UserTableName="Tags2Macchine" msprop:Generator_RowEvArgName="Tags2MacchineRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Matricola" msprop:Generator_ColumnVarNameInTable="columnMatricola" msprop:Generator_ColumnPropNameInRow="Matricola" msprop:Generator_ColumnPropNameInTable="MatricolaColumn" msprop:Generator_UserColumnName="Matricola">
|
||||
@@ -1940,7 +1940,7 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagTags" msprop:Generator_TableClassName="AnagTagsDataTable" msprop:Generator_TableVarName="tableAnagTags" msprop:Generator_TablePropName="AnagTags" msprop:Generator_RowDeletingName="AnagTagsRowDeleting" msprop:Generator_RowChangingName="AnagTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTagsRowDeleted" msprop:Generator_UserTableName="AnagTags" msprop:Generator_RowChangedName="AnagTagsRowChanged" msprop:Generator_RowEvArgName="AnagTagsRowChangeEvent" msprop:Generator_RowClassName="AnagTagsRow">
|
||||
<xs:element name="AnagTags" msprop:Generator_TableClassName="AnagTagsDataTable" msprop:Generator_TableVarName="tableAnagTags" msprop:Generator_RowChangedName="AnagTagsRowChanged" msprop:Generator_TablePropName="AnagTags" msprop:Generator_RowDeletingName="AnagTagsRowDeleting" msprop:Generator_RowChangingName="AnagTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTagsRowDeleted" msprop:Generator_RowClassName="AnagTagsRow" msprop:Generator_UserTableName="AnagTags" msprop:Generator_RowEvArgName="AnagTagsRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="TagCode" msprop:Generator_ColumnVarNameInTable="columnTagCode" msprop:Generator_ColumnPropNameInRow="TagCode" msprop:Generator_ColumnPropNameInTable="TagCodeColumn" msprop:Generator_UserColumnName="TagCode">
|
||||
@@ -2030,18 +2030,18 @@ SELECT TagCode, DescrTag FROM AnagTags WHERE (TagCode = @TagCode)</CommandText>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_DettScheda_AnagSchede1" msdata:parent="AnagSchede" msdata:child="DettScheda" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="DettScheda" msprop:Generator_ChildPropName="GetDettSchedaRows" msprop:Generator_UserRelationName="FK_DettScheda_AnagSchede1" msprop:Generator_RelationVarName="relationFK_DettScheda_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
|
||||
<msdata:Relationship name="FK_ElencoMacchineCN_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="ElencoMacchineCN" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="ElencoMacchineCN" msprop:Generator_ChildPropName="GetElencoMacchineCNRows" msprop:Generator_UserRelationName="FK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_RelationVarName="relationFK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" />
|
||||
<msdata:Relationship name="FK_ValidVal_DettScheda" msdata:parent="DettScheda" msdata:child="ValidVal" msdata:parentkey="CodScheda Vers CodMisura" msdata:childkey="CodScheda Vers CodMisura" msprop:Generator_UserChildTable="ValidVal" msprop:Generator_ChildPropName="GetValidValRows" msprop:Generator_UserRelationName="FK_ValidVal_DettScheda" msprop:Generator_RelationVarName="relationFK_ValidVal_DettScheda" msprop:Generator_UserParentTable="DettScheda" msprop:Generator_ParentPropName="DettSchedaRowParent" />
|
||||
<msdata:Relationship name="FK_SchemaCollFamMacc_AnagSchede1" msdata:parent="AnagSchede" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
|
||||
<msdata:Relationship name="FK_SchemaCollFamMacc_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" />
|
||||
<msdata:Relationship name="FK_ElencoDossier_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="ElencoDossier" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="ElencoDossier" msprop:Generator_ChildPropName="GetElencoDossierRows" msprop:Generator_UserRelationName="FK_ElencoDossier_ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" msprop:Generator_RelationVarName="relationFK_ElencoDossier_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" />
|
||||
<msdata:Relationship name="FK_SchemaCollMacc_AnagSchede" msdata:parent="AnagSchede" msdata:child="SchemaCollMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_AnagSchede" msprop:Generator_UserParentTable="AnagSchede" />
|
||||
<msdata:Relationship name="FK_SchemaCollMacc_ElencoDossier" msdata:parent="ElencoDossier" msdata:child="SchemaCollMacc" msdata:parentkey="IdxDossier" msdata:childkey="IdxDossier" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_ElencoDossier" msprop:Generator_ParentPropName="ElencoDossierRow" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_ElencoDossier" msprop:Generator_UserParentTable="ElencoDossier" />
|
||||
<msdata:Relationship name="FK_IstanzeMisura_AnagFasi1" msdata:parent="AnagFasi" msdata:child="Misure" msdata:parentkey="Fase" msdata:childkey="Fase" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_IstanzeMisura_AnagFasi1" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationFK_IstanzeMisura_AnagFasi1" msprop:Generator_UserParentTable="AnagFasi" />
|
||||
<msdata:Relationship name="FK_Misure_SchemaCollMacc1" msdata:parent="SchemaCollMacc" msdata:child="Misure" msdata:parentkey="IdxDossier CodScheda Vers NumScheda" msdata:childkey="IdxDossier CodScheda Vers NumScheda" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_Misure_SchemaCollMacc1" msprop:Generator_ParentPropName="SchemaCollMaccRowParent" msprop:Generator_RelationVarName="relationFK_Misure_SchemaCollMacc1" msprop:Generator_UserParentTable="SchemaCollMacc" />
|
||||
<msdata:Relationship name="FK_Tags2Macchine_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="Tags2Macchine" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="Tags2Macchine" msprop:Generator_ChildPropName="GetTags2MacchineRows" msprop:Generator_UserRelationName="FK_Tags2Macchine_ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" msprop:Generator_RelationVarName="relationFK_Tags2Macchine_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" />
|
||||
<msdata:Relationship name="FK_Tags2Macchine_AnagTags" msdata:parent="AnagTags" msdata:child="Tags2Macchine" msdata:parentkey="TagCode" msdata:childkey="TagCode" msprop:Generator_UserChildTable="Tags2Macchine" msprop:Generator_ChildPropName="GetTags2MacchineRows" msprop:Generator_UserRelationName="FK_Tags2Macchine_AnagTags" msprop:Generator_RelationVarName="relationFK_Tags2Macchine_AnagTags" msprop:Generator_UserParentTable="AnagTags" msprop:Generator_ParentPropName="AnagTagsRow" />
|
||||
<msdata:Relationship name="FK_DettScheda_AnagSchede1" msdata:parent="AnagSchede" msdata:child="DettScheda" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="DettScheda" msprop:Generator_ChildPropName="GetDettSchedaRows" msprop:Generator_UserRelationName="FK_DettScheda_AnagSchede1" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_DettScheda_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" />
|
||||
<msdata:Relationship name="FK_ElencoMacchineCN_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="ElencoMacchineCN" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="ElencoMacchineCN" msprop:Generator_ChildPropName="GetElencoMacchineCNRows" msprop:Generator_UserRelationName="FK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" msprop:Generator_RelationVarName="relationFK_ElencoMacchineCN_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" />
|
||||
<msdata:Relationship name="FK_ValidVal_DettScheda" msdata:parent="DettScheda" msdata:child="ValidVal" msdata:parentkey="CodScheda Vers CodMisura" msdata:childkey="CodScheda Vers CodMisura" msprop:Generator_UserChildTable="ValidVal" msprop:Generator_ChildPropName="GetValidValRows" msprop:Generator_UserRelationName="FK_ValidVal_DettScheda" msprop:Generator_ParentPropName="DettSchedaRowParent" msprop:Generator_RelationVarName="relationFK_ValidVal_DettScheda" msprop:Generator_UserParentTable="DettScheda" />
|
||||
<msdata:Relationship name="FK_SchemaCollFamMacc_AnagSchede1" msdata:parent="AnagSchede" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_ParentPropName="AnagSchedeRowParent" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_AnagSchede1" msprop:Generator_UserParentTable="AnagSchede" />
|
||||
<msdata:Relationship name="FK_SchemaCollFamMacc_ElencoFamMacc" msdata:parent="ElencoFamMacc" msdata:child="SchemaCollFamMacc" msdata:parentkey="CodFam" msdata:childkey="CodFam" msprop:Generator_UserChildTable="SchemaCollFamMacc" msprop:Generator_ChildPropName="GetSchemaCollFamMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_ParentPropName="ElencoFamMaccRow" msprop:Generator_RelationVarName="relationFK_SchemaCollFamMacc_ElencoFamMacc" msprop:Generator_UserParentTable="ElencoFamMacc" />
|
||||
<msdata:Relationship name="FK_ElencoDossier_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="ElencoDossier" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="ElencoDossier" msprop:Generator_ChildPropName="GetElencoDossierRows" msprop:Generator_UserRelationName="FK_ElencoDossier_ElencoMacchineCN" msprop:Generator_RelationVarName="relationFK_ElencoDossier_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" />
|
||||
<msdata:Relationship name="FK_SchemaCollMacc_AnagSchede" msdata:parent="AnagSchede" msdata:child="SchemaCollMacc" msdata:parentkey="CodScheda Vers" msdata:childkey="CodScheda Vers" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_AnagSchede" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_AnagSchede" msprop:Generator_UserParentTable="AnagSchede" msprop:Generator_ParentPropName="AnagSchedeRowParent" />
|
||||
<msdata:Relationship name="FK_SchemaCollMacc_ElencoDossier" msdata:parent="ElencoDossier" msdata:child="SchemaCollMacc" msdata:parentkey="IdxDossier" msdata:childkey="IdxDossier" msprop:Generator_UserChildTable="SchemaCollMacc" msprop:Generator_ChildPropName="GetSchemaCollMaccRows" msprop:Generator_UserRelationName="FK_SchemaCollMacc_ElencoDossier" msprop:Generator_RelationVarName="relationFK_SchemaCollMacc_ElencoDossier" msprop:Generator_UserParentTable="ElencoDossier" msprop:Generator_ParentPropName="ElencoDossierRow" />
|
||||
<msdata:Relationship name="FK_IstanzeMisura_AnagFasi1" msdata:parent="AnagFasi" msdata:child="Misure" msdata:parentkey="Fase" msdata:childkey="Fase" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_IstanzeMisura_AnagFasi1" msprop:Generator_RelationVarName="relationFK_IstanzeMisura_AnagFasi1" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
|
||||
<msdata:Relationship name="FK_Misure_SchemaCollMacc1" msdata:parent="SchemaCollMacc" msdata:child="Misure" msdata:parentkey="IdxDossier CodScheda Vers NumScheda" msdata:childkey="IdxDossier CodScheda Vers NumScheda" msprop:Generator_UserChildTable="Misure" msprop:Generator_ChildPropName="GetMisureRows" msprop:Generator_UserRelationName="FK_Misure_SchemaCollMacc1" msprop:Generator_RelationVarName="relationFK_Misure_SchemaCollMacc1" msprop:Generator_UserParentTable="SchemaCollMacc" msprop:Generator_ParentPropName="SchemaCollMaccRowParent" />
|
||||
<msdata:Relationship name="FK_Tags2Macchine_ElencoMacchineCN" msdata:parent="ElencoMacchineCN" msdata:child="Tags2Macchine" msdata:parentkey="Matricola" msdata:childkey="Matricola" msprop:Generator_UserChildTable="Tags2Macchine" msprop:Generator_ChildPropName="GetTags2MacchineRows" msprop:Generator_UserRelationName="FK_Tags2Macchine_ElencoMacchineCN" msprop:Generator_RelationVarName="relationFK_Tags2Macchine_ElencoMacchineCN" msprop:Generator_UserParentTable="ElencoMacchineCN" msprop:Generator_ParentPropName="ElencoMacchineCNRow" />
|
||||
<msdata:Relationship name="FK_Tags2Macchine_AnagTags" msdata:parent="AnagTags" msdata:child="Tags2Macchine" msdata:parentkey="TagCode" msdata:childkey="TagCode" msprop:Generator_UserChildTable="Tags2Macchine" msprop:Generator_ChildPropName="GetTags2MacchineRows" msprop:Generator_UserRelationName="FK_Tags2Macchine_AnagTags" msprop:Generator_ParentPropName="AnagTagsRow" msprop:Generator_RelationVarName="relationFK_Tags2Macchine_AnagTags" msprop:Generator_UserParentTable="AnagTags" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
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.
Binary file not shown.
@@ -77,8 +77,8 @@
|
||||
<asp:UpdatePanel ID="uppFooter" runat="server">
|
||||
<ContentTemplate>
|
||||
<footer style="background-color: white;">
|
||||
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick">
|
||||
</asp:Timer>
|
||||
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick">
|
||||
</asp:Timer>
|
||||
<%--<div class="navbar navbar-inverse navbar-fixed-bottom" role="navigation" style="border-top: 1px solid #ABABAB; padding: 2px 0px;">--%>
|
||||
<%--<div class="navbar navbar-inverse" role="navigation" style="border-top: 1px solid #ABABAB; padding: 2px 0px;">--%>
|
||||
<div class="navbar navbar-fixed-bottom" role="navigation" style="border-top: 1px solid #ABABAB; padding: 0px; background-color: white;">
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
margin-top: 78px;
|
||||
}
|
||||
/* fix testata tabella grigia */
|
||||
.table {
|
||||
margin: 0.25em;
|
||||
}
|
||||
.table-striped > tbody > tr:nth-child(odd) > th {
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e2e2e2 100%);
|
||||
}
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
|
||||
/* fix testata tabella grigia */
|
||||
|
||||
.table {
|
||||
margin: 0.25em;
|
||||
}
|
||||
|
||||
.table-striped > tbody > tr:nth-child(odd) > th {
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e2e2e2 100%);
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+4
-1
@@ -1,9 +1,12 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="CMS_SC.Test" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_fileUpload.ascx" TagPrefix="uc1" TagName="mod_fileUpload" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
area featured
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
area main
|
||||
<uc1:mod_fileUpload runat="server" ID="mod_fileUpload" enableMod="true" filtKey="test" />
|
||||
</asp:Content>
|
||||
|
||||
Generated
+14
-7
@@ -3,15 +3,22 @@
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
|
||||
|
||||
public partial class Test
|
||||
{
|
||||
namespace CMS_SC {
|
||||
|
||||
|
||||
public partial class Test {
|
||||
|
||||
/// <summary>
|
||||
/// mod_fileUpload 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_fileUpload mod_fileUpload;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<%@ 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" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
@@ -20,7 +21,12 @@
|
||||
<asp:BoundField DataField="NomeMisura" HeaderText="Misura" SortExpression="NomeMisura" ReadOnly="true" />
|
||||
<asp:TemplateField HeaderText="Val. Misura" SortExpression="ValoreMis">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="txtValoreMis" runat="server" Text='<%# Bind("ValoreMis") %>' />
|
||||
<div runat="server" id="divMisura" visible='<%# Eval("TipovalMisura").ToString()!="FILE" %>'>
|
||||
<asp:TextBox ID="txtValoreMis" runat="server" Text='<%# Bind("ValoreMis") %>' />
|
||||
</div>
|
||||
<div runat="server" id="divFile" visible='<%# Eval("TipovalMisura").ToString()=="FILE" %>'>
|
||||
<uc1:mod_fileUpload runat="server" ID="mod_fileUpload" filtKey='<%# Bind("ValoreMis") %>' enableMod="true" />
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div runat="server" id="divMisura" visible='<%# Eval("TipovalMisura").ToString()!="FILE" %>'>
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace CMS_SC.WebUserControls
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// dimensione pagina grid view
|
||||
|
||||
@@ -1,72 +1,84 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_fileUpload.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_fileUpload" %>
|
||||
|
||||
<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>
|
||||
<asp:UpdatePanel ID="uppContainer" runat="server">
|
||||
<Triggers>
|
||||
<asp:PostBackTrigger ControlID="btnUpload" />
|
||||
</Triggers>
|
||||
<ContentTemplate>
|
||||
<div id="divFileUpl" runat="server" style="width: 100%;">
|
||||
<asp:FileUpload ID="FileUploadControl" runat="server" />
|
||||
</div>
|
||||
<div id="divNewEdit" class="row" runat="server">
|
||||
<div class="col-xs-6">
|
||||
<asp:Button ID="btnAdd" runat="server" Text="Nuovo Allegato" OnClick="btnAdd_Click" Enabled='<%# enableMod %>' Width="100%" />
|
||||
<asp:Button ID="btnCancel" runat="server" Text="Annulla" OnClick="btnCancel_Click" Width="100%" />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="Upload" data-theme="b" Width="100%" />
|
||||
</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 ItemStyle-HorizontalAlign="right">
|
||||
<ItemTemplate>
|
||||
<div id="DivSel" 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 %>'><i class="fa fa-2x fa-edit"></i></asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="File">
|
||||
<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="DivDel" runat="server" visible='<%# isWriteEnabled %>'>
|
||||
<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 %>'><i class="fa fa-2x fa-trash"></i></asp:LinkButton>
|
||||
</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 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>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
@@ -16,6 +16,21 @@ namespace CMS_SC.WebUserControls
|
||||
{
|
||||
public partial class mod_fileUpload : SteamWare.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// selezione valore in DettScheda
|
||||
/// </summary>
|
||||
public event EventHandler eh_fileMod;
|
||||
/// <summary>
|
||||
/// sollevo evento selezione
|
||||
/// </summary>
|
||||
protected void raiseEvent()
|
||||
{
|
||||
// sollevo evento nuovo valore...
|
||||
if (eh_fileMod != null)
|
||||
{
|
||||
eh_fileMod(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// abilita modifica/cancellazione allegati
|
||||
/// </summary>
|
||||
@@ -27,6 +42,7 @@ namespace CMS_SC.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Page.Form.Enctype = "multipart/form-data";
|
||||
fisVisFU(enableMod);
|
||||
if (!IsPostBack)
|
||||
{
|
||||
@@ -34,7 +50,7 @@ namespace CMS_SC.WebUserControls
|
||||
grView.DataBind();
|
||||
}
|
||||
divNewEdit.Visible = isWriteEnabled && enableMod;
|
||||
btnAdd.DataBind();
|
||||
btnAdd.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// Chiave di filtraggio dati...
|
||||
@@ -50,54 +66,45 @@ namespace CMS_SC.WebUserControls
|
||||
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);
|
||||
string contentType = FileUpload1.PostedFile.ContentType;
|
||||
using (Stream fs = FileUpload1.PostedFile.InputStream)
|
||||
if (FileUploadControl.HasFile)
|
||||
{
|
||||
using (BinaryReader br = new BinaryReader(fs))
|
||||
string filename = Path.GetFileName(FileUploadControl.PostedFile.FileName);
|
||||
string contentType = FileUploadControl.PostedFile.ContentType;
|
||||
using (Stream fs = FileUploadControl.PostedFile.InputStream)
|
||||
{
|
||||
byte[] bytes = br.ReadBytes((Int32)fs.Length);
|
||||
// PROCEDO SOLO SE HO UN FILE!!!! ovvero bytes <> null
|
||||
if (bytes.Length > 0)
|
||||
using (BinaryReader br = new BinaryReader(fs))
|
||||
{
|
||||
// controllo se sia caricamento o update...
|
||||
if (grView.SelectedIndex != -1)
|
||||
byte[] bytes = br.ReadBytes((Int32)fs.Length);
|
||||
// PROCEDO SOLO SE HO UN FILE!!!! ovvero bytes <> null
|
||||
if (bytes.Length > 0)
|
||||
{
|
||||
try
|
||||
// controllo se sia caricamento o update...
|
||||
if (grView.SelectedIndex != -1)
|
||||
{
|
||||
int orig_idxFile = Convert.ToInt32(grView.SelectedValue);
|
||||
DtProxy.man.taFiles.updateQuery(filename, filtKey, contentType, bytes, orig_idxFile);
|
||||
try
|
||||
{
|
||||
int orig_idxFile = Convert.ToInt32(grView.SelectedValue);
|
||||
DtProxy.man.taFiles.updateQuery(filename, filtKey, contentType, bytes, orig_idxFile);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
else
|
||||
{
|
||||
DtProxy.man.taFiles.insertQuery(filename, filtKey, contentType, bytes);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
else
|
||||
{
|
||||
DtProxy.man.taFiles.insertQuery(filename, filtKey, contentType, bytes);
|
||||
}
|
||||
}
|
||||
}
|
||||
grView.DataBind();
|
||||
raiseEvent();
|
||||
#if false
|
||||
Response.Redirect(Request.Url.AbsoluteUri);
|
||||
#endif
|
||||
}
|
||||
Response.Redirect(Request.Url.AbsoluteUri);
|
||||
}
|
||||
|
||||
protected void DownloadFile(object sender, EventArgs e)
|
||||
|
||||
+27
-18
@@ -12,6 +12,33 @@ namespace CMS_SC.WebUserControls {
|
||||
|
||||
public partial class mod_fileUpload {
|
||||
|
||||
/// <summary>
|
||||
/// uppContainer control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel uppContainer;
|
||||
|
||||
/// <summary>
|
||||
/// divFileUpl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divFileUpl;
|
||||
|
||||
/// <summary>
|
||||
/// FileUploadControl 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.FileUpload FileUploadControl;
|
||||
|
||||
/// <summary>
|
||||
/// divNewEdit control.
|
||||
/// </summary>
|
||||
@@ -39,24 +66,6 @@ namespace CMS_SC.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnCancel;
|
||||
|
||||
/// <summary>
|
||||
/// divFileUpl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divFileUpl;
|
||||
|
||||
/// <summary>
|
||||
/// FileUpload1 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.FileUpload FileUpload1;
|
||||
|
||||
/// <summary>
|
||||
/// btnUpload control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user