Torna al Thread

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Page Language="C#" %> <html dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Senza nome 1</title> </head> <body> <form id="form1" runat="server"> <asp:DetailsView id="DetailsView1" runat="server" AllowPaging="True" AutoGenerateRows="False" BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CellPadding="2" DataSourceID="SqlDataSource2" ForeColor="Black" GridLines="None" Height="50px" Width="125px"> <AlternatingRowStyle BackColor="PaleGoldenrod" /> <EditRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" /> <Fields> <asp:BoundField DataField="cod_immobile" HeaderText="cod_immobile" InsertVisible="False" SortExpression="cod_immobile"> </asp:BoundField> <asp:BoundField DataField="descrizione_immobile" HeaderText="descrizione_immobile" SortExpression="descrizione_immobile"> </asp:BoundField> <asp:CommandField ShowInsertButton="True"> </asp:CommandField> </Fields> <FooterStyle BackColor="Tan" /> <HeaderStyle BackColor="Tan" Font-Bold="True" /> <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" /> </asp:DetailsView> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString3 %>" InsertCommand="insert into immobile(descrizione_immobile) values(@descrizione_immobile)" ProviderName="<%$ ConnectionStrings:ConnectionString3.ProviderName %>" SelectCommand="select * from immobile"> </asp:SqlDataSource> </form> </body> </html>
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5