Asp.net源码专业站
首页->博客空间->chx99个人主页源码>>admin/command.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:chx99个人主页源码
当前文件:文件类型 chx99/admin/command.aspx[3K,2009-6-12 11:35:58]打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="command.aspx.cs" Inherits="admin_mangnew" %> 2 3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4 5<html xmlns="http://www.w3.org/1999/xhtml"> 6<head runat="server"> 7 <title>无标题页</title> 8 <style type="text/css"> 9 body 10 { 11 font-size:12px; 12 } 13 #page a:link ,#page a:visited 14 { 15 color:Black; 16 text-decoration:none; 17 } 18 #page a:hover 19 { 20 text-decoration:underline; 21 color:Red; 22 } 23 .box 24 { 25 width:600px; 26 text-align:left; 27 border:solid 1px #CCCCCC; 28 line-height:20px; 29 background-color:#F7F6F3; 30 } 31 .cont 32 { 33 text-indent:24px; 34 background-color:#FFFFFF; 35 } 36 .del 37 { 38 text-align:right; 39 } 40 </style> 41</head> 42<body> 43 <form id="form1" runat="server"> 44 <div align="center"> 45 <center>评论列表</center> 46 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 47 CellPadding="4" ForeColor="#333333" GridLines="None" AllowPaging="True" 48 PageSize="15" ShowFooter="True"> 49 <Columns> 50 <asp:TemplateField HeaderText="" SortExpression="Name"> 51 <ItemTemplate> 52 <div class="box"> 53 &nbsp;昵称:<%#Server.HtmlEncode(Eval("Name").ToString()) %>&nbsp;&nbsp;&nbsp; 54 &nbsp;时间:<%# Eval("Tim") %>&nbsp;&nbsp;&nbsp; 55 &nbsp;主页:<%# Eval("Home") %>&nbsp;&nbsp;&nbsp; 56 &nbsp;E-mail:<%# Eval("Mail") %><br /> 57 &nbsp;来源主题: <%# Eval("Title") %> 58 <div class="cont"> 59 <%#Server.HtmlEncode(Eval("Cont").ToString()) %> 60 </div> 61 <div class="del"> 62 <a href='<%# Eval("id", "delcommand.aspx?id="+Request.QueryString["id"].ToString()+"&did={0}") %>'>删除</a> 63 </div> 64 </div> 65 </ItemTemplate> 66 </asp:TemplateField> 67 </Columns> 68 </asp:GridView><br /> 69 <div id="page"> 70 总共<span style="color:#FFCC00; font-size:14px;"><asp:Label ID="Label2" 71 runat="server" Text="Label" ForeColor="Red"></asp:Label></span>&nbsp; 72 当前是第<span style="color:#FFCC00; font-size:14px;"><asp:Label ID="Label1" runat="server" 73 Text="Label" ForeColor="Red"></asp:Label></span>&nbsp; 74 <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">首页</asp:LinkButton>&nbsp; 75 <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">上一页</asp:LinkButton> &nbsp; 76 <asp:LinkButton ID="LinkButton3" runat="server" onclick="LinkButton3_Click">下一页</asp:LinkButton>&nbsp; 77 <asp:LinkButton ID="LinkButton4" runat="server" onclick="LinkButton4_Click">末页</asp:LinkButton> &nbsp; 78 跳转到第<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 79 onselectedindexchanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList>80 </div> 81 </div> 82 83 </form> 84</body> 85</html> 86
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:chx99个人主页源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146