Torna al Thread

<asp:GridView Style="z-index: 101; left: 80px; position: absolute; top: 255px" ID="gwFestivita" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="GES_ID,SERCMR_ID,CHICMR_ID,CHICMR_DATA_INIZIO,CHICMR_DATA_FINE,GES_DES_GESTIONE,CHICMR_ID_SERVIZIO_CUSTOMER,SERCMR_ID_GESTIONE" DataSourceID="DataSourceFestivita" GridLines="Vertical" PageSize="5" ShowFooter="True" OnRowUpdating="gwFestivita_RowEditing" > <Columns> <asp:BoundField DataField="GES_ID" HeaderText="GES_ID" ReadOnly="True" SortExpression="GES_ID" Visible="False" /> <asp:BoundField DataField="SERCMR_ID" HeaderText="SERCMR_ID" InsertVisible="False" ReadOnly="True" SortExpression="SERCMR_ID" Visible="False" /> <asp:BoundField DataField="SERCMR_ID_GESTIONE" HeaderText="SERCMR_ID_GESTIONE" SortExpression="SERCMR_ID_GESTIONE" Visible="False" /> <asp:BoundField DataField="CHICMR_ID" HeaderText="CHICMR_ID" ReadOnly="True" SortExpression="CHICMR_ID" Visible="False" /> <asp:BoundField DataField="CHICMR_ID_SERVIZIO_CUSTOMER" HeaderText="CHICMR_ID_SERVIZIO_CUSTOMER" SortExpression="CHICMR_ID_SERVIZIO_CUSTOMER" Visible="False" /> <asp:TemplateField HeaderText="Inizio festivit&#224;" SortExpression="CHICMR_DATA_INIZIO"> <EditItemTemplate> <cc1:AZCalendar ID="calendarModificaInizio" runat="server" /> </EditItemTemplate> <ItemTemplate> <asp:Label ID="lblFine" runat="server" Text='<%# Bind("CHICMR_DATA_INIZIO") %>'></asp:Label> &nbsp; </ItemTemplate> <FooterTemplate> <cc1:AZCalendar ID="calendarNuovoInizio" runat="server" /> </FooterTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Fine festivit&#224;" SortExpression="CHICMR_DATA_FINE"> <EditItemTemplate> <cc1:AZCalendar ID="calendarModificaFine" runat="server" /> </EditItemTemplate> <ItemTemplate> <asp:Label ID="Label2" runat="server" Text='<%# Bind("CHICMR_DATA_FINE") %>'></asp:Label> </ItemTemplate> <FooterTemplate> <cc1:AZCalendar ID="calendarNuovaFine" runat="server" /> </FooterTemplate> </asp:TemplateField> <asp:BoundField DataField="GES_DES_GESTIONE" HeaderText="GES_DES_GESTIONE" SortExpression="GES_DES_GESTIONE" Visible="False" /> <asp:CommandField CancelText="annulla" DeleteText="elimina" EditText="modifica" ShowEditButton="True" UpdateText="Aggiorna" /> </Columns> <FooterStyle BackColor="#CCCCCC" ForeColor="Black" /> <RowStyle BackColor="#EEEEEE" ForeColor="Black" /> <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" /> <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="Gainsboro" /> </asp:GridView> <asp:SqlDataSource ID="DataSourceFestivita" runat="server" ConnectionString="<%$ ConnectionStrings:BdimpiantiConnectionString %>" SelectCommand="SELECT * FROM FestivitaCustomerServiceQry WHERE GES_ID = 13" InsertCommand="Festivita_Customer_Insert" InsertCommandType="StoredProcedure" DeleteCommand="DELETE FROM [BdImpianti].[dbo].[CHIUSURA_ESTIVA_CUSTOMER] WHERE CHICMR_ID = @idFestivita" UpdateCommand="Festivita_Customer_Update" UpdateCommandType="StoredProcedure" OnSelecting="DataSourceFestivita_Selecting" > <InsertParameters> <asp:Parameter Name="Ges_Id" Type="Int32" /> <asp:Parameter Name="data_apertura" Type="DateTime" /> <asp:Parameter Name="data_chiusura" Type="DateTime" /> <asp:Parameter Direction="InputOutput" Name="IsValorePermesso" Type="Int32" /> </InsertParameters> <DeleteParameters> <asp:Parameter Name="idFestivita" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="idFestivita" Type="Int32" /> <asp:Parameter Name="Ges_Id" Type="Int32" /> <asp:Parameter Name="data_apertura" Type="DateTime" /> <asp:Parameter Name="data_chiusura" Type="DateTime" /> <asp:Parameter Direction="InputOutput" Name="IsValorePermesso" Type="Int32" /> </UpdateParameters> </asp:SqlDataSource>
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5