completata gestione INSERT commesse in bazaar

- selezione con ricerca di attive
- mostra NON già inserite
- permette insert multiplo

va costruita visualizzazione tab come GMW
This commit is contained in:
Samuele Locatelli
2013-09-04 12:36:09 +02:00
parent ed4ab44824
commit b8dde8a7ab
12 changed files with 1506 additions and 57 deletions
+66 -6
View File
@@ -3652,23 +3652,37 @@ namespace ETS_Data.DS_utilsProjEtsTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selCommesse";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_VSCom_byConditio";
this._commandCollection[1].CommandText = "dbo.stp_VSCom_getAttiveBySearchLike";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ricerca", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_VSCom_getBySearchLike";
this._commandCollection[2].CommandText = "dbo.stp_VSCom_getAttiveUnusedBySearchLike";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ricerca", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_VSCom_byConditio";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@conditio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_VSCom_getBySearchLike";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ricerca", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3699,8 +3713,54 @@ namespace ETS_Data.DS_utilsProjEtsTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_utilsProjEts.v_selCommesseDataTable getByConditio(string conditio) {
public virtual DS_utilsProjEts.v_selCommesseDataTable getAttiveBySearchLike(string ricerca) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((ricerca == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ricerca));
}
DS_utilsProjEts.v_selCommesseDataTable dataTable = new DS_utilsProjEts.v_selCommesseDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_utilsProjEts.v_selCommesseDataTable getAttiveUnusedBySearchLike(global::System.Nullable<int> Anno, global::System.Nullable<int> Sett, string ricerca) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((Anno.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Anno.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
if ((Sett.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(Sett.Value));
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((ricerca == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(ricerca));
}
DS_utilsProjEts.v_selCommesseDataTable dataTable = new DS_utilsProjEts.v_selCommesseDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_utilsProjEts.v_selCommesseDataTable getByConditio(string conditio) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((conditio == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -3717,7 +3777,7 @@ namespace ETS_Data.DS_utilsProjEtsTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_utilsProjEts.v_selCommesseDataTable getBySearchLike(string ricerca) {
this.Adapter.SelectCommand = this.CommandCollection[2];
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((ricerca == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
+31 -7
View File
@@ -118,6 +118,30 @@
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_VSCom_getAttiveBySearchLike" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getAttiveBySearchLike" GetMethodModifier="Public" GetMethodName="getAttiveBySearchLike" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getAttiveBySearchLike" UserSourceName="getAttiveBySearchLike">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VSCom_getAttiveBySearchLike</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="@ricerca" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_VSCom_getAttiveUnusedBySearchLike" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getAttiveUnusedBySearchLike" GetMethodModifier="Public" GetMethodName="getAttiveUnusedBySearchLike" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getAttiveUnusedBySearchLike" UserSourceName="getAttiveUnusedBySearchLike">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VSCom_getAttiveUnusedBySearchLike</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="@Anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ricerca" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_VSCom_byConditio" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -218,7 +242,7 @@ ORDER BY label</CommandText>
<xs:element name="DS_utilsProjEts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_utilsProjEts" msprop:Generator_UserDSName="DS_utilsProjEts">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="v_selClienti" msprop:Generator_TableClassName="v_selClientiDataTable" msprop:Generator_TableVarName="tablev_selClienti" msprop:Generator_RowChangedName="v_selClientiRowChanged" msprop:Generator_TablePropName="v_selClienti" msprop:Generator_RowDeletingName="v_selClientiRowDeleting" msprop:Generator_RowChangingName="v_selClientiRowChanging" msprop:Generator_RowEvHandlerName="v_selClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientiRowDeleted" msprop:Generator_RowClassName="v_selClientiRow" msprop:Generator_UserTableName="v_selClienti" msprop:Generator_RowEvArgName="v_selClientiRowChangeEvent">
<xs:element name="v_selClienti" msprop:Generator_TableClassName="v_selClientiDataTable" msprop:Generator_TableVarName="tablev_selClienti" msprop:Generator_TablePropName="v_selClienti" msprop:Generator_RowDeletingName="v_selClientiRowDeleting" msprop:Generator_RowChangingName="v_selClientiRowChanging" msprop:Generator_RowEvHandlerName="v_selClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selClientiRowDeleted" msprop:Generator_UserTableName="v_selClienti" msprop:Generator_RowChangedName="v_selClientiRowChanged" msprop:Generator_RowEvArgName="v_selClientiRowChangeEvent" msprop:Generator_RowClassName="v_selClientiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -232,7 +256,7 @@ ORDER BY label</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selProgetti" msprop:Generator_TableClassName="v_selProgettiDataTable" msprop:Generator_TableVarName="tablev_selProgetti" msprop:Generator_RowChangedName="v_selProgettiRowChanged" msprop:Generator_TablePropName="v_selProgetti" msprop:Generator_RowDeletingName="v_selProgettiRowDeleting" msprop:Generator_RowChangingName="v_selProgettiRowChanging" msprop:Generator_RowEvHandlerName="v_selProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selProgettiRowDeleted" msprop:Generator_RowClassName="v_selProgettiRow" msprop:Generator_UserTableName="v_selProgetti" msprop:Generator_RowEvArgName="v_selProgettiRowChangeEvent">
<xs:element name="v_selProgetti" msprop:Generator_TableClassName="v_selProgettiDataTable" msprop:Generator_TableVarName="tablev_selProgetti" msprop:Generator_TablePropName="v_selProgetti" msprop:Generator_RowDeletingName="v_selProgettiRowDeleting" msprop:Generator_RowChangingName="v_selProgettiRowChanging" msprop:Generator_RowEvHandlerName="v_selProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selProgettiRowDeleted" msprop:Generator_UserTableName="v_selProgetti" msprop:Generator_RowChangedName="v_selProgettiRowChanged" msprop:Generator_RowEvArgName="v_selProgettiRowChangeEvent" msprop:Generator_RowClassName="v_selProgettiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -248,7 +272,7 @@ ORDER BY label</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent" msprop:Generator_RowClassName="v_selCommesseRow">
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_RowClassName="v_selCommesseRow" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -263,7 +287,7 @@ ORDER BY label</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCC" msprop:Generator_TableClassName="v_selCCDataTable" msprop:Generator_TableVarName="tablev_selCC" msprop:Generator_RowChangedName="v_selCCRowChanged" msprop:Generator_TablePropName="v_selCC" msprop:Generator_RowDeletingName="v_selCCRowDeleting" msprop:Generator_RowChangingName="v_selCCRowChanging" msprop:Generator_RowEvHandlerName="v_selCCRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCCRowDeleted" msprop:Generator_RowClassName="v_selCCRow" msprop:Generator_UserTableName="v_selCC" msprop:Generator_RowEvArgName="v_selCCRowChangeEvent">
<xs:element name="v_selCC" msprop:Generator_TableClassName="v_selCCDataTable" msprop:Generator_TableVarName="tablev_selCC" msprop:Generator_TablePropName="v_selCC" msprop:Generator_RowDeletingName="v_selCCRowDeleting" msprop:Generator_RowChangingName="v_selCCRowChanging" msprop:Generator_RowEvHandlerName="v_selCCRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCCRowDeleted" msprop:Generator_UserTableName="v_selCC" msprop:Generator_RowChangedName="v_selCCRowChanged" msprop:Generator_RowEvArgName="v_selCCRowChangeEvent" msprop:Generator_RowClassName="v_selCCRow">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
@@ -283,7 +307,7 @@ ORDER BY label</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCC_all" msprop:Generator_TableClassName="v_selCC_allDataTable" msprop:Generator_TableVarName="tablev_selCC_all" msprop:Generator_RowChangedName="v_selCC_allRowChanged" msprop:Generator_TablePropName="v_selCC_all" msprop:Generator_RowDeletingName="v_selCC_allRowDeleting" msprop:Generator_RowChangingName="v_selCC_allRowChanging" msprop:Generator_RowEvHandlerName="v_selCC_allRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCC_allRowDeleted" msprop:Generator_RowClassName="v_selCC_allRow" msprop:Generator_UserTableName="v_selCC_all" msprop:Generator_RowEvArgName="v_selCC_allRowChangeEvent">
<xs:element name="v_selCC_all" msprop:Generator_TableClassName="v_selCC_allDataTable" msprop:Generator_TableVarName="tablev_selCC_all" msprop:Generator_TablePropName="v_selCC_all" msprop:Generator_RowDeletingName="v_selCC_allRowDeleting" msprop:Generator_RowChangingName="v_selCC_allRowChanging" msprop:Generator_RowEvHandlerName="v_selCC_allRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCC_allRowDeleted" msprop:Generator_UserTableName="v_selCC_all" msprop:Generator_RowChangedName="v_selCC_allRowChanged" msprop:Generator_RowEvArgName="v_selCC_allRowChangeEvent" msprop:Generator_RowClassName="v_selCC_allRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
@@ -303,14 +327,14 @@ ORDER BY label</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selWeek" msprop:Generator_TableClassName="v_selWeekDataTable" msprop:Generator_TableVarName="tablev_selWeek" msprop:Generator_TablePropName="v_selWeek" msprop:Generator_RowDeletingName="v_selWeekRowDeleting" msprop:Generator_RowChangingName="v_selWeekRowChanging" msprop:Generator_RowEvHandlerName="v_selWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selWeekRowDeleted" msprop:Generator_UserTableName="v_selWeek" msprop:Generator_RowChangedName="v_selWeekRowChanged" msprop:Generator_RowEvArgName="v_selWeekRowChangeEvent" msprop:Generator_RowClassName="v_selWeekRow">
<xs:element name="v_selWeek" msprop:Generator_TableClassName="v_selWeekDataTable" msprop:Generator_TableVarName="tablev_selWeek" msprop:Generator_RowChangedName="v_selWeekRowChanged" msprop:Generator_TablePropName="v_selWeek" msprop:Generator_RowDeletingName="v_selWeekRowDeleting" msprop:Generator_RowChangingName="v_selWeekRowChanging" msprop:Generator_RowEvHandlerName="v_selWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selWeekRowDeleted" msprop:Generator_RowClassName="v_selWeekRow" msprop:Generator_UserTableName="v_selWeek" msprop:Generator_RowEvArgName="v_selWeekRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="n" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnn" msprop:Generator_ColumnPropNameInRow="n" msprop:Generator_ColumnPropNameInTable="nColumn" msprop:Generator_UserColumnName="n" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selYear" msprop:Generator_TableClassName="v_selYearDataTable" msprop:Generator_TableVarName="tablev_selYear" msprop:Generator_TablePropName="v_selYear" msprop:Generator_RowDeletingName="v_selYearRowDeleting" msprop:Generator_RowChangingName="v_selYearRowChanging" msprop:Generator_RowEvHandlerName="v_selYearRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selYearRowDeleted" msprop:Generator_UserTableName="v_selYear" msprop:Generator_RowChangedName="v_selYearRowChanged" msprop:Generator_RowEvArgName="v_selYearRowChangeEvent" msprop:Generator_RowClassName="v_selYearRow">
<xs:element name="v_selYear" msprop:Generator_TableClassName="v_selYearDataTable" msprop:Generator_TableVarName="tablev_selYear" msprop:Generator_RowChangedName="v_selYearRowChanged" msprop:Generator_TablePropName="v_selYear" msprop:Generator_RowDeletingName="v_selYearRowDeleting" msprop:Generator_RowChangingName="v_selYearRowChanging" msprop:Generator_RowEvHandlerName="v_selYearRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selYearRowDeleted" msprop:Generator_RowClassName="v_selYearRow" msprop:Generator_UserTableName="v_selYear" msprop:Generator_RowEvArgName="v_selYearRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="n" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnn" msprop:Generator_ColumnPropNameInRow="n" msprop:Generator_ColumnPropNameInTable="nColumn" msprop:Generator_UserColumnName="n" type="xs:int" minOccurs="0" />
+2 -2
View File
@@ -8,9 +8,9 @@
<Shapes>
<Shape ID="DesignTable:v_selClienti" ZOrder="7" X="70" Y="70" Height="153" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selProgetti" ZOrder="6" X="430" Y="128" Height="210" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_selCommesse" ZOrder="4" X="833" Y="226" Height="172" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selCommesse" ZOrder="4" X="833" Y="226" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selCC" ZOrder="5" X="279" Y="433" Height="115" Width="187" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selCC_all" ZOrder="3" X="0" Y="0" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
<Shape ID="DesignTable:v_selCC_all" ZOrder="3" X="136" Y="600" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selWeek" ZOrder="2" X="556" Y="507" Height="96" Width="204" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:v_selYear" ZOrder="1" X="801" Y="513" Height="96" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
</Shapes>
+3
View File
@@ -20,6 +20,7 @@ namespace ETS_Data
public Ds_ProjEtsTableAdapters.DatiCommIntegTableAdapter taDCI;
public Ds_ProjEtsTableAdapters.BdgtRisorseFasiTableAdapter taBRF;
public Ds_ProjEtsTableAdapters.AnagTipoRisorseTableAdapter taATR;
public Ds_ProjEtsTableAdapters.BazaarRisorseTableAdapter taBaz;
/* DS_utilsProjEts */
public DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter taSelCli;
public DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter taSelPro;
@@ -37,6 +38,7 @@ namespace ETS_Data
taDCI = new Ds_ProjEtsTableAdapters.DatiCommIntegTableAdapter();
taBRF = new Ds_ProjEtsTableAdapters.BdgtRisorseFasiTableAdapter();
taATR = new Ds_ProjEtsTableAdapters.AnagTipoRisorseTableAdapter();
taBaz = new Ds_ProjEtsTableAdapters.BazaarRisorseTableAdapter();
taSelCli = new DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter();
taSelPro = new DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter();
taSelCom = new DS_utilsProjEtsTableAdapters.v_selCommesseTableAdapter();
@@ -54,6 +56,7 @@ namespace ETS_Data
taDCI.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taBRF.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taATR.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taBaz.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCli.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelPro.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCom.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
+1073
View File
File diff suppressed because it is too large Load Diff
+132 -17
View File
@@ -810,7 +810,7 @@ SELECT idxFase, CodTipoRisorsa, OreBdgt, CostoBdgt, DataRif FROM BdgtRisorseFasi
<Mapping SourceColumn="DataRif" DataSetColumn="DataRif" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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="GetDataBy" UserSourceName="DeleteQuery">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BRF_DeleteQuery</CommandText>
@@ -833,7 +833,7 @@ SELECT idxFase, CodTipoRisorsa, OreBdgt, CostoBdgt, DataRif FROM BdgtRisorseFasi
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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="GetDataBy1" UserSourceName="InsertQuery">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BRF_InsertQuery</CommandText>
@@ -931,6 +931,95 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BazaarRisorseTableAdapter" GeneratorDataComponentClassName="BazaarRisorseTableAdapter" Name="BazaarRisorse" UserDataComponentName="BazaarRisorseTableAdapter">
<MainSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.BazaarRisorse" 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="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[BazaarRisorse] WHERE (([Anno] = @Original_Anno) AND ([Sett] = @Original_Sett) AND ([idxDipendente] = @Original_idxDipendente) AND ([idxFase] = @Original_idxFase) AND ((@IsNull_Allocazione = 1 AND [Allocazione] IS NULL) OR ([Allocazione] = @Original_Allocazione)) AND ((@IsNull_SchemaWeek = 1 AND [SchemaWeek] IS NULL) OR ([SchemaWeek] = @Original_SchemaWeek)) AND ((@IsNull_OreTot = 1 AND [OreTot] IS NULL) OR ([OreTot] = @Original_OreTot)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Sett" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Sett" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxFase" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFase" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Allocazione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Allocazione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Allocazione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Allocazione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SchemaWeek" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SchemaWeek" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SchemaWeek" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SchemaWeek" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OreTot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OreTot" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OreTot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OreTot" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[BazaarRisorse] ([Anno], [Sett], [idxDipendente], [idxFase], [Allocazione]) VALUES (@Anno, @Sett, @idxDipendente, @idxFase, @Allocazione);
SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM BazaarRisorse WHERE (Anno = @Anno) AND (Sett = @Sett) AND (idxDipendente = @idxDipendente) AND (idxFase = @idxFase)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Sett" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxFase" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFase" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Allocazione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Allocazione" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM dbo.BazaarRisorse</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[BazaarRisorse] SET [Anno] = @Anno, [Sett] = @Sett, [idxDipendente] = @idxDipendente, [idxFase] = @idxFase, [Allocazione] = @Allocazione WHERE (([Anno] = @Original_Anno) AND ([Sett] = @Original_Sett) AND ([idxDipendente] = @Original_idxDipendente) AND ([idxFase] = @Original_idxFase) AND ((@IsNull_Allocazione = 1 AND [Allocazione] IS NULL) OR ([Allocazione] = @Original_Allocazione)) AND ((@IsNull_SchemaWeek = 1 AND [SchemaWeek] IS NULL) OR ([SchemaWeek] = @Original_SchemaWeek)) AND ((@IsNull_OreTot = 1 AND [OreTot] IS NULL) OR ([OreTot] = @Original_OreTot)));
SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM BazaarRisorse WHERE (Anno = @Anno) AND (Sett = @Sett) AND (idxDipendente = @idxDipendente) AND (idxFase = @idxFase)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Sett" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxFase" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFase" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Allocazione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Allocazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Sett" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Sett" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxFase" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxFase" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Allocazione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Allocazione" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Allocazione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Allocazione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SchemaWeek" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SchemaWeek" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SchemaWeek" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SchemaWeek" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OreTot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OreTot" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OreTot" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OreTot" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Anno" DataSetColumn="Anno" />
<Mapping SourceColumn="Sett" DataSetColumn="Sett" />
<Mapping SourceColumn="idxDipendente" DataSetColumn="idxDipendente" />
<Mapping SourceColumn="idxFase" DataSetColumn="idxFase" />
<Mapping SourceColumn="Allocazione" DataSetColumn="Allocazione" />
<Mapping SourceColumn="SchemaWeek" DataSetColumn="SchemaWeek" />
<Mapping SourceColumn="OreTot" DataSetColumn="OreTot" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_BAZ_creaBulkByIdxFase" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="creaBulkByIdxFase" Modifier="Public" Name="creaBulkByIdxFase" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="creaBulkByIdxFase">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BAZ_creaBulkByIdxFase</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="@Anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxFase" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -939,7 +1028,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
<xs:element name="Ds_ProjEts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Ds_ProjEts" msprop:Generator_UserDSName="Ds_ProjEts">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent" msprop:Generator_RowClassName="AnagProgettiRow">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_RowClassName="AnagProgettiRow" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
@@ -982,7 +1071,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1032,7 +1121,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent" msprop:Generator_RowClassName="DatiCommessaRow">
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_RowClassName="DatiCommessaRow" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1121,7 +1210,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_RowClassName="DatiCommFornRow" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent">
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent" msprop:Generator_RowClassName="DatiCommFornRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCF" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCF" msprop:Generator_ColumnPropNameInRow="idxDCF" msprop:Generator_ColumnPropNameInTable="idxDCFColumn" msprop:Generator_UserColumnName="idxDCF" type="xs:int" />
@@ -1165,7 +1254,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_RowClassName="DatiCommIntegRow" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent">
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent" msprop:Generator_RowClassName="DatiCommIntegRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCI" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCI" msprop:Generator_ColumnPropNameInRow="idxDCI" msprop:Generator_ColumnPropNameInTable="idxDCIColumn" msprop:Generator_UserColumnName="idxDCI" type="xs:int" />
@@ -1210,7 +1299,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_RowClassName="AnagCommFasiRow" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent">
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent" msprop:Generator_RowClassName="AnagCommFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" minOccurs="0" />
@@ -1290,7 +1379,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent" msprop:Generator_RowClassName="ElencoFasiExplRow">
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_RowClassName="ElencoFasiExplRow" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1338,7 +1427,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_RowClassName="BdgtRisorseFasiRow" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent">
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent" msprop:Generator_RowClassName="BdgtRisorseFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1355,7 +1444,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_RowClassName="AnagTipoRisorseRow" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent">
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent" msprop:Generator_RowClassName="AnagTipoRisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTipoRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodTipoRisorsa" msprop:Generator_ColumnPropNameInRow="CodTipoRisorsa" msprop:Generator_ColumnPropNameInTable="CodTipoRisorsaColumn" msprop:Generator_UserColumnName="CodTipoRisorsa">
@@ -1376,6 +1465,25 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BazaarRisorse" msprop:Generator_TableClassName="BazaarRisorseDataTable" msprop:Generator_TableVarName="tableBazaarRisorse" msprop:Generator_TablePropName="BazaarRisorse" msprop:Generator_RowDeletingName="BazaarRisorseRowDeleting" msprop:Generator_RowChangingName="BazaarRisorseRowChanging" msprop:Generator_RowEvHandlerName="BazaarRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="BazaarRisorseRowDeleted" msprop:Generator_UserTableName="BazaarRisorse" msprop:Generator_RowChangedName="BazaarRisorseRowChanged" msprop:Generator_RowEvArgName="BazaarRisorseRowChangeEvent" msprop:Generator_RowClassName="BazaarRisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
<xs:element name="Sett" msprop:Generator_ColumnVarNameInTable="columnSett" msprop:Generator_ColumnPropNameInRow="Sett" msprop:Generator_ColumnPropNameInTable="SettColumn" msprop:Generator_UserColumnName="Sett" type="xs:int" />
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
<xs:element name="Allocazione" msprop:Generator_ColumnVarNameInTable="columnAllocazione" msprop:Generator_ColumnPropNameInRow="Allocazione" msprop:Generator_ColumnPropNameInTable="AllocazioneColumn" msprop:Generator_UserColumnName="Allocazione" type="xs:int" minOccurs="0" />
<xs:element name="SchemaWeek" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSchemaWeek" msprop:Generator_ColumnPropNameInRow="SchemaWeek" msprop:Generator_ColumnPropNameInTable="SchemaWeekColumn" msprop:Generator_UserColumnName="SchemaWeek" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OreTot" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnOreTot" msprop:Generator_ColumnPropNameInRow="OreTot" msprop:Generator_ColumnPropNameInTable="OreTotColumn" msprop:Generator_UserColumnName="OreTot" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -1415,15 +1523,22 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
<xs:selector xpath=".//mstns:AnagTipoRisorse" />
<xs:field xpath="mstns:CodTipoRisorsa" />
</xs:unique>
<xs:unique name="BazaarRisorse_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:BazaarRisorse" />
<xs:field xpath="mstns:Anno" />
<xs:field xpath="mstns:Sett" />
<xs:field xpath="mstns:idxDipendente" />
<xs:field xpath="mstns:idxFase" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" />
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" />
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+19 -18
View File
@@ -4,20 +4,21 @@
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="38" ViewPortY="42" 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="59" ViewPortY="42" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagProgetti" ZOrder="15" X="70" Y="54" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" />
<Shape ID="DesignTable:AnagFasi" ZOrder="8" X="495" Y="56" Height="533" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:DatiCommessa" ZOrder="6" X="876" Y="56" Height="533" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="463" />
<Shape ID="DesignTable:DatiCommForn" ZOrder="9" X="1185" Y="69" Height="229" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:DatiCommInteg" ZOrder="10" X="1189" Y="378" Height="248" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AnagCommFasi" ZOrder="7" X="489" Y="646" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoFasiExpl" ZOrder="3" X="851" Y="651" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="2" X="235" Y="679" Height="248" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoRisorse" ZOrder="1" X="69" Y="501" Height="153" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagProgetti" ZOrder="16" X="70" Y="54" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" />
<Shape ID="DesignTable:AnagFasi" ZOrder="10" X="495" Y="56" Height="533" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:DatiCommessa" ZOrder="8" X="876" Y="56" Height="533" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="463" />
<Shape ID="DesignTable:DatiCommForn" ZOrder="11" X="1185" Y="69" Height="229" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:DatiCommInteg" ZOrder="12" X="1189" Y="378" Height="248" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AnagCommFasi" ZOrder="9" X="489" Y="646" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoFasiExpl" ZOrder="5" X="851" Y="651" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="4" X="235" Y="679" Height="248" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoRisorse" ZOrder="3" X="69" Y="501" Height="153" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:BazaarRisorse" ZOrder="2" X="1178" Y="738" Height="229" Width="284" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="14" LineWidth="11">
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="15" LineWidth="11">
<RoutePoints>
<Point>
<X>370</X>
@@ -29,7 +30,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_AnagFasi" ZOrder="13" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_AnagFasi" ZOrder="14" LineWidth="11">
<RoutePoints>
<Point>
<X>876</X>
@@ -41,7 +42,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_DatiCommForn" ZOrder="12" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_DatiCommForn" ZOrder="13" LineWidth="11">
<RoutePoints>
<Point>
<X>1107</X>
@@ -53,18 +54,18 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_DatiCommInteg" ZOrder="11" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_DatiCommInteg" ZOrder="1" LineWidth="11">
<RoutePoints>
<Point>
<X>1107</X>
<Y>267</Y>
</Point>
<Point>
<X>1131</X>
<X>1151</X>
<Y>267</Y>
</Point>
<Point>
<X>1131</X>
<X>1151</X>
<Y>392</Y>
</Point>
<Point>
@@ -73,7 +74,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:AnagFasi_BdgtRisorseFasi" ZOrder="5" LineWidth="11">
<Connector ID="DesignRelation:AnagFasi_BdgtRisorseFasi" ZOrder="7" LineWidth="11">
<RoutePoints>
<Point>
<X>495</X>
@@ -89,7 +90,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="4" LineWidth="11">
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="6" LineWidth="11">
<RoutePoints>
<Point>
<X>172</X>
@@ -19,7 +19,55 @@
</div>
<div class="clearDiv">
<asp:Panel runat="server" ID="pnlAddNew" Visible="false" CssClass="divSx filtro_1 fontPiccolo ui-corner-all shadowBox">
elenco commesse...
<div class="divSx" style="padding: 3px;">
<asp:Label runat="server" ID="lblCerca" AssociatedControlID="txtCercaComm" AccessKey="c" Text="<u>C</u>erca" />
<asp:TextBox runat="server" ID="txtCercaComm" TextMode="Search" AutoPostBack="true" /><br />
<asp:GridView ID="grViewCommesse" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="value" DataSourceID="odsCommesse" PageSize="20">
<AlternatingRowStyle CssClass="alternatingRowStyle" />
<EditRowStyle CssClass="editRowStyle" />
<FooterStyle CssClass="footerRowStyle" />
<HeaderStyle CssClass="headerStyle" ForeColor="White" />
<PagerStyle CssClass="pagerStyle" ForeColor="White" />
<RowStyle CssClass="rowStyle" />
<SelectedRowStyle CssClass="selectedRowStyle" ForeColor="#333333" />
<SortedAscendingCellStyle CssClass="sortAscCell" />
<SortedAscendingHeaderStyle CssClass="sortAscHead" />
<SortedDescendingCellStyle CssClass="sortDescCell" />
<SortedDescendingHeaderStyle CssClass="sortDescHead" />
<EmptyDataTemplate>
<div style="background-color: #ACACAC;">
Nessun record trovato
</div>
</EmptyDataTemplate>
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" />
<asp:Label runat="server" Visible="false" ID="lblValue" Text='<%# Eval("value") %>' />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="btnSelAll" runat="server" Checked="false" ToolTip="Seleziona tutti" OnCheckedChanged="btnSelAll_Click" AutoPostBack="true" />
</HeaderTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="label" SortExpression="label">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# trimChar(Eval("label"), 50) %>' ToolTip='<%# Eval("label") %>' />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="odsCommesse" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getAttiveUnusedBySearchLike" TypeName="ETS_Data.DS_utilsProjEtsTableAdapters.v_selCommesseTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="ddlAnno" DefaultValue="0" Name="Anno" PropertyName="SelectedValue" Type="Int32" />
<asp:ControlParameter ControlID="ddlWeek" DefaultValue="0" Name="Sett" PropertyName="SelectedValue" Type="Int32" />
<asp:ControlParameter ControlID="txtCercaComm" DefaultValue="%" Name="ricerca" PropertyName="Text" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
con checkbox x selezione multipla
<br />
<asp:Button runat="server" ID="btnAddSelected" CssClass="btnNew" Text="Aggiungi selezionati" OnClick="btnAddSelected_Click" />
</div>
</asp:Panel>
<div class="divx"></div>
</div>
@@ -28,12 +76,7 @@
</p>
<p>
&nbsp;
</p>
<p>
parto con selettore anno + num settimna a(1-53?)
</p>
<p>
mostro SEMPRE un button &quot;+&quot; x aggiungere progetti (x tutti i dipendenti &quot;marcati&quot; da dip2ATR)
button &quot;+&quot; x aggiungere progetti (x tutti i dipendenti &quot;marcati&quot; da dip2ATR)
</p>
<p>
quando creo su &quot;+&quot; mostro un elenco progetti ATTIVI, potrebbe venire ordianto per
@@ -10,6 +10,15 @@ namespace PROJ_ETS.WebUserControls
{
public partial class mod_weekPlan : System.Web.UI.UserControl
{
/// <summary>
/// evento nuovi valori caricati
/// </summary>
public event EventHandler eh_newVal;
/// <summary>
/// caricamento pagina
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
@@ -40,5 +49,81 @@ namespace PROJ_ETS.WebUserControls
btnAddNew.CssClass = "btnNew";
}
}
/// <summary>
/// trimma una stringa per il num max di caratteri richiesti
/// </summary>
/// <param name="stringaIn"></param>
/// <returns></returns>
public string trimChar(object stringaIn, object maxChar)
{
string answ = "";
int maxNum = 0;
try
{
answ = stringaIn.ToString();
maxNum = Convert.ToInt32(maxChar);
}
catch
{ }
if (maxNum < answ.Length)
{
answ = answ.Substring(0, maxNum) + "...";
}
return answ;
}
/// <summary>
/// seleziona/deseleziona le righe indicate...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSelAll_Click(object sender, EventArgs e)
{
// seleziono tutti i valori visibili nel datagrid
CheckBox chkbox = ((CheckBox)sender);
bool isChecked = chkbox.Checked;
if (!isChecked)
{
chkbox.ToolTip = "Seleziona tutti";
}
else
{
chkbox.ToolTip = "Deseleziona tutti";
}
foreach (GridViewRow riga in grViewCommesse.Rows)
{
((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked;
}
}
/// <summary>
/// aggiunge commesse selezionata x tutti gli utenti codificati x bazaar
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAddSelected_Click(object sender, EventArgs e)
{
// prende valori selezionati e crea x tutti gli utenti record BazaarRisorse
int value = 0;
int year = Convert.ToInt32(ddlAnno.SelectedValue);
int week = Convert.ToInt32(ddlWeek.SelectedValue);
// sposto i files selezionati secondo i dati in sessione
foreach (GridViewRow riga in grViewCommesse.Rows)
{
if (((CheckBox)riga.FindControl("chkSelect")).Checked)
{
// devo salvare file con le info relative...
value = Convert.ToInt32(((Label)riga.FindControl("lblValue")).Text);
DataProxy_ProjEts.DP.taBaz.creaBulkByIdxFase(Convert.ToInt32(ddlAnno.SelectedValue), Convert.ToInt32(ddlWeek.SelectedValue), value);
}
}
// aggiorno gridView...
grViewCommesse.DataBind();
// segnalo che ci sono nuovi dati!
if (eh_newVal != null)
{
eh_newVal(this, new EventArgs());
}
}
}
}
@@ -65,5 +65,50 @@ namespace PROJ_ETS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlAddNew;
/// <summary>
/// lblCerca 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 lblCerca;
/// <summary>
/// txtCercaComm 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.TextBox txtCercaComm;
/// <summary>
/// grViewCommesse 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 grViewCommesse;
/// <summary>
/// odsCommesse 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 odsCommesse;
/// <summary>
/// btnAddSelected control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnAddSelected;
}
}
Binary file not shown.
Binary file not shown.