completata anagrafica commesse con ricerca
This commit is contained in:
Generated
+146
-12
@@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18046
|
||||
// Runtime Version:4.0.30319.18051
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@@ -2753,6 +2753,12 @@ namespace ETS_Data {
|
||||
|
||||
private global::System.Data.DataColumn columntotOre;
|
||||
|
||||
private global::System.Data.DataColumn columnAnnoCommessa;
|
||||
|
||||
private global::System.Data.DataColumn columnNumeroCommessa;
|
||||
|
||||
private global::System.Data.DataColumn columnnickComm;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public AnagCommFasiDataTable() {
|
||||
@@ -2922,6 +2928,30 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn AnnoCommessaColumn {
|
||||
get {
|
||||
return this.columnAnnoCommessa;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn NumeroCommessaColumn {
|
||||
get {
|
||||
return this.columnNumeroCommessa;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn nickCommColumn {
|
||||
get {
|
||||
return this.columnnickComm;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -2975,7 +3005,10 @@ namespace ETS_Data {
|
||||
decimal budgetMoney,
|
||||
string codClasse,
|
||||
string codExt,
|
||||
decimal totOre) {
|
||||
decimal totOre,
|
||||
int AnnoCommessa,
|
||||
int NumeroCommessa,
|
||||
string nickComm) {
|
||||
AnagCommFasiRow rowAnagCommFasiRow = ((AnagCommFasiRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
idxProgetto,
|
||||
@@ -2994,7 +3027,10 @@ namespace ETS_Data {
|
||||
budgetMoney,
|
||||
codClasse,
|
||||
codExt,
|
||||
totOre};
|
||||
totOre,
|
||||
AnnoCommessa,
|
||||
NumeroCommessa,
|
||||
nickComm};
|
||||
rowAnagCommFasiRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowAnagCommFasiRow);
|
||||
return rowAnagCommFasiRow;
|
||||
@@ -3041,6 +3077,9 @@ namespace ETS_Data {
|
||||
this.columncodClasse = base.Columns["codClasse"];
|
||||
this.columncodExt = base.Columns["codExt"];
|
||||
this.columntotOre = base.Columns["totOre"];
|
||||
this.columnAnnoCommessa = base.Columns["AnnoCommessa"];
|
||||
this.columnNumeroCommessa = base.Columns["NumeroCommessa"];
|
||||
this.columnnickComm = base.Columns["nickComm"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -3080,6 +3119,12 @@ namespace ETS_Data {
|
||||
base.Columns.Add(this.columncodExt);
|
||||
this.columntotOre = new global::System.Data.DataColumn("totOre", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columntotOre);
|
||||
this.columnAnnoCommessa = new global::System.Data.DataColumn("AnnoCommessa", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnAnnoCommessa);
|
||||
this.columnNumeroCommessa = new global::System.Data.DataColumn("NumeroCommessa", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNumeroCommessa);
|
||||
this.columnnickComm = new global::System.Data.DataColumn("nickComm", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnnickComm);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidxFase}, true));
|
||||
this.columnidxFase.AutoIncrement = true;
|
||||
@@ -3103,6 +3148,8 @@ namespace ETS_Data {
|
||||
this.columncodExt.ReadOnly = true;
|
||||
this.columncodExt.MaxLength = 50;
|
||||
this.columntotOre.ReadOnly = true;
|
||||
this.columnnickComm.ReadOnly = true;
|
||||
this.columnnickComm.MaxLength = 255;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -5280,6 +5327,54 @@ namespace ETS_Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int AnnoCommessa {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableAnagCommFasi.AnnoCommessaColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'AnnoCommessa\' in table \'AnagCommFasi\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagCommFasi.AnnoCommessaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public int NumeroCommessa {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableAnagCommFasi.NumeroCommessaColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'NumeroCommessa\' in table \'AnagCommFasi\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagCommFasi.NumeroCommessaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public string nickComm {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableAnagCommFasi.nickCommColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'nickComm\' in table \'AnagCommFasi\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagCommFasi.nickCommColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsidxProgettoNull() {
|
||||
@@ -5423,6 +5518,42 @@ namespace ETS_Data {
|
||||
public void SettotOreNull() {
|
||||
this[this.tableAnagCommFasi.totOreColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsAnnoCommessaNull() {
|
||||
return this.IsNull(this.tableAnagCommFasi.AnnoCommessaColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetAnnoCommessaNull() {
|
||||
this[this.tableAnagCommFasi.AnnoCommessaColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsNumeroCommessaNull() {
|
||||
return this.IsNull(this.tableAnagCommFasi.NumeroCommessaColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetNumeroCommessaNull() {
|
||||
this[this.tableAnagCommFasi.NumeroCommessaColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsnickCommNull() {
|
||||
return this.IsNull(this.tableAnagCommFasi.nickCommColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetnickCommNull() {
|
||||
this[this.tableAnagCommFasi.nickCommColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -8450,6 +8581,9 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("codClasse", "codClasse");
|
||||
tableMapping.ColumnMappings.Add("codExt", "codExt");
|
||||
tableMapping.ColumnMappings.Add("totOre", "totOre");
|
||||
tableMapping.ColumnMappings.Add("AnnoCommessa", "AnnoCommessa");
|
||||
tableMapping.ColumnMappings.Add("NumeroCommessa", "NumeroCommessa");
|
||||
tableMapping.ColumnMappings.Add("nickComm", "nickComm");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
@@ -8469,7 +8603,7 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
|
||||
this._commandCollection[0].CommandText = "dbo.stp_ACF_getByIdxProjStatus";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchText", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showCommArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showCommZeroH", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
@@ -8511,13 +8645,13 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
|
||||
[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.Fill, true)]
|
||||
public virtual int Fill(Ds_ProjEts.AnagCommFasiDataTable dataTable, global::System.Nullable<int> idxProgetto, global::System.Nullable<bool> showCommArch, global::System.Nullable<bool> showCommZeroH) {
|
||||
public virtual int Fill(Ds_ProjEts.AnagCommFasiDataTable dataTable, string searchText, global::System.Nullable<bool> showCommArch, global::System.Nullable<bool> showCommZeroH) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((idxProgetto.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
|
||||
if ((searchText == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchText));
|
||||
}
|
||||
if ((showCommArch.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(showCommArch.Value));
|
||||
@@ -8542,13 +8676,13 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
|
||||
[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, true)]
|
||||
public virtual Ds_ProjEts.AnagCommFasiDataTable GetData(global::System.Nullable<int> idxProgetto, global::System.Nullable<bool> showCommArch, global::System.Nullable<bool> showCommZeroH) {
|
||||
public virtual Ds_ProjEts.AnagCommFasiDataTable GetData(string searchText, global::System.Nullable<bool> showCommArch, global::System.Nullable<bool> showCommZeroH) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((idxProgetto.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
|
||||
if ((searchText == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(searchText));
|
||||
}
|
||||
if ((showCommArch.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(showCommArch.Value));
|
||||
|
||||
+14
-2
@@ -593,13 +593,13 @@
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AnagCommFasiTableAdapter" GeneratorDataComponentClassName="AnagCommFasiTableAdapter" Name="AnagCommFasi" UserDataComponentName="AnagCommFasiTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_ACF_getByIdxProjStatus" DbObjectType="StoredProcedure" 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">
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_ACF_getByIdxProjStatus" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ACF_getByIdxProjStatus</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="@idxProgetto" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@searchText" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@showCommArch" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@showCommZeroH" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
@@ -625,6 +625,9 @@
|
||||
<Mapping SourceColumn="codClasse" DataSetColumn="codClasse" />
|
||||
<Mapping SourceColumn="codExt" DataSetColumn="codExt" />
|
||||
<Mapping SourceColumn="totOre" DataSetColumn="totOre" />
|
||||
<Mapping SourceColumn="AnnoCommessa" DataSetColumn="AnnoCommessa" />
|
||||
<Mapping SourceColumn="NumeroCommessa" DataSetColumn="NumeroCommessa" />
|
||||
<Mapping SourceColumn="nickComm" DataSetColumn="nickComm" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_AF_deleteQuery" 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="GetDataBy" UserSourceName="deleteQuery">
|
||||
@@ -1023,6 +1026,15 @@
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="totOre" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columntotOre" msprop:Generator_ColumnPropNameInRow="totOre" msprop:Generator_ColumnPropNameInTable="totOreColumn" msprop:Generator_UserColumnName="totOre" type="xs:decimal" minOccurs="0" />
|
||||
<xs:element name="AnnoCommessa" msprop:Generator_ColumnVarNameInTable="columnAnnoCommessa" msprop:Generator_ColumnPropNameInRow="AnnoCommessa" msprop:Generator_ColumnPropNameInTable="AnnoCommessaColumn" msprop:Generator_UserColumnName="AnnoCommessa" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="NumeroCommessa" msprop:Generator_ColumnVarNameInTable="columnNumeroCommessa" msprop:Generator_ColumnPropNameInRow="NumeroCommessa" msprop:Generator_ColumnPropNameInTable="NumeroCommessaColumn" msprop:Generator_UserColumnName="NumeroCommessa" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="nickComm" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnnickComm" msprop:Generator_ColumnPropNameInRow="nickComm" msprop:Generator_ColumnPropNameInTable="nickCommColumn" msprop:Generator_UserColumnName="nickComm" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="255" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="Contenuto" runat="server">
|
||||
<div class="filtro_1 fontPiccolo ui-corner-all" style="white-space: nowrap; height: 38px; padding: 4px;">
|
||||
<div class="divSx filtro_2 ui-corner-all" style="padding: 3px; margin-right: 4px; height: 32px;">
|
||||
<uc1:mod_autocomplete ID="filtroCli" runat="server" minCharAutocomplete="2" contextKey="c" labelRicerca="[C]erca commessa" showKey="false" ServicePath="Services/WS_data.asmx/Commesse" />
|
||||
<asp:Label runat="server" ID="lblCerca" AssociatedControlID="txtCerca" Text="[C]erca" Font-Size="0.8em" AccessKey="c" />
|
||||
<asp:TextBox runat="server" id="txtCerca" AutoPostBack="true" OnTextChanged="txtCerca_TextChanged" />
|
||||
</div>
|
||||
<div class="divSx filtro_2 ui-corner-all" style="padding: 3px; margin-right: 4px; height: 32px;">
|
||||
<asp:CheckBox ID="chkShowChiusi" runat="server" Text="Mostra [A]rchiviati" OnCheckedChanged="chkShowChiusi_CheckedChanged"
|
||||
|
||||
@@ -17,6 +17,8 @@ namespace PROJ_ETS
|
||||
utils.obj.setSessionVal("idxProgetto_sel", 0);
|
||||
utils.obj.emptySessionVal("idxCli_sel");
|
||||
utils.obj.emptySessionVal("nomeCli_sel");
|
||||
utils.obj.emptySessionVal("valoreCercato");
|
||||
txtCerca.Text = "";
|
||||
showChiusi = false;
|
||||
}
|
||||
}
|
||||
@@ -68,5 +70,14 @@ namespace PROJ_ETS
|
||||
showVuoti = chkShowVuoti.Checked;
|
||||
mod_commesseFull1.doUpdate();
|
||||
}
|
||||
/// <summary>
|
||||
/// salvo ricerca
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void txtCerca_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
utils.obj.setSessionVal("valoreCercato", txtCerca.Text.Trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
-2
@@ -13,13 +13,22 @@ namespace PROJ_ETS {
|
||||
public partial class Commesse {
|
||||
|
||||
/// <summary>
|
||||
/// filtroCli control.
|
||||
/// lblCerca control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::PROJ_ETS.WebUserControls.mod_autocomplete filtroCli;
|
||||
protected global::System.Web.UI.WebControls.Label lblCerca;
|
||||
|
||||
/// <summary>
|
||||
/// txtCerca 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 txtCerca;
|
||||
|
||||
/// <summary>
|
||||
/// chkShowChiusi control.
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
<asp:Button ID="btnNewEmpty" runat="server" OnClick="btnNewEmpty_Click" Text="Nuova Commessa" CssClass="btnNew"
|
||||
ToolTip="Aggiungi una nuova commessa al progetto" Visible='<%# isWritable() && enableNewFromEmpty %>' Width="200px" />
|
||||
|
||||
<asp:Button ID="btnNewEmptyZero" runat="server" OnClick="btnNewEmptyZero_Click" Text="Nuova 0000-anno" CssClass="btnNew"
|
||||
ToolTip="Aggiungi una nuova commessa generica (0000-anno) al progetto" Visible='<%# isWritable() && enableNewFromEmpty && zeroIsAvailable %>' Width="200px" />
|
||||
<asp:Button ID="btnNewEmptyZero" runat="server" OnClick="btnNewEmptyZero_Click" Text="Nuova 0000-anno" CssClass="btnNew"
|
||||
ToolTip="Aggiungi una nuova commessa generica (0000-anno) al progetto" Visible='<%# isWritable() && enableNewFromEmpty && zeroIsAvailable %>' Width="200px" />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="false">
|
||||
@@ -114,7 +114,7 @@
|
||||
Width="6em" Visible='<%# Bind("enableTime") %>'>
|
||||
<asp:Label ID="lblRealTime" runat="server" Text='<%# Eval("totOre","{0:#,###.##}") %>' ToolTip="Ore Erogate" />
|
||||
/
|
||||
<asp:Label ID="lblbudgetTime" runat="server" Text='<%# Eval("budgetTime","{0:#,###.##}") %>' ToolTip="OreBudget" />
|
||||
<asp:Label ID="lblbudgetTime" runat="server" Text='<%# Eval("budgetTime","{0:#,###.##}") %>' ToolTip="OreBudget" />
|
||||
</div>
|
||||
</asp:Panel>
|
||||
</ItemTemplate>
|
||||
@@ -136,8 +136,8 @@
|
||||
<asp:ImageButton ID="imgAddNew" runat="server" CausesValidation="False" CommandName="Select" ImageUrl="../images/newBlu_m.png"
|
||||
CommandArgument='<%# Eval("idxFase") %>' OnClick="btnNew_Click" ToolTip="Aggiungi Fase a commessa" Visible='<%# isAncestor(Eval("idxFaseAncest")) %>' />
|
||||
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandArgument='<%# Eval("idxFase") %>' CommandName="Delete"
|
||||
ImageUrl="../images/elimina_m.png" ToolTip="Delete" Visible='<%# delEnabled(Eval("idxFase")) %>' OnClientClick="return confirm('Confermi eliminazione record?')" />
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandArgument='<%# Eval("idxFase") %>' CommandName="Delete"
|
||||
ImageUrl="../images/elimina_m.png" ToolTip="Delete" Visible='<%# delEnabled(Eval("idxFase")) %>' OnClientClick="return confirm('Confermi eliminazione record?')" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
@@ -155,27 +155,12 @@
|
||||
<SortedDescendingHeaderStyle BackColor="#15524A"></SortedDescendingHeaderStyle>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OnInserting="recuperaFooter" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="GetData" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.AnagCommFasiTableAdapter" FilterExpression=" (nomeFase like '%{0}%') OR (descrizioneFase like '%{0}%') "
|
||||
DeleteMethod="deleteQuery" InsertMethod="InsertQuery" UpdateMethod="updateQuery" OnUpdating="ods_Updating">
|
||||
SelectMethod="GetData" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.AnagCommFasiTableAdapter" DeleteMethod="deleteQuery" UpdateMethod="updateQuery" OnUpdating="ods_Updating">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_idxFase" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter SessionField="valoreCercato" Type="String" />
|
||||
</FilterParameters>
|
||||
<InsertParameters>
|
||||
<asp:SessionParameter SessionField="idxProgetto_sel" Name="idxProgetto" Type="Int32" />
|
||||
<asp:SessionParameter SessionField="idxFaseAncest" Name="idxFaseAncest" Type="Int32" />
|
||||
<asp:Parameter Name="nomeFase" Type="String" />
|
||||
<asp:Parameter Name="descrizioneFase" Type="String" />
|
||||
<asp:Parameter Name="enableTime" Type="Boolean" />
|
||||
<asp:Parameter Name="enableMoney" Type="Boolean" />
|
||||
<asp:Parameter Name="budgetTime" Type="Decimal" />
|
||||
<asp:Parameter Name="budgetMoney" Type="Decimal" />
|
||||
<asp:Parameter Name="Attivo" Type="Boolean" DefaultValue="true" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter SessionField="idxProgetto_sel" Name="idxProgetto" Type="Int32" />
|
||||
<asp:SessionParameter SessionField="valoreCercato" Type="String" Name="searchText" DefaultValue="%" />
|
||||
<asp:SessionParameter DefaultValue="False" Name="showCommArch" SessionField="showCommArch" Type="Boolean" />
|
||||
<asp:SessionParameter DefaultValue="True" Name="showCommZeroH" SessionField="showCommZeroH" Type="Boolean" />
|
||||
</SelectParameters>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user