您目前尚未登陆,请选择【登陆】或【注册
首页->留言本类->三层班级留言本源码>>Class/body.aspx>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:三层班级留言本源码


当前文件路径:ClassSay/Class/body.aspx 文件类型
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="body.aspx.cs" Inherits="body" %> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 4<html> 5<head> 6<title>06031留言本正文</title> 7<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 8<style type="text/css"> 9<!-- 10body { 11 background-color: #3769B8; 12} 13--> 14</style> 15<link href="Css.css" rel="stylesheet" type="text/css"> 16</head> 17<body style="text-align: center"> 18<form id="form1" runat="server"> 19<table width="780" height="600" border="0" align="center" cellpadding="0" cellspacing="0" id="__01"> 20 <tr> 21 <td colspan="2"> 22 <img src="images/body_01.gif" width="780" height="121" alt=""></td> 23 </tr> 24 <tr> 25 <td> 26 <img src="images/body_02.gif" width="548" height="32" alt=""></td> 27 <td width="232" height="32" background="images/body_03.gif">&nbsp;<a href = index.aspx></a>&nbsp;<asp:ImageButton 28 ID="ImageButton1" runat="server" ImageUrl="~/images/home.gif" OnClick="ImageButton1_Click" /><font color=white>返回主页</font> 29 &nbsp;&nbsp; 30 <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">显示全部留言</asp:LinkButton></td> 31 </tr> 32 <tr> 33 <td height="416" colspan="2" style="text-align: center" valign="top"><asp:DataGrid ID="DataGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 34 GridLines="None" Height="20px" OnItemCommand="DataGrid1_ItemCommand" OnItemCreated="DataGrid1_ItemCreated" 35 OnItemDataBound="DataGrid1_ItemDataBound" OnPageIndexChanged="DataGrid1_PageIndexChanged" 36 PageSize="4" ShowHeader="False" Width="128px"> 37 <PagerStyle ForeColor="Transparent" HorizontalAlign="Right" Mode="NumericPages" Position="TopAndBottom" 38 VerticalAlign="Top" /> 39 <ItemStyle BackColor="Transparent" BorderColor="Transparent" HorizontalAlign="Left" /> 40 <Columns> 41 <asp:TemplateColumn> 42 <ItemTemplate> 43 <table align="left"> 44 <tr> 45 <td align="center" colspan="2" style="height: 18px"> 46 <hr><asp:Label ID="LabelTiele" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserTtitle") %>' 47 Width="719px" BorderColor="Gold" Font-Bold="True"></asp:Label></td> 48 </tr> 49 <tr> 50 <td align="left" colspan="2" style="height: 20px" valign="top"> 51 <asp:Label ID="LabelBody" runat="server" Height="20px" Text='<%# StringFormatBody( (string)DataBinder.Eval(Container.DataItem,"UserText") ) %>' 52 Width="735px" BorderStyle="None"></asp:Label></td> 53 </tr> 54 <tr> 55 <td style="height: 36px; text-align: right;" colspan="2"> 56 <asp:Button ID="ButtonModify" runat="server" CommandName="修 改" Text="修 改" Visible="False" /><asp:Button 57 ID="ButtonDele" runat="server" CommandName="deleteID" Text="删 除" Visible="False" /> 58 <asp:Label ID="LabelNameLable" runat="server" Text='<%# stringUser(DataBinder.Eval(Container.DataItem,"UserImage").ToString()) %>'></asp:Label> 59 - 60 <asp:Image ID="ImageLable" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"UserLable") %>' />&nbsp;-<asp:Label ID="LabelID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"TextID") %>' 61 Visible="False"></asp:Label><asp:ImageButton ID="ImageButton2" runat="server" CommandName="回复" ImageUrl="~/images/back.gif" ToolTip="点击回复当前话题" /> 62 -<font color=yellow>发表者:</font><asp:Label ID="LabelAuthor" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserName") %>'></asp:Label>&nbsp; 63 时间:<asp:Label ID="LabelDateTime" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserData") %>' 64 Width="116px"></asp:Label></td> 65 </tr> 66 <tr> 67 <td colspan="2" style="height: 24px"> 68 <asp:DataGrid ID="DataGrid2" runat="server" AutoGenerateColumns="False" GridLines="None" 69 ShowHeader="False"> 70 <Columns> 71 <asp:TemplateColumn> 72 <ItemTemplate> 73 <table align="left"> 74 <tr> 75 <td align="left" colspan="2" style="height: 20px" valign="top"> 76 &nbsp; &nbsp; &nbsp; &nbsp;<font color="white"> 回复:</font><asp:Label ID="LabelBack" 77 runat="server" BackColor="Transparent" BorderColor="Transparent" ForeColor="Transparent" 78 Height="20px" Text='<%# StringFormatBody(DataBinder.Eval(Container.DataItem,"BackBody").ToString()) %>' 79 Width="735px"></asp:Label></td> 80 </tr> 81 <tr> 82 <td style="width: 74px;"> 83 </td> 84 <td align="right" style="width: 671px;" unselectable="on"> 85 &nbsp;<font color=yellow>回复者:</font><asp:Label ID="LabelAuthor" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserName") %>'></asp:Label>&nbsp; 86 时间:<asp:Label ID="LabelDateTime" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"BackTime") %>' 87 Width="116px"></asp:Label></td> 88 </tr> 89 </table> 90 </ItemTemplate> 91 </asp:TemplateColumn> 92 </Columns> 93 </asp:DataGrid></td> 94 </tr> 95 </table> 96 </ItemTemplate> 97 <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" 98 Font-Underline="False" /> 99 <EditItemTemplate> 100 <table align="left" bordercolor="#ff00ff"> 101 <tr> 102 <td bgcolor="#ffcc00" bordercolor="#ff00ff" style="width: 74px"> 103 修改内容:</td> 104 <td align="left" style="width: 671px"> 105 <asp:Label ID="LabelModifyTiele" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserTtitle") %>' 106 Width="605px"></asp:Label></td> 107 </tr> 108 <tr> 109 <td colspan="2" style="height: 92px"> 110 <asp:TextBox ID="TextBoxModifyBody" runat="server" Height="150px" Text='<%# DataBinder.Eval(Container.DataItem,"UserText") %>' 111 TextMode="MultiLine" Width="735px"></asp:TextBox></td> 112 </tr> 113 <tr> 114 <td style="width: 74px; height: 6px"> 115 <asp:Button ID="ButtonNew" runat="server" CommandName="更 新" Text="更 新" /></td> 116 <td align="right" style="width: 671px; height: 6px"> 117 <asp:Label ID="LabelID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"TextID") %>' 118 Visible="False"></asp:Label>修改时间:<asp:Label ID="LabelModifyDateTime" runat="server" 119 Text='<%# DataBinder.Eval(Container.DataItem,"UserData") %>' Width="116px"></asp:Label></td> 120 </tr> 121 </table> 122 </EditItemTemplate> 123 </asp:TemplateColumn> 124 </Columns> 125 </asp:DataGrid></td> 126 </tr> 127 <tr> 128 <td colspan="2"> 129 <img src="images/body_05.gif" width="780" height="1" alt=""></td> 130 </tr> 131 <tr> 132 <td colspan="2" style="height: 30px"> 133 <img src="images/body_06.gif" width="780" height="30" alt=""></td> 134 </tr> 135</table> 136<table> 137 <tr> 138 <td style="width: 738px"><img src="images/botton.gif"></td> 139 </tr> 140</table> 141 </form> 142</body> 143</html> 144
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:三层班级留言本源码

- JaneLee简单购物车源码

- 北京某驾校全站源码

- yeal简化留言板源代码(学习版)

- 勇敢者论坛1.02版源码

- 狂龙通讯录信息系统V1.0

- 多功能在线考试系统改进版源码

- 商务维基网源码

- 多皮肤商企业产品发布系统.N..

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号