您目前尚未登陆,请选择【登陆】或【注册
首页->留言本类->ASP.NET三层架构留言本项目源码>>WEB/AddMessage.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:ASP.NET三层架构留言本项目源码
当前文件:文件类型 MVCGuestBook/WEB/AddMessage.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddMessage.aspx.cs" Inherits="GustBook.WEB.AddMessage" %> 2 3<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %> 4 5<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 6 7<html xmlns="http://www.w3.org/1999/xhtml" > 8<head runat="server"> 9 <title>时空留言本</title> 10 <style type="text/css"> 11 .style1 12 { 13 width: 800px; 14 height: 188px; 15 } 16 .style2 17 { 18 width: 139px; 19 } 20body 21{ 22 font-family: "宋体";font-size:9pt; 23 24 } 25 26 .style4 27 { 28 width: 800px; 29 height: 270px; 30 margin-bottom: 0px; 31 } 32 .style5 33 { 34 width: 138px; 35 } 36 .style6 37 { 38 width: 249px; 39 } 40 </style> 41</head> 42<body> 43 <form id="form1" runat="server"> 44 <div> 45 46 <table align="center" class="style1"> 47 <tr> 48 <td align="right" class="style2"> 49 昵称:</td> 50 <td class="style6"> 51 <asp:TextBox ID="txtName" runat="server"></asp:TextBox> 52 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 53 ControlToValidate="txtName" ErrorMessage="昵称必填!"></asp:RequiredFieldValidator> 54 </td> 55 <td rowspan="5"> 56 <asp:Image ID="Image1" runat="server" Height="95px" Width="85px" /> 57 </td> 58 </tr> 59 <tr> 60 <td align="right" class="style2"> 61 请选择头像:</td> 62 <td class="style6"> 63 <asp:DropDownList ID="ddllPic" runat="server" AutoPostBack="True" 64 onselectedindexchanged="ddllPic_SelectedIndexChanged1"> 65 </asp:DropDownList> 66 </td> 67 </tr> 68 <tr> 69 <td align="right" class="style2"> 70 邮箱:</td> 71 <td class="style6"> 72 <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox> 73 </td> 74 </tr> 75 <tr> 76 <td align="right" class="style2"> 77 个人网站:</td> 78 <td class="style6"> 79 <asp:TextBox ID="txtUrl" runat="server"></asp:TextBox> 80 </td> 81 </tr> 82 <tr> 83 <td align="right" class="style2"> 84 QQ或MSN:</td> 85 <td class="style6"> 86 <asp:TextBox ID="txtQQ" runat="server"></asp:TextBox> 87 </td> 88 </tr> 89 </table> 90 91 </div> 92 <table align="center" class="style4"> 93 <tr> 94 <td align="right" class="style2"> 95 &nbsp;表情:&nbsp;</td> 96 <td> 97 <asp:RadioButton ID="Radio1" runat="server" Checked="True" GroupName="a1" /> 98 <img src="images/face/face1.gif"/><asp:RadioButton ID="Radio2" runat="server" 99 GroupName="a1" /> 100 <img src="images/face/face2.gif" /><asp:RadioButton ID="Radio3" runat="server" 101 GroupName="a1" /> 102 <img src="images/face/face3.gif" /><asp:RadioButton ID="Radio4" runat="server" 103 GroupName="a1" /> 104 <img src="images/face/face4.gif" /><asp:RadioButton ID="Radio5" runat="server" 105 GroupName="a1" /> 106 <img src="images/face/face5.gif" /><asp:RadioButton ID="Radio6" runat="server" 107 GroupName="a1" /> 108 <img src="images/face/face6.gif" /><asp:RadioButton ID="Radio7" runat="server" 109 GroupName="a1" /> 110 <img src="images/face/face7.gif" /><asp:RadioButton ID="Radio8" runat="server" 111 GroupName="a1" /> 112 <img src="images/face/face8.gif" /><asp:RadioButton ID="Radio9" runat="server" 113 GroupName="a1" /> 114 <img src="images/face/face9.gif" /><asp:RadioButton ID="Radio10" runat="server" 115 GroupName="a1" /> 116 <img src="images/face/face10.gif" /><br /> 117 <asp:RadioButton ID="Radio11" runat="server" GroupName="a1" /> 118 <img src="images/face/face11.gif" /><asp:RadioButton ID="Radio12" 119 runat="server" GroupName="a1" /> 120 <img src="images/face/face12.gif" /><asp:RadioButton ID="Radio13" 121 runat="server" GroupName="a1" /> 122 <img src="images/face/face13.gif" /><asp:RadioButton ID="Radio14" 123 runat="server" GroupName="a1" /> 124 <img src="images/face/face14.gif" /><asp:RadioButton ID="Radio15" 125 runat="server" GroupName="a1" /> 126 <img src="images/face/face15.gif" /><asp:RadioButton ID="Radio16" 127 runat="server" GroupName="a1" /> 128 <img src="images/face/face16.gif" /><asp:RadioButton ID="Radio17" 129 runat="server" GroupName="a1" /> 130 <img src="images/face/face17.gif" /><asp:RadioButton ID="Radio18" 131 runat="server" GroupName="a1" /> 132 <img src="images/face/face18.gif" /><asp:RadioButton ID="Radio19" 133 runat="server" GroupName="a1" /> 134 <img src="images/face/face19.gif" /><asp:RadioButton ID="Radio20" 135 runat="server" GroupName="a1" /> 136 <img src="images/face/face20.gif" /></td> 137 </tr> 138 <tr> 139 <td align="right" class="style5"> 140 留言内容:</td> 141 <td> 142 <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" ToolbarSet="Basic"> 143 </FCKeditorV2:FCKeditor> 144 </td> 145 </tr> 146 <tr> 147 <td class="style5"> 148 &nbsp;</td> 149 <td align="center"> 150 <asp:Button ID="Button1" runat="server" Text="发表留言" Width="78px" 151 onclick="Button1_Click1" /> 152 &nbsp;&nbsp;&nbsp; 153 <asp:CheckBox ID="CheckBox1" runat="server" Text="悄悄话" /> 154 </td> 155 </tr> 156 </table> 157 158 </form> 159</body> 160</html> 161
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:ASP.NET三层架构留言本项目源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号