Torna al Thread

<asp:GridView ID="GridView2" runat="server" DataSourceID="SqlDataSource2" AllowSorting="True" OnRowUpdating="GridView2_RowUpdating" OnRowUpdated="GridView2_RowUpdated" OnRowEditing="GridView2_RowEditing" OnRowCancelingEdit="GridView2_RowCancelingEdit" Font-Names="Verdana" Font-Size="Smaller" EnableSortingAndPagingCallbacks="True" AllowPaging="True" AutoGenerateEditButton="True" EditRowStyle-BackColor="Red" EditRowStyle-ForeColor="Yellow" HeaderStyle-BackColor="Blue" HeaderStyle-BorderStyle="Double" HeaderStyle-BorderColor="ActiveBorder" HeaderStyle-ForeColor="Yellow" PagerStyle-Font-Bold="true" PagerSettings-PageButtonCount="20" AutoGenerateColumns="False" DataKeyNames="UserID" Width="2656px"> <AlternatingRowStyle BackColor="#8080FF" BorderColor="#8080FF" Font-Names="Verdana" ForeColor="White" /> <PagerSettings PageButtonCount="20" /> <PagerStyle Font-Bold="True" /> <HeaderStyle BackColor="Blue" BorderColor="ActiveBorder" BorderStyle="Double" ForeColor="Yellow" /> <EditRowStyle BackColor="Red" ForeColor="Yellow" /> <Columns> <asp:ButtonField buttontype="Image" commandname="ViewActions" headertext="ViewActions" text="View Actions" ImageUrl="~/ImgOK/Lente_32_Actions.ico"/> <asp:BoundField DataField="UserID" HeaderText="UserID" SortExpression="UserID" /> <asp:BoundField DataField="User_NameSurname" HeaderText="User_NameSurname" SortExpression="User_NameSurname" /> <asp:BoundField DataField="User_Name" HeaderText="User_Name" SortExpression="User_Name" /> </Columns> </asp:GridView> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ANOMALIES_WEBConnectionString_PW %>" ProviderName="<%$ ConnectionStrings:ANOMALIES_WEBConnectionString_PW.ProviderName %>" SelectCommand="SELECT [UserID], ...... FROM [User_Dati]" UpdateCommand=";"> </asp:SqlDataSource>
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5