温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:替某公司写的一个小论坛(供新人参考)
当前文件:
lingdaBBS/NewTopic.aspx[1K,2009-6-12 11:47:01],打开代码结构图
lingdaBBS/NewTopic.aspx[1K,2009-6-12 11:47:01],打开代码结构图1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="NewTopic.aspx.cs" Inherits="NewTitle" Title="Untitled Page" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<table style="width: 100%; font-size:12px" cellspacing="0" border="1" bordercolor="#f00000" > 4
<tr height="20" bgcolor="#f00000"> 5
<td colspan="2"> 6
发表新话题:</td> 7
</tr> 8
<tr> 9
<td width="20%"> 10
标题:</td> 11
<td width="80%"> 12
<asp:DropDownList ID="ddlTitleType" runat="server" Width="68px"> 13
<asp:ListItem>推荐</asp:ListItem> 14
<asp:ListItem>求助</asp:ListItem> 15
<asp:ListItem>讨论</asp:ListItem> 16
<asp:ListItem>娱乐</asp:ListItem> 17
<asp:ListItem>疑问</asp:ListItem> 18
</asp:DropDownList> 19
<asp:TextBox ID="txtTitle" runat="server" Width="385px"></asp:TextBox></td> 20
</tr> 21
<tr> 22
<td width="20%" valign="top"> 23
内容:</td> 24
<td width="80%" align="center"> 25
<asp:TextBox ID="txtContent" runat="server" Rows="20" TextMode="MultiLine" Width="98%"></asp:TextBox></td> 26
</tr> 27
<tr> 28
<td colspan="2" align="center"> 29
<asp:Button ID="btnSubmit" runat="server" Text="提交" Width="137px" OnClick="btnSubmit_Click" /></td> 30
</tr> 31
</table> 32
</asp:Content> 33
34





