Asp.net源码专业站
首页->门户综合->webzcn虚拟主机网站最初源码>>Admin/bookDetailsManger.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:webzcn虚拟主机网站最初源码
当前文件:文件类型 webzcn/Admin/bookDetailsManger.aspx[12K,2009-6-12 11:58:27]打开代码结构图
普通视图
		            
1<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="bookDetailsManger.aspx.cs" Inherits="Admin_bookDetailsManger" Title="Untitled Page" %> 2<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED"> 4 <tr> 5 <td> 6 <img src="images/r_1.gif" alt="" /></td> 7 <td width="100%" background="images/r_0.gif"> 8 </td> 9 <td style="width: 7px"> 10 <img src="images/r_2.gif" alt="" /></td> 11 </tr> 12 <tr> 13 <td> 14 </td> 15 <td> 16 <div> 17 <center> 18 <asp:Panel ID="P3" HorizontalAlign="Center" runat="server" Width="98%"> 19 <table align="center" cellpadding="4" cellspacing="1" border="1" width="100%" class="toptable grid fixed"> 20 <tr> 21 <td height="25" class="category"> 22 <span style="color: #ff0000">评论列表</span></td> 23 </tr> 24 </table> 25 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 26 <tr> 27 <td style="height: 20px"> 28 &nbsp;</td> 29 </tr> 30 </table> 31 <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 32 CellPadding="4" DataKeyNames="Id" Font-Names="Verdana" Font-Size="Small" 33 ForeColor="#333333" GridLines="None" OnPageIndexChanging="GridView1_OnPageIndexChanged" 34 OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" 35 PageSize="4" ShowFooter="True" Width="98%"> 36 <PagerSettings FirstPageText="第一页" LastPageText="最后一页" NextPageText="下一页" /> 37 <Columns> 38 <asp:BoundField DataField="Id" HeaderText="回复编号"> 39 <HeaderStyle HorizontalAlign="Left" Width="60px" /> 40 </asp:BoundField> 41 <asp:BoundField DataField="AriticleId" HeaderText="评论编号" /> 42 <asp:BoundField DataField="username" HeaderText="管理员"> 43 <HeaderStyle HorizontalAlign="Left" Width="60px" /> 44 </asp:BoundField> 45 <asp:BoundField DataField="title" HeaderText="回复标题"> 46 <HeaderStyle Width="100px" /> 47 </asp:BoundField> 48 <asp:BoundField DataField="Ip" HeaderText="管理员Ip" /> 49 <asp:BoundField DataField="datetime" HeaderText="回复时间" /> 50 <asp:ButtonField CommandName="Edit" HeaderText="编辑" Text="编辑" /> 51 <asp:TemplateField HeaderText="删除"> 52 <ItemTemplate> 53 <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Delete" OnClientClick="return confirm('您真的要删除该记录吗?');">删除</asp:LinkButton> 54 </ItemTemplate> 55 </asp:TemplateField> 56 <asp:TemplateField HeaderText="添加"> 57 <ItemTemplate> 58 <asp:LinkButton ID="lbtnAdd" runat="server" CommandArgument='<%# Eval("AriticleId","{0}") %>' 59 OnCommand="lbtnAdd_Command">添加</asp:LinkButton> 60 </ItemTemplate> 61 </asp:TemplateField> 62 </Columns> 63 <RowStyle BackColor="#EFF3FB" /> 64 <EditRowStyle BackColor="#2461BF" /> 65 <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 66 <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 67 <AlternatingRowStyle BackColor="White" /> 68 </asp:GridView> 69 </asp:Panel> 70 <asp:Panel ID="P2" HorizontalAlign="Center" runat="server" Height="430px" Width="98%"> 71 <table align="center" cellpadding="4" cellspacing="1" border="1" width="100%" class="toptable grid fixed"> 72 <tr> 73 <td height="25" class="category"> 74 <span style="color: #ff0000">添加回复</span></td> 75 </tr> 76 </table> 77 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 78 <tr> 79 <td style="height: 20px"> 80 &nbsp;</td> 81 </tr> 82 </table> 83 <table align="center" border="0" cellpadding="1" cellspacing="1" class="tabn" width="95%"> 84 <tr> 85 <td align="center" bgcolor="#f6f6f6"> 86 回复标题:</td> 87 <td align="left" bgcolor="#f6f6f6" width="80%"> 88 <asp:TextBox ID="txtTitle" runat="server" Width="390px"></asp:TextBox><span style="color: #ff0000">*</span><asp:RequiredFieldValidator ID="rfvTitle" runat="server" ControlToValidate="txtTitle" 89 Display="Dynamic" ErrorMessage="必填项"></asp:RequiredFieldValidator></td> 90 </tr> 91 <tr style="color: #1a438e"> 92 <td align="center" bgcolor="#e7e7e7" valign="top"> 93 回复内<span style="color: #1a438e; background-color: #e7e7e7"></span></td> 94 <td align="left" bgcolor="#e7e7e7"> 95 <asp:TextBox ID="txtContent" runat="server" Rows="6" TextMode="MultiLine" Width="390px" Height="191px"></asp:TextBox><span style="color: red">*</span> 96 <asp:RequiredFieldValidator ID="rfvContent" runat="server" ControlToValidate="txtContent" 97 Display="Dynamic" ErrorMessage="必填项"></asp:RequiredFieldValidator></td> 98 </tr> 99 <tr> 100 <td align="center" bgcolor="#f6f6f6" colspan="2" height="25"> 101 &nbsp;<asp:Button ID="btnAdd" runat="server" Text="添  加" Width="103px" OnClick="btnAdd_Click" 102 onmousemove='showBtnOver(this)' onmouseout='showBtnOut(this)' CssClass="submitMiniGreen" /> 103 <asp:Button ID="btnCancelAdd" runat="server" Text="取 消" onmousemove='showBtnOver(this)' 104 onmouseout='showBtnOut(this)' CssClass="submitMiniGreen" CausesValidation="False" 105 OnClick="btnCancelAdd_Click" />&nbsp; 106 </td> 107 </tr> 108 <tr> 109 <td align="center" bgcolor="#e7e7e7" style="width: 34px; height: 27px"> 110 &nbsp;</td> 111 <td bgcolor="#e7e7e7" style="height: 27px;"> 112 &nbsp;</td> 113 </tr> 114 </table> 115 </asp:Panel> 116 <asp:Panel ID="P1" HorizontalAlign="Center" runat="server" Width="100%" Height="430px"> 117 <table align="center" cellpadding="4" cellspacing="1" border="1" width="100%" class="toptable grid fixed"> 118 <tr> 119 <td height="25" class="category"> 120 <span style="color: #ff0000">修改回复</span></td> 121 </tr> 122 </table> 123 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 124 <tr> 125 <td> 126 &nbsp;</td> 127 </tr> 128 </table> 129 <table align="center" border="0" cellpadding="1" cellspacing="1" class="tabn" width="95%"> 130 <tr> 131 <td align="center" bgcolor="#f6f6f6"> 132&nbsp; &nbsp; &nbsp; 题:</td> 133 <td align="left" bgcolor="#f6f6f6" width="80%"> 134 <asp:TextBox ID="txtTitleEdit" runat="server" Width="390px"></asp:TextBox><span style="color: #ff0000">*</span><asp:RequiredFieldValidator 135 ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitleEdit" 136 Display="Dynamic" ErrorMessage="必填项"></asp:RequiredFieldValidator><a name="sub"></a></td> 137 </tr> 138 <tr style="color: #1a438e"> 139 <td align="center" bgcolor="#e7e7e7" valign="top"> 140&nbsp; &nbsp; &nbsp;<span style="color: #ff0000"> </span><span style="color: #1a438e; background-color: #e7e7e7"></span></td> 141 <td align="left" bgcolor="#e7e7e7"> 142 <asp:TextBox ID="txtContentEdit" runat="server" Height="191px" Rows="6" TextMode="MultiLine" 143 Width="390px"></asp:TextBox><span style="color: red">*</span><asp:RequiredFieldValidator 144 ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtContentEdit" 145 Display="Dynamic" ErrorMessage="必填项"></asp:RequiredFieldValidator></td> 146 </tr> 147 <tr> 148 <td align="center" bgcolor="#f6f6f6" colspan="2" height="25"> 149 &nbsp;&nbsp;<asp:Button ID="btnEdit" runat="server" CssClass="submitMiniGreen" OnClick="btnEdit_Click" 150 onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" Text="修  改" /> 151 <asp:Button ID="btnCanelEdit" runat="server" CausesValidation="False" CssClass="submitMiniGreen" 152 OnClick="btnCanelEdit_Click" onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" 153 Text="取 消" />&nbsp;</td> 154 </tr> 155 <tr> 156 <td align="center" bgcolor="#e7e7e7" style="width: 34px; height: 27px"> 157 &nbsp;</td> 158 <td bgcolor="#e7e7e7" style="height: 27px;"> 159 &nbsp;</td> 160 </tr> 161 </table> 162 </asp:Panel> 163 </center> 164 </div> 165 </td> 166 <td style="width: 7px"> 167 </td> 168 </tr> 169 <tr> 170 <td> 171 <img src="images/r_4.gif" alt="" /></td> 172 <td> 173 </td> 174 <td style="width: 7px"> 175 <img src="images/r_3.gif" alt="" /></td> 176 </tr> 177 </table> 178</asp:Content> 179 180
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:webzcn虚拟主机网站最初源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146