WebForm1.aspx
资源名称:Visual.rar [点击查看]
上传用户:yiyuerguo
上传日期:2014-09-27
资源大小:3781k
文件大小:2k
源码类别:
C#编程
开发平台:
Others
- <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="mbord2.WebForm1" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>WebForm1</title>
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- </HEAD>
- <body MS_POSITIONING="GridLayout">
- <form id="Form1" method="post" runat="server">
- <asp:button id="Button2" style="Z-INDEX: 101; LEFT: 16px" runat="server" Text="我要留言"></asp:button>
- <TABLE id="foot" style="Z-INDEX: 102; LEFT: 16px; WIDTH: 504px; HEIGHT: 176px" height="176"
- cellSpacing="0" cellPadding="0" width="504" border="0" runat="server" visible="false">
- <TR bgColor="#ffffff">
- <TD style="WIDTH: 500px">
- <P>大名:
- <asp:textbox id="TextBox1" runat="server"></asp:textbox><BR>
- 留言:
- <BR>
- <asp:textbox id="TextBox2" runat="server" Width="448px" Height="86px"></asp:textbox></P>
- <P><asp:button id="Button1" runat="server" Width="50px" Text="提交"></asp:button><BR>
- </P>
- </TD>
- </TR>
- </TABLE>
- <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 16px; WIDTH: 506px; TOP: 16px; HEIGHT: 399px"
- cellSpacing="1" cellPadding="1" width="506" border="1">
- <TR>
- <TD style="WIDTH: 296px"><FONT face="宋体"><asp:datalist id="DataList1" runat="server" Width="496px" HeaderTemplate-ColSpan="3" SelectedItemStyle-BackColor="#ffffff"
- ItemStyle-BackColor="#eeeeee" HeaderStyle-BackColor="#CCCCCC" CellSpacing="0" CellPadding="2" BorderColor="Black" Border="1">
- <HeaderTemplate>
- </HeaderTemplate>
- <ItemTemplate>
- 编号:
- <%# DataBinder.Eval(Container.DataItem, "book_id")%>
- <BR>
- 发言人:<%# DataBinder.Eval(Container.DataItem, "username")%><BR>
- 时间:
- <%# DataBinder.Eval(Container.DataItem, "post_time")%>
- <BR>
- 内容:
- <%# DataBinder.Eval(Container.DataItem, "content")%>
- </ItemTemplate>
- </asp:datalist></FONT></TD>
- </TR>
- </TABLE>
- </form>
- </body>
- </HTML>