Inserita gestione anagrafiche risorse

This commit is contained in:
Samuele E. Locatelli
2015-03-17 17:47:56 +01:00
parent 1d9372ae95
commit a88f4b5012
34 changed files with 2568 additions and 157 deletions
File diff suppressed because it is too large Load Diff
+210 -15
View File
@@ -1577,6 +1577,146 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ImpiegoRisorseTableAdapter" GeneratorDataComponentClassName="ImpiegoRisorseTableAdapter" Name="ImpiegoRisorse" UserDataComponentName="ImpiegoRisorseTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.ImpiegoRisorse" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[ImpiegoRisorse] WHERE (([idxImpiego] = @Original_idxImpiego))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxImpiego" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxImpiego" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[ImpiegoRisorse] ([idxImpiego], [CodRisorsa], [numIntMtz], [QtaRisorsa], [CostoUnit]) VALUES (@idxImpiego, @CodRisorsa, @numIntMtz, @QtaRisorsa, @CostoUnit)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxImpiego" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxImpiego" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QtaRisorsa" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="QtaRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostoUnit" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="CostoUnit" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxImpiego, CodRisorsa, numIntMtz, QtaRisorsa, CostoUnit, TotImport FROM dbo.ImpiegoRisorse</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[ImpiegoRisorse] SET [idxImpiego] = @idxImpiego, [CodRisorsa] = @CodRisorsa, [numIntMtz] = @numIntMtz, [QtaRisorsa] = @QtaRisorsa, [CostoUnit] = @CostoUnit WHERE (([idxImpiego] = @Original_idxImpiego))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxImpiego" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxImpiego" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@numIntMtz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="numIntMtz" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QtaRisorsa" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="QtaRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostoUnit" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="CostoUnit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxImpiego" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxImpiego" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="idxImpiego" DataSetColumn="idxImpiego" />
<Mapping SourceColumn="CodRisorsa" DataSetColumn="CodRisorsa" />
<Mapping SourceColumn="numIntMtz" DataSetColumn="numIntMtz" />
<Mapping SourceColumn="QtaRisorsa" DataSetColumn="QtaRisorsa" />
<Mapping SourceColumn="CostoUnit" DataSetColumn="CostoUnit" />
<Mapping SourceColumn="TotImport" DataSetColumn="TotImport" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagTipoRisorsaTableAdapter" GeneratorDataComponentClassName="AnagTipoRisorsaTableAdapter" Name="AnagTipoRisorsa" UserDataComponentName="AnagTipoRisorsaTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.AnagTipoRisorsa" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[AnagTipoRisorsa] WHERE (([CodRisorsa] = @Original_CodRisorsa))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodRisorsa" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagTipoRisorsa] ([CodRisorsa], [UM], [LemmaRisorsa]) VALUES (@CodRisorsa, @UM, @LemmaRisorsa)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LemmaRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LemmaRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT * FROM dbo.AnagTipoRisorsa</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagTipoRisorsa] SET [CodRisorsa] = @CodRisorsa, [UM] = @UM, [DescrRisorsa] = @DescrRisorsa WHERE (([CodRisorsa] = @Original_CodRisorsa))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DescrRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DescrRisorsa" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodRisorsa" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodRisorsa" DataSetColumn="CodRisorsa" />
<Mapping SourceColumn="UM" DataSetColumn="UM" />
<Mapping SourceColumn="LemmaRisorsa" DataSetColumn="DescrRisorsa" />
<Mapping SourceColumn="DescrRisorsa" DataSetColumn="DescrRisorsa" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_ATR_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ATR_delete</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="@Original_CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_ATR_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ATR_insert</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="@CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@DescrRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_ATR_update" 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">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ATR_update</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="@Original_CodRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@DescrRisorsa" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -2067,7 +2207,7 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgExp" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_TablePropName="v_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_RowClassName="v_mtzProgExpRow" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent">
<xs:element name="v_mtzProgExp" msprop:Generator_TableClassName="v_mtzProgExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgExp" msprop:Generator_TablePropName="v_mtzProgExp" msprop:Generator_RowDeletingName="v_mtzProgExpRowDeleting" msprop:Generator_RowChangingName="v_mtzProgExpRowChanging" msprop:Generator_RowEvHandlerName="v_mtzProgExpRowChangeEventHandler" msprop:Generator_RowDeletedName="v_mtzProgExpRowDeleted" msprop:Generator_UserTableName="v_mtzProgExp" msprop:Generator_RowChangedName="v_mtzProgExpRowChanged" msprop:Generator_RowEvArgName="v_mtzProgExpRowChangeEvent" msprop:Generator_RowClassName="v_mtzProgExpRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" msprop:Generator_UserColumnName="idxIntPro" type="xs:int" />
@@ -2143,6 +2283,51 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent" msprop:Generator_RowClassName="ImpiegoRisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxImpiego" msprop:Generator_ColumnVarNameInTable="columnidxImpiego" msprop:Generator_ColumnPropNameInRow="idxImpiego" msprop:Generator_ColumnPropNameInTable="idxImpiegoColumn" msprop:Generator_UserColumnName="idxImpiego" type="xs:int" />
<xs:element name="CodRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodRisorsa" msprop:Generator_ColumnPropNameInRow="CodRisorsa" msprop:Generator_ColumnPropNameInTable="CodRisorsaColumn" msprop:Generator_UserColumnName="CodRisorsa">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" msprop:Generator_UserColumnName="numIntMtz" type="xs:int" />
<xs:element name="QtaRisorsa" msprop:Generator_ColumnVarNameInTable="columnQtaRisorsa" msprop:Generator_ColumnPropNameInRow="QtaRisorsa" msprop:Generator_ColumnPropNameInTable="QtaRisorsaColumn" msprop:Generator_UserColumnName="QtaRisorsa" type="xs:decimal" minOccurs="0" />
<xs:element name="CostoUnit" msprop:Generator_ColumnVarNameInTable="columnCostoUnit" msprop:Generator_ColumnPropNameInRow="CostoUnit" msprop:Generator_ColumnPropNameInTable="CostoUnitColumn" msprop:Generator_UserColumnName="CostoUnit" type="xs:decimal" minOccurs="0" />
<xs:element name="TotImport" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTotImport" msprop:Generator_ColumnPropNameInRow="TotImport" msprop:Generator_ColumnPropNameInTable="TotImportColumn" msprop:Generator_UserColumnName="TotImport" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoRisorsa" msprop:Generator_TableClassName="AnagTipoRisorsaDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorsa" msprop:Generator_TablePropName="AnagTipoRisorsa" msprop:Generator_RowDeletingName="AnagTipoRisorsaRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorsaRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorsaRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorsaRowDeleted" msprop:Generator_UserTableName="AnagTipoRisorsa" msprop:Generator_RowChangedName="AnagTipoRisorsaRowChanged" msprop:Generator_RowEvArgName="AnagTipoRisorsaRowChangeEvent" msprop:Generator_RowClassName="AnagTipoRisorsaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodRisorsa" msprop:Generator_ColumnPropNameInRow="CodRisorsa" msprop:Generator_ColumnPropNameInTable="CodRisorsaColumn" msprop:Generator_UserColumnName="CodRisorsa">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UM" msprop:Generator_ColumnVarNameInTable="columnUM" msprop:Generator_ColumnPropNameInRow="UM" msprop:Generator_ColumnPropNameInTable="UMColumn" msprop:Generator_UserColumnName="UM">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrRisorsa" msdata:Caption="LemmaRisorsa" msprop:Generator_ColumnVarNameInTable="columnDescrRisorsa" msprop:Generator_ColumnPropNameInRow="DescrRisorsa" msprop:Generator_ColumnPropNameInTable="DescrRisorsaColumn" msprop:Generator_UserColumnName="DescrRisorsa">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -2234,23 +2419,33 @@ WHERE (idxCausale = @Original_idxCausale)</CommandText>
<xs:selector xpath=".//mstns:v_mtzProgExp" />
<xs:field xpath="mstns:idxIntPro" />
</xs:unique>
<xs:unique name="ImpiegoRisorse_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ImpiegoRisorse" />
<xs:field xpath="mstns:idxImpiego" />
</xs:unique>
<xs:unique name="AnagTipoRisorsa_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AnagTipoRisorsa" />
<xs:field xpath="mstns:CodRisorsa" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_AnagMacchine_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_macchine" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="FK_AnagMacchine_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_AnagMacchine_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
<msdata:Relationship name="Macchine2FamMacchine_v_macchine" msdata:parent="v_selFamMacc" msdata:child="v_macchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="Macchine2FamMacchine_v_macchine" msprop:Generator_ParentPropName="v_selFamMaccRow" msprop:Generator_RelationVarName="relationMacchine2FamMacchine_v_macchine" msprop:Generator_UserParentTable="v_selFamMacc" />
<msdata:Relationship name="AnagFamMacchine_v_selFamMacc" msdata:parent="AnagFamMacchine" msdata:child="v_selFamMacc" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="v_selFamMacc" msprop:Generator_ChildPropName="Getv_selFamMaccRows" msprop:Generator_UserRelationName="AnagFamMacchine_v_selFamMacc" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_RelationVarName="relationAnagFamMacchine_v_selFamMacc" msprop:Generator_UserParentTable="AnagFamMacchine" />
<msdata:Relationship name="FK_InterventiMtz_AnagAmbitoGuasto" msdata:parent="AnagAmbitoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxAmbito" msdata:childkey="idxAmbito" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_ParentPropName="AnagAmbitoGuastoRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_UserParentTable="AnagAmbitoGuasto" />
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserParentTable="AnagPriorita" />
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="GetInterventiMtzRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserParentTable="AnagTipoGuasto" />
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_ParentPropName="v_intervExpRow" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" />
<msdata:Relationship name="FK_MtzProgPending_MtzProgrammata" msdata:parent="MtzProgrammata" msdata:child="MtzProgPending" msdata:parentkey="idxIntPro" msdata:childkey="idxIntPro" msprop:Generator_UserChildTable="MtzProgPending" msprop:Generator_ChildPropName="GetMtzProgPendingRows" msprop:Generator_UserRelationName="FK_MtzProgPending_MtzProgrammata" msprop:Generator_ParentPropName="MtzProgrammataRow" msprop:Generator_RelationVarName="relationFK_MtzProgPending_MtzProgrammata" msprop:Generator_UserParentTable="MtzProgrammata" />
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" />
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_ChildPropName="GetFiltroMacchineRows" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_ParentPropName="v_macchineRow" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" />
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_ChildPropName="GetFiltroStatiRows" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserParentTable="AnagStati" />
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_ChildPropName="GetAnagCausaliRows" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserParentTable="AnagFamMacchine" />
<msdata:Relationship name="FK_InterventoOpMtz_AnagrOperMtz" msdata:parent="AnagrOperMtz" msdata:child="InterventoOpMtz" msdata:parentkey="matrOp" msdata:childkey="matrOp" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="FK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_ParentPropName="AnagrOperMtzRow" msprop:Generator_RelationVarName="relationFK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_UserParentTable="AnagrOperMtz" />
<msdata:Relationship name="FK_AnagMacchine_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_macchine" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="FK_AnagMacchine_AnagImpianti" msprop:Generator_RelationVarName="relationFK_AnagMacchine_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
<msdata:Relationship name="Macchine2FamMacchine_v_macchine" msdata:parent="v_selFamMacc" msdata:child="v_macchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="v_macchine" msprop:Generator_ChildPropName="Getv_macchineRows" msprop:Generator_UserRelationName="Macchine2FamMacchine_v_macchine" msprop:Generator_RelationVarName="relationMacchine2FamMacchine_v_macchine" msprop:Generator_UserParentTable="v_selFamMacc" msprop:Generator_ParentPropName="v_selFamMaccRow" />
<msdata:Relationship name="AnagFamMacchine_v_selFamMacc" msdata:parent="AnagFamMacchine" msdata:child="v_selFamMacc" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="v_selFamMacc" msprop:Generator_ChildPropName="Getv_selFamMaccRows" msprop:Generator_UserRelationName="AnagFamMacchine_v_selFamMacc" msprop:Generator_RelationVarName="relationAnagFamMacchine_v_selFamMacc" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" />
<msdata:Relationship name="FK_InterventiMtz_AnagAmbitoGuasto" msdata:parent="AnagAmbitoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxAmbito" msdata:childkey="idxAmbito" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagAmbitoGuasto" msprop:Generator_UserParentTable="AnagAmbitoGuasto" msprop:Generator_ParentPropName="AnagAmbitoGuastoRow" />
<msdata:Relationship name="FK_InterventiMtz_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="v_intervExp" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagImpianti" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
<msdata:Relationship name="FK_InterventiMtz_AnagPriorita" msdata:parent="AnagPriorita" msdata:child="v_intervExp" msdata:parentkey="idxPriorita" msdata:childkey="idxPriorita" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="Getv_intervExpRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagPriorita" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagPriorita" msprop:Generator_UserParentTable="AnagPriorita" msprop:Generator_ParentPropName="AnagPrioritaRow" />
<msdata:Relationship name="FK_InterventiMtz_AnagTipoGuasto" msdata:parent="AnagTipoGuasto" msdata:child="v_intervExp" msdata:parentkey="idxTipo" msdata:childkey="idxTipo" msprop:Generator_UserChildTable="v_intervExp" msprop:Generator_ChildPropName="GetInterventiMtzRows" msprop:Generator_UserRelationName="FK_InterventiMtz_AnagTipoGuasto" msprop:Generator_RelationVarName="relationFK_InterventiMtz_AnagTipoGuasto" msprop:Generator_UserParentTable="AnagTipoGuasto" msprop:Generator_ParentPropName="AnagTipoGuastoRow" />
<msdata:Relationship name="v_intervExp_InterventoOpMtz" msdata:parent="v_intervExp" msdata:child="InterventoOpMtz" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="v_intervExp_InterventoOpMtz" msprop:Generator_RelationVarName="relationv_intervExp_InterventoOpMtz" msprop:Generator_UserParentTable="v_intervExp" msprop:Generator_ParentPropName="v_intervExpRow" />
<msdata:Relationship name="FK_MtzProgPending_MtzProgrammata" msdata:parent="MtzProgrammata" msdata:child="MtzProgPending" msdata:parentkey="idxIntPro" msdata:childkey="idxIntPro" msprop:Generator_UserChildTable="MtzProgPending" msprop:Generator_ChildPropName="GetMtzProgPendingRows" msprop:Generator_UserRelationName="FK_MtzProgPending_MtzProgrammata" msprop:Generator_RelationVarName="relationFK_MtzProgPending_MtzProgrammata" msprop:Generator_UserParentTable="MtzProgrammata" msprop:Generator_ParentPropName="MtzProgrammataRow" />
<msdata:Relationship name="FK_FiltroImpianti_AnagImpianti" msdata:parent="AnagImpianti" msdata:child="FiltroImpianti" msdata:parentkey="idxImpianto" msdata:childkey="idxImpianto" msprop:Generator_UserChildTable="FiltroImpianti" msprop:Generator_ChildPropName="GetFiltroImpiantiRows" msprop:Generator_UserRelationName="FK_FiltroImpianti_AnagImpianti" msprop:Generator_RelationVarName="relationFK_FiltroImpianti_AnagImpianti" msprop:Generator_UserParentTable="AnagImpianti" msprop:Generator_ParentPropName="AnagImpiantiRow" />
<msdata:Relationship name="v_macchine_FiltroMacchine" msdata:parent="v_macchine" msdata:child="FiltroMacchine" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="FiltroMacchine" msprop:Generator_ChildPropName="GetFiltroMacchineRows" msprop:Generator_UserRelationName="v_macchine_FiltroMacchine" msprop:Generator_RelationVarName="relationv_macchine_FiltroMacchine" msprop:Generator_UserParentTable="v_macchine" msprop:Generator_ParentPropName="v_macchineRow" />
<msdata:Relationship name="FK_FiltroStati_AnagStati" msdata:parent="AnagStati" msdata:child="FiltroStati" msdata:parentkey="idxStato" msdata:childkey="idxStato" msprop:Generator_UserChildTable="FiltroStati" msprop:Generator_ChildPropName="GetFiltroStatiRows" msprop:Generator_UserRelationName="FK_FiltroStati_AnagStati" msprop:Generator_RelationVarName="relationFK_FiltroStati_AnagStati" msprop:Generator_UserParentTable="AnagStati" msprop:Generator_ParentPropName="AnagStatiRow" />
<msdata:Relationship name="FK_AnagCausali_AnagFamMacchine" msdata:parent="AnagFamMacchine" msdata:child="AnagCausali" msdata:parentkey="idxFamMacchine" msdata:childkey="idxFamMacchine" msprop:Generator_UserChildTable="AnagCausali" msprop:Generator_ChildPropName="GetAnagCausaliRows" msprop:Generator_UserRelationName="FK_AnagCausali_AnagFamMacchine" msprop:Generator_RelationVarName="relationFK_AnagCausali_AnagFamMacchine" msprop:Generator_UserParentTable="AnagFamMacchine" msprop:Generator_ParentPropName="AnagFamMacchineRow" />
<msdata:Relationship name="FK_InterventoOpMtz_AnagrOperMtz" msdata:parent="AnagrOperMtz" msdata:child="InterventoOpMtz" msdata:parentkey="matrOp" msdata:childkey="matrOp" msprop:Generator_UserChildTable="InterventoOpMtz" msprop:Generator_ChildPropName="GetInterventoOpMtzRows" msprop:Generator_UserRelationName="FK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_RelationVarName="relationFK_InterventoOpMtz_AnagrOperMtz" msprop:Generator_UserParentTable="AnagrOperMtz" msprop:Generator_ParentPropName="AnagrOperMtzRow" />
<msdata:Relationship name="FK_ImpiegoRisorse_AnagTipoRisorsa" msdata:parent="AnagTipoRisorsa" msdata:child="ImpiegoRisorse" msdata:parentkey="CodRisorsa" msdata:childkey="CodRisorsa" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="FK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_RelationVarName="relationFK_ImpiegoRisorse_AnagTipoRisorsa" msprop:Generator_UserParentTable="AnagTipoRisorsa" msprop:Generator_ParentPropName="AnagTipoRisorsaRow" />
<msdata:Relationship name="v_intervExp_ImpiegoRisorse" msdata:parent="v_intervExp" msdata:child="ImpiegoRisorse" msdata:parentkey="numIntMtz" msdata:childkey="numIntMtz" msprop:Generator_UserChildTable="ImpiegoRisorse" msprop:Generator_ChildPropName="GetImpiegoRisorseRows" msprop:Generator_UserRelationName="v_intervExp_ImpiegoRisorse" msprop:Generator_ParentPropName="v_intervExpRow" msprop:Generator_RelationVarName="relationv_intervExp_ImpiegoRisorse" msprop:Generator_UserParentTable="v_intervExp" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+81 -47
View File
@@ -4,32 +4,34 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-54" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-53" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:LogUpdateDb" ZOrder="35" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="34" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagPriorita" ZOrder="23" X="153" Y="373" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="28" X="810" Y="350" Height="207" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
<Shape ID="DesignTable:v_macchine" ZOrder="1" X="1116" Y="309" Height="374" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:v_selFamMacc" ZOrder="24" X="1102" Y="88" Height="190" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="12" X="1080" Y="-44" Height="105" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_intervExp" ZOrder="4" X="484" Y="217" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="26" X="118" Y="199" Height="105" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagStati" ZOrder="22" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="6" X="793" Y="582" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:MtzProgPending" ZOrder="20" X="821" Y="791" Height="249" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="162" />
<Shape ID="DesignTable:MtzProgrammata" ZOrder="5" X="1141" Y="749" Height="306" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="198" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="3" X="76" Y="939" Height="134" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:OreAperturaSett" ZOrder="11" X="366" Y="836" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:FiltroImpianti" ZOrder="15" X="1399" Y="644" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroMacchine" ZOrder="16" X="1410" Y="168" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroStati" ZOrder="14" X="764" Y="7" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagCausali" ZOrder="10" X="1433" Y="-40" Height="156" Width="192" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagrOperMtz" ZOrder="8" X="531" Y="669" Height="122" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_mtzProgExp" ZOrder="2" X="56" Y="573" Height="343" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:LogUpdateDb" ZOrder="39" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="38" X="475" Y="7" Height="134" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagPriorita" ZOrder="7" X="239" Y="375" Height="190" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="32" X="810" Y="350" Height="207" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
<Shape ID="DesignTable:v_macchine" ZOrder="9" X="1116" Y="309" Height="374" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:v_selFamMacc" ZOrder="30" X="1102" Y="88" Height="190" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="19" X="1080" Y="-44" Height="105" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_intervExp" ZOrder="11" X="526" Y="217" Height="381" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="6" X="66" Y="164" Height="105" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagStati" ZOrder="29" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="13" X="793" Y="582" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:MtzProgPending" ZOrder="27" X="821" Y="791" Height="249" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="162" />
<Shape ID="DesignTable:MtzProgrammata" ZOrder="12" X="1141" Y="749" Height="306" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="198" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="10" X="76" Y="939" Height="134" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:OreAperturaSett" ZOrder="18" X="366" Y="836" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:FiltroImpianti" ZOrder="22" X="1399" Y="644" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroMacchine" ZOrder="23" X="1410" Y="168" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroStati" ZOrder="21" X="764" Y="7" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagCausali" ZOrder="17" X="1433" Y="-40" Height="156" Width="192" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagrOperMtz" ZOrder="15" X="531" Y="669" Height="145" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="77" />
<Shape ID="DesignTable:v_mtzProgExp" ZOrder="8" X="6" Y="313" Height="343" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ImpiegoRisorse" ZOrder="1" X="249" Y="583" Height="191" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagTipoRisorsa" ZOrder="5" X="10" Y="738" Height="191" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="33" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="37" LineWidth="11">
<RoutePoints>
<Point>
<X>1029</X>
@@ -41,7 +43,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="32" LineWidth="11">
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="36" LineWidth="11">
<RoutePoints>
<Point>
<X>1251</X>
@@ -53,7 +55,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="31" LineWidth="11">
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="35" LineWidth="11">
<RoutePoints>
<Point>
<X>1239</X>
@@ -65,19 +67,19 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="29" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="33" LineWidth="11">
<RoutePoints>
<Point>
<X>511</X>
<Y>142</Y>
<X>679</X>
<Y>141</Y>
</Point>
<Point>
<X>511</X>
<X>679</X>
<Y>217</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="30" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="34" LineWidth="11">
<RoutePoints>
<Point>
<X>810</X>
@@ -89,31 +91,31 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="27" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="3" LineWidth="11">
<RoutePoints>
<Point>
<X>453</X>
<Y>437</Y>
<X>448</X>
<Y>417</Y>
</Point>
<Point>
<X>484</X>
<Y>437</Y>
<X>526</X>
<Y>417</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="25" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="31" LineWidth="11">
<RoutePoints>
<Point>
<X>353</X>
<Y>260</Y>
<X>301</X>
<Y>225</Y>
</Point>
<Point>
<X>484</X>
<Y>260</Y>
<X>526</X>
<Y>225</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:v_intervExp_InterventoOpMtz" ZOrder="21" LineWidth="11">
<Connector ID="DesignRelation:v_intervExp_InterventoOpMtz" ZOrder="28" LineWidth="11">
<RoutePoints>
<Point>
<X>631</X>
@@ -129,7 +131,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_MtzProgPending_MtzProgrammata" ZOrder="19" LineWidth="11">
<Connector ID="DesignRelation:FK_MtzProgPending_MtzProgrammata" ZOrder="26" LineWidth="11">
<RoutePoints>
<Point>
<X>1141</X>
@@ -141,7 +143,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_FiltroImpianti_AnagImpianti" ZOrder="18" LineWidth="11">
<Connector ID="DesignRelation:FK_FiltroImpianti_AnagImpianti" ZOrder="25" LineWidth="11">
<RoutePoints>
<Point>
<X>1017</X>
@@ -157,7 +159,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:v_macchine_FiltroMacchine" ZOrder="17" LineWidth="11">
<Connector ID="DesignRelation:v_macchine_FiltroMacchine" ZOrder="24" LineWidth="11">
<RoutePoints>
<Point>
<X>1362</X>
@@ -173,7 +175,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_FiltroStati_AnagStati" ZOrder="13" LineWidth="11">
<Connector ID="DesignRelation:FK_FiltroStati_AnagStati" ZOrder="20" LineWidth="11">
<RoutePoints>
<Point>
<X>922</X>
@@ -185,7 +187,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AnagCausali_AnagFamMacchine" ZOrder="9" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagCausali_AnagFamMacchine" ZOrder="16" LineWidth="11">
<RoutePoints>
<Point>
<X>1328</X>
@@ -197,7 +199,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventoOpMtz_AnagrOperMtz" ZOrder="7" LineWidth="11">
<Connector ID="DesignRelation:FK_InterventoOpMtz_AnagrOperMtz" ZOrder="14" LineWidth="11">
<RoutePoints>
<Point>
<X>754</X>
@@ -209,5 +211,37 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ImpiegoRisorse_AnagTipoRisorsa" ZOrder="4" LineWidth="11">
<RoutePoints>
<Point>
<X>141</X>
<Y>738</Y>
</Point>
<Point>
<X>141</X>
<Y>681</Y>
</Point>
<Point>
<X>249</X>
<Y>681</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:v_intervExp_ImpiegoRisorse" ZOrder="2" LineWidth="11">
<RoutePoints>
<Point>
<X>569</X>
<Y>598</Y>
</Point>
<Point>
<X>569</X>
<Y>642</Y>
</Point>
<Point>
<X>460</X>
<Y>642</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="AnagTipoRisorsa.aspx.cs" Inherits="GIM_site.AnagTipoRisorsa" %>
<%@ Register src="~/WebUserControls/mod_tipoRisorsa.ascx" tagname="mod_tipoRisorsa" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<uc1:mod_tipoRisorsa ID="mod_tipoRisorsa1" runat="server" />
</asp:Content>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GIM_site
{
public partial class AnagTipoRisorsa : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
@@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GIM_site {
public partial class AnagTipoRisorsa {
/// <summary>
/// mod_tipoRisorsa1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GIM_site.WebUserControls.mod_tipoRisorsa mod_tipoRisorsa1;
}
}
+23
View File
@@ -174,6 +174,7 @@
<Content Include="adminDB.aspx" />
<Content Include="anagAmbitiGuasto.aspx" />
<Content Include="AnagOperatoriMtz.aspx" />
<Content Include="AnagTipoRisorsa.aspx" />
<Content Include="aperturaImpianti.aspx" />
<Content Include="Appunti.txt" />
<Content Include="assegnazioniMacchineImpianti.aspx" />
@@ -637,6 +638,9 @@
</None>
</ItemGroup>
<ItemGroup>
<Compile Include="..\VersGen\WebGIM.cs">
<Link>WebGIM.cs</Link>
</Compile>
<Compile Include="adminDB.aspx.cs">
<DependentUpon>adminDB.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -644,6 +648,13 @@
<Compile Include="adminDB.aspx.designer.cs">
<DependentUpon>adminDB.aspx</DependentUpon>
</Compile>
<Compile Include="AnagTipoRisorsa.aspx.cs">
<DependentUpon>AnagTipoRisorsa.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="AnagTipoRisorsa.aspx.designer.cs">
<DependentUpon>AnagTipoRisorsa.aspx</DependentUpon>
</Compile>
<Compile Include="ExcelExportMtzPrev.aspx.cs">
<DependentUpon>ExcelExportMtzPrev.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -1191,6 +1202,13 @@
<Compile Include="WebUserControls\mod_tipoGuasto.ascx.designer.cs">
<DependentUpon>mod_tipoGuasto.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_tipoRisorsa.ascx.cs">
<DependentUpon>mod_tipoRisorsa.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_tipoRisorsa.ascx.designer.cs">
<DependentUpon>mod_tipoRisorsa.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_titlePortable.ascx.cs">
<DependentUpon>mod_titlePortable.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -1368,6 +1386,7 @@
<Content Include="WebUserControls\mod_selettore.ascx" />
<Content Include="WebUserControls\mod_selettore_ajax.ascx" />
<Content Include="WebUserControls\mod_tipoGuasto.ascx" />
<Content Include="WebUserControls\mod_tipoRisorsa.ascx" />
<Content Include="WebUserControls\mod_titlePortable.ascx" />
<Content Include="WebUserControls\mod_unauthorized.ascx" />
<Content Include="WebUserControls\mod_vocabolario.ascx" />
@@ -1422,6 +1441,10 @@
<Project>{F66427C8-882A-4EF8-B42F-EF142906DC8C}</Project>
<Name>GIM_data</Name>
</ProjectReference>
<ProjectReference Include="..\VersGen\VersGen.csproj">
<Project>{be594f80-8fc2-45be-99d1-aec73f71e41e}</Project>
<Name>VersGen</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
@@ -5,12 +5,12 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("GIM_site")]
[assembly: AssemblyTitle("WebGIM")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("GIM_site")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
//[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("WebGIM")]
//[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
//[assembly: AssemblyVersion("1.0.0.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
+2 -2
View File
@@ -107,9 +107,9 @@
<add key="titleApp" value="GIM_titleApp" />
<add key="welcomeApp" value="GIM_welcomeApp" />
<add key="appName" value="GIM" />
<add key="mainRev" value="1.3" />
<!--<add key="mainRev" value="1.3" />
<add key="minRev" value="242" />
<add key="copyRight" value="SteamWare © 2006" />
<add key="copyRight" value="SteamWare © 2006" />-->
<add key="defaultApp" value="GIM_Appl" />
<add key="defaultTitle" value="GIM_ShortWelcome" />
<add key="defaultBody" value="GIM_LongWelcome" />
@@ -10,7 +10,7 @@
</div>
<div style="float: right;">
<asp:Button ID="btnCancel" runat="server" Width="150px" OnClick="btnCancel_Click" />
<cc1:ConfirmButtonExtender ID="cbeCancel" runat="server" TargetControlID="btnCancel" />
<cc1:ConfirmButtonExtender ID="cbeCancel" runat="server" TargetControlID="btnCancel" />
</div>
<div style="margin: 2px;">
<asp:Button ID="btnCompilaMtz" runat="server" Width="150px" OnClick="btnCompilaMtz_Click" />
@@ -98,8 +98,7 @@
SelectedValue='<%# Eval("idxImpianto") %>' Enabled="false">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getImpiantiValidi" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
SelectMethod="getImpiantiValidi" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter"></asp:ObjectDataSource>
</td>
</tr>
<tr>
@@ -119,8 +118,7 @@
</SelectParameters>
</asp:ObjectDataSource>--%>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getData" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter">
</asp:ObjectDataSource>
SelectMethod="getData" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter"></asp:ObjectDataSource>
</td>
</tr>
<tr>
@@ -167,8 +165,7 @@
</tr>
</table>
</div>
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange;
padding: 10px;">
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange; padding: 10px;">
<table>
<tr>
<td>
@@ -210,8 +207,7 @@
DataSourceID="odsStato" DataTextField="label" DataValueField="value" Enabled="false">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selStatoTableAdapter">
</asp:ObjectDataSource>
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selStatoTableAdapter"></asp:ObjectDataSource>
</td>
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz3" runat="server" vistaModulo="selezione" />
@@ -323,8 +319,7 @@
Enabled="false">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getImpiantiValidi" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
SelectMethod="getImpiantiValidi" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter"></asp:ObjectDataSource>
</td>
</tr>
<tr>
@@ -344,8 +339,7 @@
</SelectParameters>
</asp:ObjectDataSource>--%>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getData" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter">
</asp:ObjectDataSource>
SelectMethod="getData" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter"></asp:ObjectDataSource>
</td>
</tr>
<tr>
@@ -392,8 +386,7 @@
</tr>
</table>
</div>
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange;
padding: 10px;">
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange; padding: 10px;">
<table>
<tr>
<td>
@@ -435,8 +428,7 @@
DataSourceID="odsStato" DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selStatoTableAdapter">
</asp:ObjectDataSource>
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selStatoTableAdapter"></asp:ObjectDataSource>
</td>
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz2" runat="server" vistaModulo="editing" />
@@ -544,8 +536,7 @@
SelectedValue='<%# Bind("idxAmbito") %>'>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsAmbiti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selAmbitiTableAdapter">
</asp:ObjectDataSource>
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selAmbitiTableAdapter"></asp:ObjectDataSource>
</td>
</tr>
<tr>
@@ -557,8 +548,7 @@
DataValueField="value" Width="400px" BackColor="#cdffcd" Font-Size="8pt" SelectedValue='<%# Bind("idxImpianto") %>'>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getImpiantiValidi" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
SelectMethod="getImpiantiValidi" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter"></asp:ObjectDataSource>
</td>
</tr>
<tr>
@@ -577,8 +567,7 @@
</SelectParameters>
</asp:ObjectDataSource>--%>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getData" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter">
</asp:ObjectDataSource>
SelectMethod="getData" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter"></asp:ObjectDataSource>
</td>
</tr>
<tr>
@@ -618,8 +607,7 @@
<asp:DropDownList runat="server" ID="ddlPrior" DataSourceID="odsPrior" DataTextField="label"
DataValueField="value" CssClass="textEv_2" SelectedValue='<%# Bind("idxPriorita") %>' />
<asp:ObjectDataSource ID="odsPrior" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selPriorTableAdapter">
</asp:ObjectDataSource>
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selPriorTableAdapter"></asp:ObjectDataSource>
</td>
<td colspan="5">
<asp:TextBox ID="txtDescrizione" runat="server" Text='<%# Bind("descrizione") %>'
@@ -641,14 +629,12 @@
DataSourceID="odsTipo" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("idxTipo") %>'>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsTipo" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selTipoGuastoTableAdapter">
</asp:ObjectDataSource>
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selTipoGuastoTableAdapter"></asp:ObjectDataSource>
</td>
</tr>
</table>
</div>
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange;
padding: 10px;">
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange; padding: 10px;">
<table>
<tr>
<td>
@@ -692,8 +678,7 @@
DataSourceID="odsStato" DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selStatoTableAdapter">
</asp:ObjectDataSource>
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selStatoTableAdapter"></asp:ObjectDataSource>
</td>
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz4" runat="server" vistaModulo="editing" />
@@ -8,13 +8,18 @@ using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Diagnostics;
public partial class mod_menuBottom : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
// sistemo le stringhe...
lblApp.Text = string.Format("<b>{0}</b> v.{1}.{2}", ConfigurationManager.AppSettings.Get("appName"), ConfigurationManager.AppSettings.Get("mainRev"), ConfigurationManager.AppSettings.Get("minRev"));
lblCopyRight.Text = string.Format("<b>{0}-{1}</b>",ConfigurationManager.AppSettings.Get("copyRight"), DateTime.Now.Year);
lblApp.Text = string.Format("v.{0}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
var versionInfo = FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location);
lblCopyRight.Text = string.Format("<b>{0}</b>", versionInfo.LegalCopyright);
//lblApp.Text = string.Format("<b>{0}</b> v.{1}.{2}", ConfigurationManager.AppSettings.Get("appName"), ConfigurationManager.AppSettings.Get("mainRev"), ConfigurationManager.AppSettings.Get("minRev"));
//lblCopyRight.Text = string.Format("<b>{0}-{1}</b>",ConfigurationManager.AppSettings.Get("copyRight"), DateTime.Now.Year);
}
}
@@ -0,0 +1,84 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_tipoRisorsa.ascx.cs" Inherits="GIM_site.WebUserControls.mod_tipoRisorsa" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="CodRisorsa" DataSourceID="ods" OnDataBound="grView_DataBound" OnRowEditing="grView_RowEditing" EnableModelValidation="True">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>'
Visible='<%# isWritable() %>' />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<HeaderTemplate>
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click"
Visible="false" />
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
Visible="false" ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="CodRisorsa" HeaderText="CodRisorsa" ReadOnly="True" SortExpression="CodRisorsa" />
<asp:BoundField DataField="UM" HeaderText="UM" SortExpression="UM" />
<asp:BoundField DataField="DescrRisorsa" HeaderText="DescrRisorsa" SortExpression="DescrRisorsa" />
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>'
Visible='<%# isWritable() %>' />
</HeaderTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="GIM_data.DS_applicazioneTableAdapters.AnagTipoRisorsaTableAdapter"
UpdateMethod="updateQuery" DeleteMethod="deleteQuery" OldValuesParameterFormatString="original_{0}"
FilterExpression=" (CodRisorsa LIKE '%{0}%') OR (UM LIKE '%{0}%') OR (DescrRisorsa LIKE '%{0}%') "
InsertMethod="insertQuery">
<UpdateParameters>
<asp:Parameter Name="UM" Type="String" />
<asp:Parameter Name="DescrRisorsa" Type="String" />
<asp:Parameter Name="Original_CodRisorsa" Type="String" />
</UpdateParameters>
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_CodRisorsa" Type="String" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="CodRisorsa" Type="String" />
<asp:Parameter Name="UM" Type="String" />
<asp:Parameter Name="LemmaRisorsa" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,89 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
namespace GIM_site.WebUserControls
{
public partial class mod_tipoRisorsa : ApplicationUserControl
{
public event EventHandler eh_resetSelezione;
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
/// <summary>
/// reset delle selezioni
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
/// <summary>
/// seleziono valore in editing...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_RowEditing(object sender, GridViewEditEventArgs e)
{
// seleziono la riga corrente...
grView.SelectedIndex = e.NewEditIndex;
}
/// <summary>
/// gestione evento inserimento nuovo record standard (se ZERO presenti)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNewFromEmpty_Click(object sender, EventArgs e)
{
// reset selezione...
resetSelezione();
GIM_data.DS_applicazioneTableAdapters.AnagTipoRisorsaTableAdapter taATR = new GIM_data.DS_applicazioneTableAdapters.AnagTipoRisorsaTableAdapter();
taATR.insertQuery("--NEW--", "NR", "Description");
grView.DataBind();
}
}
}
@@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GIM_site.WebUserControls {
public partial class mod_tipoRisorsa {
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// lblNumRec 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.Label lblNumRec;
/// <summary>
/// ods 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.ObjectDataSource ods;
}
}
@@ -1,5 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_vocabolario" Codebehind="mod_vocabolario.ascx.cs" %>
Inherits="mod_vocabolario" CodeBehind="mod_vocabolario.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<table class="contrDx">
<tr>
@@ -12,19 +12,19 @@
<Columns>
<asp:TemplateField ShowHeader="False">
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl="~/images/apply_s.png" />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
ToolTip='<%# traduci("Cancel") %>' ImageUrl="~/images/cancel_s.png" />
</EditItemTemplate>
<HeaderTemplate>
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click" />
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
ToolTip='<%# traduci("Select") %>' ImageUrl="~/images/view_s.png" />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
ToolTip='<%# traduci("Edit") %>' ImageUrl="~/images/edit_s.png" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Lingua" SortExpression="Lingua">
@@ -57,7 +57,7 @@
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
ToolTip='<%# traduci("Delete") %>' ImageUrl="~/images/elimina_s.png" />
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
@@ -71,35 +71,29 @@
<AlternatingRowStyle CssClass="ctrAltRowStyle"></AlternatingRowStyle>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getVocabolario" TypeName="selData"
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getVocabolario" TypeName="SteamWare.selDataVoc"
UpdateMethod="updateLemmaVoc" DeleteMethod="deleteLemmaVoc" OldValuesParameterFormatString="Original_{0}"
FilterExpression="Traduzione LIKE '%{0}%' OR Lemma LIKE '%{0}%' " OnUpdated="ods_Updated">
FilterExpression="Traduzione LIKE '%{0}%' OR Lemma LIKE '%{0}%' "
OnUpdated="ods_Updated" OnInserted="ods_Inserted">
<UpdateParameters>
<asp:Parameter Name="Traduzione" Type="String" />
<asp:Parameter Name="Original_Lingua" Type="String" />
<asp:Parameter Name="Original_Lemma" Type="String" />
</UpdateParameters>
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_Lingua" Type="String" />
<asp:Parameter Name="Original_Lemma" Type="String" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="Lingua" Type="String" />
<asp:Parameter Name="Lemma" Type="String" />
<asp:Parameter Name="Traduzione" Type="String" />
</InsertParameters>
<asp:Parameter Name="Traduzione" Type="String" />
<asp:Parameter Name="Original_Lingua" Type="String" />
<asp:Parameter Name="Original_Lemma" Type="String" />
</UpdateParameters>
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_Lingua" Type="String" />
<asp:Parameter Name="Original_Lemma" Type="String" />
</DeleteParameters>
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td>
<asp:Button ID="btnNewLemma" runat="server" OnClick="btnNewLemma_Click" />
<asp:TextBox ID="txtNewLemma" runat="server" />
<cc1:TextBoxWatermarkExtender ID="TBW_newLemma" runat="server" TargetControlID="txtNewLemma" WatermarkCssClass="watermark">
</cc1:TextBoxWatermarkExtender>
<asp:TextBox ID="txtNewLemma" runat="server" placeholder="insert new" />
</td>
</tr>
</table>
@@ -9,8 +9,9 @@ using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SteamWare;
using GIM_data;
public partial class mod_vocabolario : ApplicationUserControl
public partial class mod_vocabolario : SteamWare.UserControl
{
#region gestione eventi
@@ -22,12 +23,13 @@ public partial class mod_vocabolario : ApplicationUserControl
#region protected
protected override void traduciObj()
protected void Page_Load()
{
base.traduciObj();
btnNewLemma.Text = user_std.UtSn.Traduci("btnNewLemma");
txtNewLemma.Text = "";
TBW_newLemma.WatermarkText = user_std.UtSn.Traduci("insertNewLemma");
if (!Page.IsPostBack)
{
btnNewLemma.Text = user_std.UtSn.Traduci("btnNewLemma");
txtNewLemma.Text = "";
}
}
/// <summary>
@@ -55,15 +57,23 @@ public partial class mod_vocabolario : ApplicationUserControl
// aggiorno il vocabolario in memoria...
DataWrap.DW.resetVocabolario();
// riparto...
Response.Redirect(_paginaCorrente);
Response.Redirect(user_std.pagCorrente);
}
}
protected override void aggiornaControlliDataGL()
/// <summary>
/// dimensione pagina grid view
/// </summary>
public int pageSize
{
base.aggiornaControlliDataGL();
grView.PageSize = _righeDataGridAnagr;
ods.DataBind();
get
{
return grView.PageSize;
}
set
{
grView.PageSize = value;
}
}
protected void grView_DataBound(object sender, EventArgs e)
@@ -83,7 +93,7 @@ public partial class mod_vocabolario : ApplicationUserControl
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
lblNumRec.Text = string.Format("{0} ({1})", grView.Rows.Count, totRecord);
}
else
{
@@ -119,6 +129,7 @@ public partial class mod_vocabolario : ApplicationUserControl
protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e)
{
DataWrap.DW.resetVocabolario();
selezionatoValore();
}
@@ -141,6 +152,10 @@ public partial class mod_vocabolario : ApplicationUserControl
}
#endregion
}
protected void ods_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
DataWrap.DW.resetVocabolario();
selezionatoValore();
}
}
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -56,13 +55,4 @@ public partial class mod_vocabolario {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNewLemma;
/// <summary>
/// TBW_newLemma control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.TextBoxWatermarkExtender TBW_newLemma;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -29,3 +29,5 @@ C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GI
C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Alumat\RdlCompile.compiled
C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Alumat\GIM_site.dll
C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Alumat\GIM_site.pdb
C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\VersGen.dll
C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\bin\VersGen.pdb
Binary file not shown.
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("VersGen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
//[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("VersGen")]
//[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("a5a814af-34cb-46f1-b3ab-518e55468a65")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyVersion("1.0.0.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>VersGen</RootNamespace>
<AssemblyName>VersGen</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="WebGIM.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>WebGIM.tt</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="WebGIM.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>WebGIM.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
+11
View File
@@ -0,0 +1,11 @@
//
// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.
//
using System.Reflection;
[assembly: AssemblyVersion("1.3.243.480")]
[assembly: AssemblyFileVersion("1.3.243.480")]
[assembly: AssemblyCopyright("Steamware © 2006-2015")]
[assembly: AssemblyCompany("Steamware")]
+15
View File
@@ -0,0 +1,15 @@
<#@ template language="C#" #>
//
// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.
//
using System.Reflection;
[assembly: AssemblyVersion("1.3.243.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("1.3.243.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Steamware © 2006-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+
int RevisionNumber = (int)(DateTime.UtcNow - new DateTime(2006,1,1)).TotalDays/7;
#>
Binary file not shown.
Binary file not shown.
+16
View File
@@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GIM_site", "GIM_site\GIM_si
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GIM_data", "GIM_data\GIM_data.csproj", "{F66427C8-882A-4EF8-B42F-EF142906DC8C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VersGen", "VersGen\VersGen.csproj", "{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Alumat|Any CPU = Alumat|Any CPU
@@ -60,6 +62,20 @@ Global
{F66427C8-882A-4EF8-B42F-EF142906DC8C}.SomaschiniUSA|Any CPU.Build.0 = SomaschiniUSA|Any CPU
{F66427C8-882A-4EF8-B42F-EF142906DC8C}.WinLab|Any CPU.ActiveCfg = WinLab|Any CPU
{F66427C8-882A-4EF8-B42F-EF142906DC8C}.WinLab|Any CPU.Build.0 = WinLab|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.Alumat|Any CPU.ActiveCfg = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.Alumat|Any CPU.Build.0 = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.IIS02|Any CPU.ActiveCfg = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.IIS02|Any CPU.Build.0 = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.Release|Any CPU.Build.0 = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.Somaschini|Any CPU.ActiveCfg = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.Somaschini|Any CPU.Build.0 = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.SomaschiniUSA|Any CPU.ActiveCfg = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.SomaschiniUSA|Any CPU.Build.0 = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.WinLab|Any CPU.ActiveCfg = Release|Any CPU
{BE594F80-8FC2-45BE-99D1-AEC73F71E41E}.WinLab|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE