prima versione che mostra elenco progetti...

This commit is contained in:
Samuele Locatelli
2013-05-10 14:07:01 +02:00
parent 2224854ceb
commit a4cff3736b
17 changed files with 988 additions and 12 deletions
+194
View File
@@ -0,0 +1,194 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ETS_Data
{
/// <summary>
/// classe proxy dati x PROJ-ETS
/// </summary>
public class DataProxy_ProjEts
{
#region area table adapters
#if false
public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
public DS_ApplicazioneTableAdapters.TimbratureTableAdapter taTimb;
public DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter taTimbExpl;
public DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter taAnagDev;
public DS_ApplicazioneTableAdapters.DipendentiTableAdapter taDipendenti;
public DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter taDip2Ruoli;
#endif
public Ds_ProjEtsTableAdapters.AnagProgettiTableAdapter taAP;
#if false
public DS_ApplicazioneTableAdapters.AnagFasiTableAdapter taAF;
public DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter taLCU;
public DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter taRA;
public DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter taRAExpl;
public DS_ApplicazioneTableAdapters.AnagOrariTableAdapter taAO;
public DS_ApplicazioneTableAdapters.GiustificativiTableAdapter taGiust;
public DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter taDipAnom;
public DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter taTimbRegAtt;
public DS_UtilityTableAdapters.nextValContatoreTableAdapter taNextVal;
public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV;
public DS_exportTableAdapters.TimbratureZucchettiTableAdapter taExpZucc;
public DS_exportTableAdapters.RegAtt_pivotTableAdapter taExpComm;
#endif
/// <summary>
/// init dei table adapters
/// </summary>
protected void initTA()
{
#if false
taAnCli = new DS_ApplicazioneTableAdapters.AnagClientiTableAdapter();
taTimb = new DS_ApplicazioneTableAdapters.TimbratureTableAdapter();
taTimbExpl = new DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter();
taAnagDev = new DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter();
taDipendenti = new DS_ApplicazioneTableAdapters.DipendentiTableAdapter();
taDip2Ruoli = new DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter();
#endif
taAP = new Ds_ProjEtsTableAdapters.AnagProgettiTableAdapter();
#if false
taAF = new DS_ApplicazioneTableAdapters.AnagFasiTableAdapter();
taLCU = new DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter();
taRA = new DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter();
taRAExpl = new DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter();
taAO = new DS_ApplicazioneTableAdapters.AnagOrariTableAdapter();
taGiust = new DS_ApplicazioneTableAdapters.GiustificativiTableAdapter();
taDipAnom = new DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter();
taTimbRegAtt = new DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter();
taNextVal = new DS_UtilityTableAdapters.nextValContatoreTableAdapter();
taAKV = new DS_UtilityTableAdapters.AnagKeyValueTableAdapter();
taExpZucc = new DS_exportTableAdapters.TimbratureZucchettiTableAdapter();
taExpComm = new DS_exportTableAdapters.RegAtt_pivotTableAdapter();
#endif
}
/// <summary>
/// effettua setup dei connection strings da web.config delal singola applicazione
/// </summary>
protected virtual void setupConnectionStringBase()
{
// connections del db
#if false
taAnCli.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taTimb.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taTimbExpl.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taAnagDev.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taDipendenti.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taDip2Ruoli.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
#endif
taAP.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
#if false
taAF.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taLCU.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taRA.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taRAExpl.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taAO.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taGiust.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taDipAnom.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taTimbRegAtt.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taNextVal.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taAKV.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taExpZucc.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
taExpComm.Connection.ConnectionString = utils.obj.confReadString("GPWConnectionString");
#endif
}
#endregion
protected DataProxy_ProjEts()
{
initTA();
setupConnectionStringBase();
}
/// <summary>
/// Singleton accesso a DataProxy
/// </summary>
public static DataProxy_ProjEts DP = new DataProxy_ProjEts();
#region utility public esposte
/// <summary>
/// invia una mail al destinatario x linkare nuovi devices tramite URL
/// </summary>
/// <param name="destinatario"></param>
/// <param name="UserAuthKey"></param>
/// <param name="idxDipendente"></param>
/// <returns></returns>
public bool sendUserAuthEmail(string destinatario, string UserAuthKey, int idxDipendente)
{
bool fatto = false;
string smtpCli = "";
string mittente = "";
string oggetto = "";
string userUrl = "";
string baseUrl = "";
string userWebUrl = "";
string baseWebUrl = "";
string corpo = "";
try
{
// compongo la stringa
smtpCli = utils.obj.confReadString("_smtpCli");
mittente = utils.obj.confReadString("_fromEmail");
oggetto = "Link autorizzazione device per GPW";
baseUrl = utils.obj.confReadString("baseUrl");
baseWebUrl = utils.obj.confReadString("baseWebUrl");
userUrl = string.Format("{2}jumper.aspx?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseUrl);
userWebUrl = string.Format("{2}jumper.aspx?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseWebUrl);
corpo = string.Format("Hai ricevuto questa email su richiesta tua o dell'Admin per poter procedere a registrare un (nuovo) devices con GPW:{0}<br/>Per proseguire clicca sul link seguente(rete interna):<br />{0}{0}{1}{0}{0}<br /><br />oppure sul link seguente (internet):<br />{0}{0}{2}{0}{0}<br /><br />Team GPW Steamware", Environment.NewLine, userUrl, userWebUrl);
#if false
gestEmail.ge.mandaEmail(mittente, destinatario, oggetto, corpo);
fatto = true;
#endif
}
catch
{ }
return fatto;
}
/// <summary>
/// idxDipendente in sessione
/// </summary>
public static int idxDipendente
{
get
{
int idx = 0;
try
{
idx = utils.obj.IntSessionObj("IdxDipendente");
}
catch
{ }
return idx;
}
set
{
utils.obj.setSessionVal("idxDipendente", value);
}
}
public string CognomeNomeByIdx(int idxDip)
{
string answ = "";
#if false
try
{
DS_Applicazione.DipendentiRow rigaDip = taDipendenti.getByIdx(idxDip)[0];
answ = string.Format("{0} {1}", rigaDip.Cognome, rigaDip.Nome);
}
catch
{ }
#endif
return answ;
}
#endregion
}
}
+54 -1
View File
@@ -1099,7 +1099,7 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
[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[1];
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 = "dbo.stp_AP_Expl_getData";
@@ -1111,6 +1111,19 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", 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("@showPrjArch", 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("@showPrjZeroH", 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();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_AP_getByIdxCli";
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("@idxCliente", 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("@showPrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_AP_getByIdxPrj";
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("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1209,6 +1222,46 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters {
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_ProjEts.AnagProgettiDataTable geByIdxCli(global::System.Nullable<int> idxCliente, global::System.Nullable<bool> showPrjArch) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((idxCliente.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxCliente.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
if ((showPrjArch.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[2].Value = ((bool)(showPrjArch.Value));
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
Ds_ProjEts.AnagProgettiDataTable dataTable = new Ds_ProjEts.AnagProgettiDataTable();
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_ProjEts.AnagProgettiDataTable getByIdxPrj(global::System.Nullable<int> idxProgetto) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((idxProgetto.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
Ds_ProjEts.AnagProgettiDataTable dataTable = new Ds_ProjEts.AnagProgettiDataTable();
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")]
+26 -2
View File
@@ -70,7 +70,31 @@
<Mapping SourceColumn="chiusura" DataSetColumn="chiusura" />
<Mapping SourceColumn="RagSociale" DataSetColumn="RagSociale" />
</Mappings>
<Sources />
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="[ETS-PROJ].dbo.stp_AP_getByIdxCli" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="geByIdxCli" GetMethodModifier="Public" GetMethodName="geByIdxCli" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="geByIdxCli" UserSourceName="geByIdxCli">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AP_getByIdxCli</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="@idxCliente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@showPrjArch" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="[ETS-PROJ].dbo.stp_AP_getByIdxPrj" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxPrj" GetMethodModifier="Public" GetMethodName="getByIdxPrj" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxPrj" UserSourceName="getByIdxPrj">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AP_getByIdxPrj</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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
@@ -80,7 +104,7 @@
<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" />
+12 -1
View File
@@ -1 +1,12 @@

<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
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="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagProgetti" ZOrder="1" X="70" Y="70" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
</Shapes>
<Connectors />
</DiagramLayout>
+1
View File
@@ -81,6 +81,7 @@
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="DataProxy_ProjEts.cs" />
<Compile Include="DS_Anagrafica.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
Binary file not shown.
Binary file not shown.
+7
View File
@@ -509,6 +509,13 @@ namespace ETS_Data
return answ;
}
public static int pageSize
{
get
{
return obj.confReadInt("pageSize");
}
}
#endregion
}
/// <summary>
@@ -319,6 +319,14 @@ namespace PROJ_ETS.WebUserControls
utils.obj.setSessionVal("rltUpdatePeriodo", value);
}
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public bool isWritable()
{
return true;
}
#region gestione eventi
@@ -5,17 +5,174 @@
<uc1:mod_periodoanalisi ID="mod_periodoAnalisi1" runat="server" realtimeUpdate="true" />
</div>
<div class="divSx">
<%--<asp:CheckBox ID="chkShowChiusi" runat="server" Text="Mostra Archiviati" OnCheckedChanged="chkShowChiusi_CheckedChanged"
AutoPostBack="True" />--%>
<asp:CheckBox ID="chkShowChiusi" runat="server" Text="Mostra Archiviati" OnCheckedChanged="chkShowChiusi_CheckedChanged"
AutoPostBack="True" />
</div>
<div class="divSx">
<%--<uc1:mod_filtro ID="filtroCli" runat="server" filterChekText="filtroCliente" comboWidth="180" />--%>
</div>
<%--<div class="divSx">
<uc1:mod_filtro ID="filtroDip" runat="server" filterChekText="filtroDipendenti" comboWidth="180" />
</div>--%>
<div class="divSx">
<%--<asp:CheckBox ID="chkShowVuoti" runat="server" Text="Mostra Vuoti" AutoPostBack="True"
oncheckedchanged="chkShowVuoti_CheckedChanged" Checked="true" />--%>
<asp:CheckBox ID="chkShowVuoti" runat="server" Text="Mostra Vuoti" AutoPostBack="True"
oncheckedchanged="chkShowVuoti_CheckedChanged" Checked="true" />
</div>
</div>
<div class="divSx" style="min-width: 600px;">
<div class="fontPiccolo">
<asp:GridView ID="grView" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4"
DataKeyNames="idxProgetto" DataSourceID="ods" ForeColor="#333333" GridLines="None" OnDataBound="grView_DataBound" OnSelectedIndexChanged="grView_SelectedIndexChanged"
OnRowUpdating="grView_RowUpdating">
<AlternatingRowStyle CssClass="alternatingRowStyle" />
<EditRowStyle CssClass="editRowStyle" />
<FooterStyle CssClass="footerStyle" ForeColor="White" />
<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" />
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="false" ItemStyle-Width="72px" ItemStyle-VerticalAlign="Middle"
ItemStyle-Height="26px">
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Seleziona"
ImageUrl="../images/view_m.png" />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Modifica"
ImageUrl="../images/edit_m.png" Visible='<%# isWritable() %>' />
<asp:ImageButton ID="imgDettFasi" runat="server" CausesValidation="False" CommandArgument="dettFasi" CommandName="Update"
ToolTip="Vai a dettaglio fasi" ImageUrl="../images/naviga_m.png" OnClick="imgDettFasi_Click" />
</ItemTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update" ToolTip="Update"
ImageUrl="../images/apply_s.png" />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel"
ImageUrl="../images/cancel_s.png" />
</EditItemTemplate>
<FooterTemplate>
<asp:ImageButton ID="imgInsert" runat="server" CausesValidation="False" CommandName="Insert" ToolTip="Inserisci"
ImageUrl="../images/new_s.png" OnClick="lblIns_click" />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel"
ImageUrl="../images/cancel_s.png" />
</FooterTemplate>
<HeaderTemplate>
<asp:ImageButton ID="imgBtnReset" runat="server" ToolTip="Reset" CausesValidation="False" OnClick="btnReset_Click"
ImageUrl="../images/reload_l.png" Visible="true" />
</HeaderTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" HeaderText="RagSociale" SortExpression="RagSociale"
ItemStyle-Wrap="false">
<ItemTemplate>
<b>
<asp:Label ID="lblRagSociale" runat="server" Text='<%# Eval("RagSociale") %>' /></b>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList runat="server" ID="dlidxCliente" SelectedValue='<%# Bind("idxCliente") %>' DataSourceID="odsClienti" DataTextField="label"
DataValueField="value" />
</EditItemTemplate>
<FooterTemplate>
<asp:DropDownList runat="server" ID="dlidxCliente" SelectedValue='<%# Bind("idxCliente") %>' DataSourceID="odsClienti" DataTextField="label"
DataValueField="value" />
</FooterTemplate>
<HeaderStyle HorizontalAlign="Left"></HeaderStyle>
<ItemStyle HorizontalAlign="Left" Wrap="False"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" HeaderText="nomeProj" SortExpression="nomeProj"
ItemStyle-Width="500px">
<ItemTemplate>
<div class="fontNormale">
<asp:Label ID="lblnomeProj" runat="server" Text='<%# Eval("nomeProj") %>' Font-Strikeout='<%# invBool(Eval("Attivo")) %>' />
</div>
<div class="labelInput">
<asp:Label ID="lbldescrProj" runat="server" Text='<%# Eval("descrProj") %>' Font-Size="7pt" />
</div>
</ItemTemplate>
<EditItemTemplate>
<div class="fontNormale">
<asp:TextBox ID="txtnomeProj" runat="server" Text='<%# Bind("nomeProj") %>' Width="30em" />
</div>
<div class="labelInput">
<asp:TextBox ID="txtdescrProj" runat="server" Text='<%# Bind("descrProj") %>' Width="30em" TextMode="MultiLine" Height="8em" />
</div>
</EditItemTemplate>
<FooterTemplate>
<div class="fontNormale">
<asp:TextBox ID="txtnomeProj" runat="server" Text='<%# Bind("nomeProj") %>' Width="30em" />
</div>
<div class="labelInput">
<asp:TextBox ID="txtdescrProj" runat="server" Text='<%# Bind("descrProj") %>' Width="30em" TextMode="MultiLine" Height="8em" />
</div>
</FooterTemplate>
<HeaderStyle HorizontalAlign="Left"></HeaderStyle>
<ItemStyle HorizontalAlign="Left" Width="500px"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="false">
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandArgument='<%# Eval("idxProgetto") %>' CommandName="Delete"
ImageUrl="../images/elimina_s.png" ToolTip="Delete" Visible='<%# delEnabled(Eval("idxProgetto")) %>' />
<%-- <asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="imgDelete">
</asp:ConfirmButtonExtender>--%>
</ItemTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update" ImageUrl="../images/apply_s.png"
ToolTip="Update" />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel" ImageUrl="../images/cancel_s.png"
ToolTip=Cancel />
</EditItemTemplate>
<FooterTemplate>
<asp:ImageButton ID="imgInsert2" runat="server" CausesValidation="False" CommandName="Insert" ImageUrl="../images/new_s.png"
OnClick="lblIns_click" ToolTip=Inserisci />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel" ImageUrl="../images/cancel_s.png"
ToolTip=Cancel />
</FooterTemplate>
<HeaderTemplate>
<asp:ImageButton ID="imgBtnNew" runat="server" ToolTip="New" CausesValidation="False" OnClick="btnNew_Click"
ImageUrl="~/images/new_m.png" Visible='<%# isWritable() %>' />
</HeaderTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OnInserting="recuperaFooter" DeleteMethod="deleteQuery" InsertMethod="insertQuery"
OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="ETS_data.DS_ProjEtsTableAdapters.AnagProgettiTableAdapter"
UpdateMethod="updateQuery" FilterExpression=" (nomeProj like '%{0}%') OR (descrProj like '%{0}%')"
onupdating="ods_Updating">
<DeleteParameters>
<asp:Parameter Name="Original_idxProgetto" Type="Int32" />
</DeleteParameters>
<FilterParameters>
<asp:SessionParameter SessionField="valoreCercato" Type="String" />
</FilterParameters>
<InsertParameters>
<asp:Parameter Name="idxCliente" Type="Int32" />
<asp:Parameter Name="nomeProj" Type="String" />
<asp:Parameter Name="descrProj" Type="String" />
</InsertParameters>
<SelectParameters>
<asp:Parameter DefaultValue="0" Name="idxDipendente" Type="Int32" />
<asp:SessionParameter Name="dataFrom" SessionField="_inizio" Type="DateTime" />
<asp:SessionParameter Name="dataTo" SessionField="_fine" Type="DateTime" />
<asp:SessionParameter DefaultValue="0" Name="idxCliente" SessionField="idxCli_sel" Type="Int32" />
<asp:SessionParameter DefaultValue="False" Name="showPrjArch" SessionField="showPrjArch" Type="Boolean" />
<asp:SessionParameter DefaultValue="True" Name="showPrjZeroH" SessionField="showPrjZeroH" Type="Boolean" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="idxCliente" Type="Int32" />
<asp:Parameter Name="nomeProj" Type="String" />
<asp:Parameter Name="descrProj" Type="String" />
<asp:Parameter Name="Original_idxProgetto" Type="Int32" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsClienti" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData"
TypeName="ETS_data.DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter"></asp:ObjectDataSource>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
</div>
</div>
<div class="divSx" style="min-width: 175px;">
<%--<uc3:mod_dettaglioProgetto ID="mod_dettaglioProgetto1" runat="server" />--%>
</div>
@@ -4,14 +4,481 @@ using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using ETS_Data;
namespace PROJ_ETS.WebUserControls
{
public partial class mod_progetti : System.Web.UI.UserControl
{
#region area standard (non modificare)
#region gestione eventi
public event EventHandler eh_resetSelezione;
public event EventHandler eh_nuovoValore;
public event EventHandler eh_selValore;
#endregion
#if false
/// <summary>
/// effettua traduzione del lemma
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(string lemma)
{
return user_std.UtSn.Traduci(lemma);
}
#endif
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
//mod_dettaglioProgetto1.Visible = false;
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
/// <summary>
/// reset della selezione
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
/// <summary>
/// gestione evento richiesta nuovo valore (mostra footer, ...)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
{
// reset selezione...
resetSelezione();
// mostro il footer oppure la riga dei dettagli x nuovo...
if (grView.FooterRow != null)
{
grView.FooterRow.Visible = true;
}
// sollevo evento nuovo valore...
if (eh_nuovoValore != null)
{
eh_nuovoValore(this, new EventArgs());
}
}
/// <summary>
/// inserisce nuovo valore da footer
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lblIns_click(object sender, EventArgs e)
{
// click su inserimento, chiamo il metodo insert dell'ObjectDataSource
ods.Insert();
}
/// <summary>
/// annulla inserimento nuovo valore da footer
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lblCanc_click(object sender, EventArgs e)
{
// annullo inserimento: nascondo footer, bind controlli...
grView.FooterRow.Visible = false;
}
/// <summary>
/// traduce gli header delle colonne
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
#endregion
#region area CUSTOM (da modificare)
/// <summary>
/// pagina corrente (URL finale)
/// </summary>
public string _paginaCorrente { get; set; }
/// <summary>
/// determina se siano da visualizzare i progetti già chiusi
/// </summary>
public bool showChiusi
{
get
{
return utils.obj.BoolSessionObj("showPrjArch");
}
set
{
utils.obj.setSessionVal("showPrjArch", value);
}
}
/// <summary>
/// determina se siano visibili progetti "vuoti" con zero ore caricate quindi
/// </summary>
public bool showVuoti
{
get
{
return utils.obj.BoolSessionObj("showPrjZeroH");
}
set
{
utils.obj.setSessionVal("showPrjZeroH", value);
}
}
/// <summary>
/// caricamento
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
//grView.PageSize = utils.pageSize;
if (!Page.IsPostBack)
{
// imposto intervallo date...10 anni...
intervalloDate date = new intervalloDate();
date.fine = DateTime.Now.Date.AddDays(1);
date.inizio = date.fine.AddYears(-10);
mod_periodoAnalisi1.intervalloAnalisi = date;
// svuoto variabili sessione
utils.obj.emptySessionVal("idxProgetto_sel");
utils.obj.emptySessionVal("idxCli_sel");
#if false
filtroCli.ods = odsClienti;
filtroCli.reselFirst();
filtroCli.isChecked = false;
#endif
showChiusi = false;
showVuoti = true;
#if false
mod_dettaglioProgetto1.Visible = false;
#endif
}
#if false
filtroCli.eh_selValore += new EventHandler(filtroCli_eh_selValore);
mod_dettaglioProgetto1.eh_nuovoValore += new EventHandler(mod_dettaglioProgetto1_eh_nuovoValore);
#endif
}
/// <summary>
/// salva in variabile pagina il nome della pagina corrente
/// </summary>
protected void PagCorrente()
{
Uri MyUrl = Request.Url;
string delimStr = "/";
char[] delimiter = delimStr.ToCharArray();
string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
int n = finalUrl.Length;
_paginaCorrente = finalUrl[n - 1].ToString();
}
/// <summary>
/// cambiati dati dettaglio (attivo/inattivo)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_dettaglioProgetto1_eh_nuovoValore(object sender, EventArgs e)
{
doUpdate();
}
/// <summary>
/// selezionato valore, filtro!
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void filtroCli_eh_selValore(object sender, EventArgs e)
{
#if false
if (filtroCli.isChecked)
{
utils.obj.setSessionVal("idxCli_sel", filtroCli.valoreInt);
}
else
{
utils.obj.setSessionVal("idxCli_sel", 0);
}
grView.DataBind();
#endif
}
/// <summary>
/// elenco colonne del datagrid
/// </summary>
/// <returns></returns>
protected DataColumnCollection colonneObj()
{
Ds_ProjEts.AnagProgettiDataTable tabella = new Ds_ProjEts.AnagProgettiDataTable();
DataColumnCollection colonne = tabella.Columns;
return colonne;
}
/// <summary>
/// determina se sia eliminabile il record (=non usato)
/// </summary>
/// <param name="idxMaker"></param>
/// <returns></returns>
public bool delEnabled(object idxObj)
{
bool answ = isWritable();
// solo se ha diritti scrittura controllo
if (answ)
{
int trovati = 0;
// !!!FARE!!!
#if false
// controllo se ci siano tipo celle associate
trovati = MagClass.magazzino.taTipoCella.getByCodMag(utils.obj.StringSessionObj("CodCS"), idxObj.ToString()).Rows.Count;
// controllo se ci siano blocchi associati
trovati = trovati + MagClass.magazzino.taBlocchi.getByCodMag(utils.obj.StringSessionObj("CodCS"), idxObj.ToString()).Rows.Count;
#endif
// controllo se ci sono record correlati...
if (trovati > 0)
{
answ = false;
}
}
return answ;
}
/// <summary>
/// evento selezione!
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
utils.obj.setSessionVal("idxProgetto_sel", grView.SelectedDataKey["idxProgetto"]);
//mod_dettaglioProgetto1.Visible = true;
if (eh_selValore != null)
{
eh_selValore(this, new EventArgs());
}
}
/// <summary>
/// determina se mostrare i progetti archiviati
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void chkShowChiusi_CheckedChanged(object sender, EventArgs e)
{
showChiusi = chkShowChiusi.Checked;
grView.DataBind();
}
/// <summary>
/// salvo in session che il prox comando è clonare...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void imgDettFasi_Click(object sender, ImageClickEventArgs e)
{
utils.obj.setSessionVal("nextObjCommand", "dettFasi");
}
/// <summary>
/// intercetto eventuale update fittizio x rimandare a pagina dett fasi
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
// salvo progetto sel
utils.obj.setSessionVal("idxProgetto_sel", e.Keys["idxProgetto"]);
// quale comando?
string _comando = "";
if (utils.obj.isInSessionObject("nextObjCommand"))
{
_comando = utils.obj.StringSessionObj("nextObjCommand");
utils.obj.emptySessionVal("nextObjCommand");
}
// verifico il tipo di richiesta (clona o update normale)
switch (_comando)
{
case "dettFasi":
// salvo idxCli...
int idxCli = 0;
try
{
idxCli = DataProxy_ProjEts.DP.taAP.getByIdxPrj(utils.obj.IntSessionObj("idxProgetto_sel"))[0].idxCliente;
}
catch
{ }
utils.obj.setSessionVal("idxCli_sel", idxCli);
Response.Redirect("fasi.aspx");
// blocco update!
e.Cancel = true;
break;
default:
// faccio update!
break;
}
}
/// <summary>
/// effettua update controllo
/// </summary>
public void doUpdate()
{
resetSelezione();
}
/// <summary>
/// inverte valore booleano
/// </summary>
/// <param name="isEnt"></param>
/// <returns></returns>
public bool invBool(object valore)
{
bool answ = true;
try
{
answ = !Convert.ToBoolean(valore);
}
catch
{ }
return answ;
}
/// <summary>
/// restituisce una classe css a seconda dei valori passati:
/// green: bdgt > real
/// orange: real > bdgt*warning
/// red: real > bdgt
/// std: errore...
/// </summary>
/// <param name="real"></param>
/// <param name="bdgt"></param>
/// <returns></returns>
public string colorByVal(object real, object bdgt)
{
string answ = "badgeStd";
try
{
double valoreReal = Convert.ToDouble(real);
double valoreBdget = Convert.ToDouble(bdgt);
double valoreWarn = Convert.ToDouble(bdgt) * Convert.ToDouble(utils.obj.confReadString("warningRatioPerc")) / 100;
if (valoreReal >= valoreBdget)
{
answ = "badgeRosso";
}
else if (valoreReal >= valoreWarn)
{
answ = "badgeArancio";
}
else
{
answ = "badgeVerde";
}
}
catch
{
}
return "ui-corner-all " + answ;
}
/// <summary>
/// cambia impsotazione show/hide progetti con ore a zero...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void chkShowVuoti_CheckedChanged(object sender, EventArgs e)
{
showVuoti = chkShowVuoti.Checked;
grView.DataBind();
}
/// <summary>
/// risponde alla domanda se l'utente abbia permesso tipo writable (S) nel permessi2funzione
/// </summary>
/// <returns></returns>
public bool isWritable()
{
bool answ = false;
if (_paginaCorrente == null)
{
PagCorrente();
}
//answ = user_std.UtSn.isPageWriteEnabled(_paginaCorrente);
return answ;
}
/// <summary>
/// recupera i dati di un nuovo record contenuti nel footer di un gridView;
/// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e)
{
//recupero la riga footer...
DataColumnCollection colonne = colonneObj();
string nomeCol;
string tipoColonna = "";
foreach (DataColumn colonna in colonne)
{
nomeCol = colonna.ColumnName;
// cerco un textbox o quello che sia...
if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null)
{
tipoColonna = "textBox";
}
else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null)
{
tipoColonna = "dropDownList";
}
else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null)
{
tipoColonna = "checkBox";
}
// in base al tipo salvo negli inputparameters dell'ODS
switch (tipoColonna)
{
case "textBox":
e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text;
break;
case "dropDownList":
e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue;
break;
case "checkBox":
e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked;
break;
default:
break;
}
tipoColonna = "";
}
}
/// <summary>
/// check licenze in fase di update...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Updating(object sender, ObjectDataSourceMethodEventArgs e)
{
#if false
if (!licenzeGPW.checkLicenze)
{
// annullo insert se licenze sforate...
e.Cancel = true;
grView.EditIndex = -1;
grView.DataBind();
}
#endif
}
#endregion
}
}
@@ -20,5 +20,59 @@ namespace PROJ_ETS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_periodoAnalisi mod_periodoAnalisi1;
/// <summary>
/// chkShowChiusi 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.CheckBox chkShowChiusi;
/// <summary>
/// chkShowVuoti 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.CheckBox chkShowVuoti;
/// <summary>
/// grView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// odsClienti 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 odsClienti;
/// <summary>
/// lblNumRec control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNumRec;
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.