Torna al Thread

<asp:GridView ID="Griglia" runat="server" DataKeyNames="ID" AutoGenerateColumns="false" OnRowDeleting="Griglia_RowDeleting" OnRowEditing="Griglia_RowEditing" OnRowCancelingEdit="Invia_Click"> <Columns> <asp:BoundField DataField="Data_Creazione" DataFormatString ="{0:d}" HeaderText="Data Creazione" ReadOnly="True" SortExpression="Data_Creazione"/> <asp:BoundField DataField="Data_Inizio" DataFormatString ="{0:d}" HeaderText="Data Inizio" SortExpression="Data_Inizio"/> <asp:BoundField DataField="Data_Fine" DataFormatString ="{0:d}" HeaderText="Data Fine" SortExpression="Data_Fine"/> <asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note"/> <asp:BoundField DataField="Stato" HeaderText="Stato" ReadOnly="True" SortExpression="Stato"/> <asp:BoundField DataField="Data_Stato" DataFormatString ="{0:d}" HeaderText="Data Stato" ReadOnly="True" SortExpression="Data_Stato"/> <asp:BoundField DataField="Matricola_Approvante" HeaderText="Matricola Approvante" ReadOnly="True" SortExpression="Matricola_Approvante"/> <asp:BoundField DataField="Approvante" HeaderText="Approvante" ReadOnly="True" SortExpression="Approvante"/> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:ImageButton ID="Modifica" runat="server" CausesValidation="False" CommandName="Edit" ImageUrl="~/img/modifica.gif"/> <asp:ImageButton ID="Invia" runat="server" CausesValidation="False" CommandName="Cancel" ImageUrl="~/img/invia.jpg" style="width:19px"/> <asp:ImageButton ID="Cancella" runat="server" CausesValidation="False" CommandName="Delete" ImageUrl="~/img/elimina.gif" OnClientClick="javascript:return confirm('Sei sicuro di voler eliminare la richesta selezionata?');" EnableTheming="True"/> </ItemTemplate> <ItemStyle Width="60px" /> </asp:TemplateField> <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" SortExpression="ID" Visible="False"/> </Columns> </asp:GridView>
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5