⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewrecord.aspx

📁 一个不错的在线考试系统!~~实现了基本的在线考试系统的主要功能
💻 ASPX
字号:
<%@ page language="C#" autoeventwireup="true" inherits="viewrecord, App_Web_agsgpyst" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
    <title>寒冰考试系统-贴子浏览</title>
    <link href="main.css" rel=stylesheet type="text/css" />
    <style>
    .info{
        color:Red;font-size:11px;font-weight:bolder;border:transparent 0px solid;
    }
    .tip{
        color:Navy;font-size:11px;font-weight:bolder;border:transparent 0px solid;
    }
    </style>
     <script language="javascript">
     function getBid(s){
	  return document.getElementById(s);
	}
	function recordclear()
    {
        getBid("tbox_content").value="";
    }
    </script>
</head>
<body>
    <form id="viewrecords" runat="server">
    <div>
          <fieldset class=fieldset style="margin-top:0px;width:450px;">
            <div style="width:100%;text-align:center">
                <table class=tb  cellspacing=0px >
                    <tbody>
                        <tr>
                             <td rowspan=2 width=20% class=tip>当前主题:</td>
                             <td width=80% style="color:Red;text-DECORATION:underline;font-weight:bolder;font-size:12px;padding:0px"><asp:Label ID="lb_title" runat="Server" style="margin-left:0px;text-align:center"></asp:Label></td>
                       </tr> 
                       <tr>
                            <td width=80% style="color:Navy"><asp:Label ID="lb_content" runat="server"></asp:Label></td>
                       </tr>
                    </tbody>                 
                </table> 
                </div>
                <div >
                <div class=glowtext style="height:20px;width:100%;padding:0px;margin-left:0px">当前回贴</div><br /><hr style="color:Black;width:100%" />
                    <div style="overflow-y:auto;width:100%;height:280px">
                        <asp:DataList ID="dal_record" runat="server" BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4" GridLines="Both" Width=100% Height="311px">
                            <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                            <SelectedItemStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                            <ItemStyle BackColor="White" ForeColor="#330099" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
                            <ItemTemplate>
                                <table> 
                                    <tr>
                                       <td rowspan=3>
                                       <table>
                                          <tr>
                                            <td>姓名:</td>
                                          </tr>
                                          <tr>
                                            <td><asp:Label ID="lab_name" runat=server CssClass=tip><%# DataBinder.Eval(Container.DataItem,"name") %></asp:Label></td>
                                          </tr>
                                          <tr>
                                            <td>回复内容:</td>
                                          </tr>
                                       </table>
                                       </td>
                                       <td> 回贴时间:<asp:Label ID="lab_time" runat=server CssClass=tip ><%# DataBinder.Eval(Container.DataItem,"recordtime") %></asp:Label></td> 
                                    </tr>
                                    <tr>
                                        <td><asp:Label id="lab_content" runat="server" CssClass=tip><%# DataBinder.Eval(Container.DataItem,"content") %></asp:Label></td>
                                    </tr>
                                </table>
                                <hr style="color:Black;width:100%" />
                            </ItemTemplate>                    
                        </asp:DataList>
                    </div>
                </div>
                <div>
                    <table id="uprecord" class=tb >
                        <tr>
                            <td colspan=2 class=glowtext>我要回贴:</td>
                        </tr>
                        <tr>
                            <td width=20% style="height: 43px">回贴贴内容:</td>
                            <td width=80% style="height: 43px"><asp:TextBox ID="tbox_content" runat="server" CssClass=multibox Width=100% TextMode=multiline></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td><asp:Label ID="lb_info" runat="server" CssClass=info></asp:Label> </td>
                            <td><asp:Button ID="btn_uprecord" runat="server" Text="回贴" CssClass=button OnClick="btn_uprecord_Click" />&nbsp;&nbsp;&nbsp;<input type=button value="取消" class=button onclick="recordclear()" /></td>
                        </tr>
                    </table>
                </div>      
        </fieldset>  
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -