inserita visualizzazione bozza filtraggio interventi x condominio
This commit is contained in:
Generated
+75
-10
@@ -3260,6 +3260,8 @@ namespace Data {
|
||||
|
||||
private global::System.Data.DataColumn columnidxRichiesta;
|
||||
|
||||
private global::System.Data.DataColumn columnidxStato;
|
||||
|
||||
private global::System.Data.DataColumn columnidxCond;
|
||||
|
||||
private global::System.Data.DataColumn columnidxFornitore;
|
||||
@@ -3349,6 +3351,14 @@ namespace Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn idxStatoColumn {
|
||||
get {
|
||||
return this.columnidxStato;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn idxCondColumn {
|
||||
@@ -3579,6 +3589,7 @@ namespace Data {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public ElencolRichRow AddElencolRichRow(
|
||||
int idxStato,
|
||||
int idxCond,
|
||||
int idxFornitore,
|
||||
string cod_fornitore,
|
||||
@@ -3606,6 +3617,7 @@ namespace Data {
|
||||
ElencolRichRow rowElencolRichRow = ((ElencolRichRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
idxStato,
|
||||
idxCond,
|
||||
idxFornitore,
|
||||
cod_fornitore,
|
||||
@@ -3660,6 +3672,7 @@ namespace Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columnidxRichiesta = base.Columns["idxRichiesta"];
|
||||
this.columnidxStato = base.Columns["idxStato"];
|
||||
this.columnidxCond = base.Columns["idxCond"];
|
||||
this.columnidxFornitore = base.Columns["idxFornitore"];
|
||||
this.columncod_fornitore = base.Columns["cod_fornitore"];
|
||||
@@ -3691,6 +3704,8 @@ namespace Data {
|
||||
private void InitClass() {
|
||||
this.columnidxRichiesta = new global::System.Data.DataColumn("idxRichiesta", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnidxRichiesta);
|
||||
this.columnidxStato = new global::System.Data.DataColumn("idxStato", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnidxStato);
|
||||
this.columnidxCond = new global::System.Data.DataColumn("idxCond", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnidxCond);
|
||||
this.columnidxFornitore = new global::System.Data.DataColumn("idxFornitore", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
@@ -3747,6 +3762,7 @@ namespace Data {
|
||||
this.columnidxRichiesta.AllowDBNull = false;
|
||||
this.columnidxRichiesta.ReadOnly = true;
|
||||
this.columnidxRichiesta.Unique = true;
|
||||
this.columnidxStato.AllowDBNull = false;
|
||||
this.columnidxCond.AllowDBNull = false;
|
||||
this.columnidxFornitore.AllowDBNull = false;
|
||||
this.columncod_fornitore.MaxLength = 11;
|
||||
@@ -5559,6 +5575,17 @@ namespace Data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int idxStato {
|
||||
get {
|
||||
return ((int)(this[this.tableElencolRich.idxStatoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableElencolRich.idxStatoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int idxCond {
|
||||
@@ -8769,6 +8796,7 @@ SELECT idxFornitore, idxArea, Attivazione FROM AssF2A WHERE (idxArea = @idxArea)
|
||||
tableMapping.SourceTable = "Table";
|
||||
tableMapping.DataSetTable = "ElencolRich";
|
||||
tableMapping.ColumnMappings.Add("idxRichiesta", "idxRichiesta");
|
||||
tableMapping.ColumnMappings.Add("idxStato", "idxStato");
|
||||
tableMapping.ColumnMappings.Add("idxCond", "idxCond");
|
||||
tableMapping.ColumnMappings.Add("idxFornitore", "idxFornitore");
|
||||
tableMapping.ColumnMappings.Add("cod_fornitore", "cod_fornitore");
|
||||
@@ -8806,25 +8834,33 @@ SELECT idxFornitore, idxArea, Attivazione FROM AssF2A WHERE (idxArea = @idxArea)
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT idxRichiesta, idxCond, idxFornitore, cod_fornitore, cod_cond, nom_cond, dataRich, codCollabRich, genContatto, telContatto, messaggio, note, iscritta, ricevuto, data_ricevuto, risolto, data_risolto, fattura, data_fattura, preventivo,
|
||||
this._commandCollection[0].CommandText = @"SELECT idxRichiesta, idxStato, idxCond, idxFornitore, cod_fornitore, cod_cond, nom_cond, dataRich, codCollabRich, genContatto, telContatto, messaggio, note, iscritta, ricevuto, data_ricevuto, risolto, data_risolto, fattura, data_fattura, preventivo,
|
||||
data_inizio_preventivo, data_fine_preventivo, primo_controllo, secondo_controllo, controllo_temporale
|
||||
FROM v_ElencolRich";
|
||||
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_ER_InsertQuery";
|
||||
this._commandCollection[1].CommandText = "dbo.stp_ER_getByCond";
|
||||
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("@idxCond", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFornitore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataRich", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codCollabRich", 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("@genContatto", 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("@telContatto", 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("@messaggio", 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("@minStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = "dbo.stp_ER_InsertQuery";
|
||||
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("@idxCond", 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("@idxFornitore", 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("@dataRich", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codCollabRich", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@genContatto", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@telContatto", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@messaggio", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -8851,11 +8887,40 @@ FROM v_ElencolRich";
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_app.ElencolRichDataTable getByCondStato(global::System.Nullable<int> idxCond, global::System.Nullable<int> minStato, global::System.Nullable<int> maxStato) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
if ((idxCond.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxCond.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((minStato.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(minStato.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((maxStato.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(maxStato.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_app.ElencolRichDataTable dataTable = new DS_app.ElencolRichDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int InsertQuery(global::System.Nullable<int> idxCond, global::System.Nullable<int> idxFornitore, global::System.Nullable<global::System.DateTime> dataRich, string codCollabRich, string genContatto, string telContatto, string messaggio) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
||||
if ((idxCond.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(idxCond.Value));
|
||||
}
|
||||
|
||||
+16
-1
@@ -450,7 +450,7 @@ FROM v_AssF2C</CommandText>
|
||||
<DbSource ConnectionRef="B2BCondConnectionString (Settings)" DbObjectName="B2BCond.dbo.v_ElencolRich" DbObjectType="View" 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="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT idxRichiesta, idxCond, idxFornitore, cod_fornitore, cod_cond, nom_cond, dataRich, codCollabRich, genContatto, telContatto, messaggio, note, iscritta, ricevuto, data_ricevuto, risolto, data_risolto, fattura, data_fattura, preventivo,
|
||||
<CommandText>SELECT idxRichiesta, idxStato, idxCond, idxFornitore, cod_fornitore, cod_cond, nom_cond, dataRich, codCollabRich, genContatto, telContatto, messaggio, note, iscritta, ricevuto, data_ricevuto, risolto, data_risolto, fattura, data_fattura, preventivo,
|
||||
data_inizio_preventivo, data_fine_preventivo, primo_controllo, secondo_controllo, controllo_temporale
|
||||
FROM v_ElencolRich</CommandText>
|
||||
<Parameters />
|
||||
@@ -460,6 +460,7 @@ FROM v_ElencolRich</CommandText>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="idxRichiesta" DataSetColumn="idxRichiesta" />
|
||||
<Mapping SourceColumn="idxStato" DataSetColumn="idxStato" />
|
||||
<Mapping SourceColumn="idxCond" DataSetColumn="idxCond" />
|
||||
<Mapping SourceColumn="idxFornitore" DataSetColumn="idxFornitore" />
|
||||
<Mapping SourceColumn="cod_fornitore" DataSetColumn="cod_fornitore" />
|
||||
@@ -486,6 +487,19 @@ FROM v_ElencolRich</CommandText>
|
||||
<Mapping SourceColumn="controllo_temporale" DataSetColumn="controllo_temporale" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="B2BCondConnectionString (Settings)" DbObjectName="B2BCond.dbo.stp_ER_getByCond" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCondStato" GetMethodModifier="Public" GetMethodName="getByCondStato" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCondStato" UserSourceName="getByCondStato">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ER_getByCond</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="@idxCond" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@minStato" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxStato" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="B2BCondConnectionString (Settings)" DbObjectName="B2BCond.dbo.stp_ER_InsertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="InsertQuery" Modifier="Public" Name="InsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="InsertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -846,6 +860,7 @@ SELECT idxStato, stato, descrizione FROM AnagStati WHERE (idxStato = @idxStato)<
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxRichiesta" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxRichiesta" msprop:Generator_ColumnPropNameInRow="idxRichiesta" msprop:Generator_ColumnPropNameInTable="idxRichiestaColumn" msprop:Generator_UserColumnName="idxRichiesta" type="xs:int" />
|
||||
<xs:element name="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" msprop:Generator_UserColumnName="idxStato" type="xs:int" />
|
||||
<xs:element name="idxCond" msprop:Generator_ColumnVarNameInTable="columnidxCond" msprop:Generator_ColumnPropNameInRow="idxCond" msprop:Generator_ColumnPropNameInTable="idxCondColumn" msprop:Generator_UserColumnName="idxCond" type="xs:int" />
|
||||
<xs:element name="idxFornitore" msprop:Generator_ColumnVarNameInTable="columnidxFornitore" msprop:Generator_ColumnPropNameInRow="idxFornitore" msprop:Generator_ColumnPropNameInTable="idxFornitoreColumn" msprop:Generator_UserColumnName="idxFornitore" type="xs:int" />
|
||||
<xs:element name="cod_fornitore" msprop:Generator_ColumnVarNameInTable="columncod_fornitore" msprop:Generator_ColumnPropNameInRow="cod_fornitore" msprop:Generator_ColumnPropNameInTable="cod_fornitoreColumn" msprop:Generator_UserColumnName="cod_fornitore" minOccurs="0">
|
||||
|
||||
@@ -69,27 +69,68 @@
|
||||
</div>
|
||||
<div id="divElenco" runat="server">
|
||||
<h5 class="card-title">Elenco Richieste Aperte Amministratore</h5>
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<asp:ObjectDataSource runat="server" ID="odsStatoRich" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="Data.DS_appTableAdapters.AnagStatiTableAdapter"></asp:ObjectDataSource>
|
||||
<div class="col-2">Da</div>
|
||||
<div class="col-4">
|
||||
<asp:DropDownList runat="server" ID="ddlStatoMin" DataSourceID="odsStatoRich" DataTextField="stato" DataValueField="idxStato" CssClass="form-control"></asp:DropDownList>
|
||||
<asp:DropDownList runat="server" ID="ddlStatoMin" DataSourceID="odsStatoRich" DataTextField="stato" DataValueField="idxStato" CssClass="form-control" AutoPostBack="True"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-2">A</div>
|
||||
<div class="col-2">A</div>
|
||||
<div class="col-4">
|
||||
<asp:DropDownList runat="server" ID="ddlStatoMax" DataSourceID="odsStatoRich" DataTextField="stato" DataValueField="idxStato" CssClass="form-control"></asp:DropDownList>
|
||||
<asp:DropDownList runat="server" ID="ddlStatoMax" DataSourceID="odsStatoRich" DataTextField="stato" DataValueField="idxStato" CssClass="form-control" AutoPostBack="True"></asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<asp:GridView runat="server" ID="grViewElRich" AutoGenerateColumns="False" DataKeyNames="idxRichiesta" DataSourceID="odsElRich" AllowPaging="true" PageSize="10">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="idxStato" HeaderText="idxStato" SortExpression="idxStato" />
|
||||
<asp:BoundField DataField="messaggio" HeaderText="messaggio" SortExpression="messaggio" />
|
||||
<asp:BoundField DataField="idxRichiesta" HeaderText="idxRichiesta" InsertVisible="False" ReadOnly="True" SortExpression="idxRichiesta" />
|
||||
<asp:BoundField DataField="idxCond" HeaderText="idxCond" SortExpression="idxCond" />
|
||||
<asp:BoundField DataField="idxFornitore" HeaderText="idxFornitore" SortExpression="idxFornitore" />
|
||||
<asp:BoundField DataField="cod_fornitore" HeaderText="cod_fornitore" SortExpression="cod_fornitore" />
|
||||
<asp:BoundField DataField="cod_cond" HeaderText="cod_cond" SortExpression="cod_cond" />
|
||||
<asp:BoundField DataField="nom_cond" HeaderText="nom_cond" SortExpression="nom_cond" />
|
||||
<asp:BoundField DataField="dataRich" HeaderText="dataRich" SortExpression="dataRich" />
|
||||
<asp:BoundField DataField="codCollabRich" HeaderText="codCollabRich" SortExpression="codCollabRich" />
|
||||
<asp:BoundField DataField="genContatto" HeaderText="genContatto" SortExpression="genContatto" />
|
||||
<asp:BoundField DataField="telContatto" HeaderText="telContatto" SortExpression="telContatto" />
|
||||
<%--<asp:BoundField DataField="note" HeaderText="note" SortExpression="note" />
|
||||
<asp:BoundField DataField="iscritta" HeaderText="iscritta" SortExpression="iscritta" />
|
||||
<asp:CheckBoxField DataField="ricevuto" HeaderText="ricevuto" SortExpression="ricevuto" />
|
||||
<asp:BoundField DataField="data_ricevuto" HeaderText="data_ricevuto" SortExpression="data_ricevuto" />
|
||||
<asp:CheckBoxField DataField="risolto" HeaderText="risolto" SortExpression="risolto" />
|
||||
<asp:BoundField DataField="data_risolto" HeaderText="data_risolto" SortExpression="data_risolto" />
|
||||
<asp:CheckBoxField DataField="fattura" HeaderText="fattura" SortExpression="fattura" />
|
||||
<asp:BoundField DataField="data_fattura" HeaderText="data_fattura" SortExpression="data_fattura" />
|
||||
<asp:CheckBoxField DataField="preventivo" HeaderText="preventivo" SortExpression="preventivo" />
|
||||
<asp:BoundField DataField="data_inizio_preventivo" HeaderText="data_inizio_preventivo" SortExpression="data_inizio_preventivo" />
|
||||
<asp:BoundField DataField="data_fine_preventivo" HeaderText="data_fine_preventivo" SortExpression="data_fine_preventivo" />
|
||||
<asp:CheckBoxField DataField="primo_controllo" HeaderText="primo_controllo" SortExpression="primo_controllo" />
|
||||
<asp:CheckBoxField DataField="secondo_controllo" HeaderText="secondo_controllo" SortExpression="secondo_controllo" />
|
||||
<asp:CheckBoxField DataField="controllo_temporale" HeaderText="controllo_temporale" SortExpression="controllo_temporale" />--%>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="odsElRich" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCondStato" TypeName="Data.DS_appTableAdapters.ElencolRichTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlCondominio" DefaultValue="0" Name="idxCond" PropertyName="SelectedValue" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="ddlStatoMin" DefaultValue="0" Name="minStato" PropertyName="SelectedValue" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="ddlStatoMax" DefaultValue="200" Name="maxStato" PropertyName="SelectedValue" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<ul>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
</ul>
|
||||
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
|
||||
<a href="#" class="btn btn-success">Gestione Richieste</a>
|
||||
</div>
|
||||
</div>
|
||||
<ul>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
</ul>
|
||||
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
|
||||
<a href="#" class="btn btn-success">Gestione Richieste</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -173,5 +173,23 @@ namespace PUB.WebUserContols {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlStatoMax;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grViewElRich.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grViewElRich;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsElRich.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsElRich;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user