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

📄 view-report-forumexceptions.ascx

📁 cnForums是功能强大的论坛。开发语言c#,三层结构。模块设计很值得学习
💻 ASCX
字号:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="Forums" Namespace="AspNetForums.Controls" Assembly="AspNetForums.Controls" %>
<%@ Import Namespace="AspNetForums.Components" %>
<%@ Import Namespace="AspNetForums.Controls" %>

<table cellPadding="2" cellspacing="0" width="100%" border="0">

    <tr>
        <td align="left" valign="top" colspan="2">
            <asp:Label class="forumName" ID="ForumName" Runat="server" />
            <br>
            <asp:Label class="forumThread" ID="ForumDescription" Runat="server" />
        </td>
    </tr>

    <tr>
        <td>
           &nbsp;
        </td>
    </tr>

    <tr>
        <td class="txt3">
           In Application: <asp:DropDownList id="Domain" runat="server" /><br />
           Exception Type: <asp:DropDownList id="ExceptionType" runat="server" /><br />
           That has: <asp:DropDownList id="MinFrequency" runat="server">
             <asp:ListItem value="0">All</asp:ListItem>
             <asp:ListItem value="10" Selected="true">10 or more occurrences</asp:ListItem>
             <asp:ListItem value="25">25 or more occurrences</asp:ListItem>
             <asp:ListItem value="100">100 or more occurrences</asp:ListItem>
           </asp:DropDownList>
           <asp:Button id="SelectDomain" runat="server" Text="Go!" />
        </td>
    </tr>

  <tr>
    <td colspan="2">
        <asp:Repeater runat="server" ID="ReportRepeater">
            <HeaderTemplate>
            <table class="tableBorder" cellPadding="3" cellSpacing="1">
                <tr> 
                    <td class="column" width="1"></td>
                    <td class="column" align="center" nowrap>Exception Type</td>
                    <td class="column" align="center" nowrap>Details</td>
                </tr>

            </HeaderTemplate>

            <ItemTemplate>
                <tr>
                    <td valign="top" class="f"><asp:checkbox id="BulkEdit" Value='<%# DataBinder.Eval(Container.DataItem, "ExceptionID") %>' runat="server" /></td>
                    <td class="f" nowrap valign="top">
                      <b><%# DataBinder.Eval(Container.DataItem, "ExceptionType") %></b>
                      <br>
                      <%# DataBinder.Eval(Container.DataItem, "Frequency") %> total
                      <br>
                      Last @ <%# DataBinder.Eval(Container.DataItem, "DateLastOccurred") %>
                    </td>

                    <td class="f" valign="top">
                      <b>Message:</b> <%# DataBinder.Eval(Container.DataItem, "Message") %>
                      <P>
                      <%# DataBinder.Eval(Container.DataItem, "LoggedStackTrace") %>
                      <p>
                      <b>User Agent / IP Address</b><br><%# DataBinder.Eval(Container.DataItem, "UserAgent") %> / <%# DataBinder.Eval(Container.DataItem, "IPAddress") %>
                      <p>
                      <b>Path</b><br><%# DataBinder.Eval(Container.DataItem, "HttpPathAndQuery") %> as HTTP <%# DataBinder.Eval(Container.DataItem, "HttpVerb") %>
                      <p>
                      <b>Referrer:</b><br><%# DataBinder.Eval(Container.DataItem, "HttpReferrer") %>
                    </td>

                </tr>
            </ItemTemplate>

            <FooterTemplate>
                <tr>
                  <td colspan="3" align="right">
                    <asp:Button id="DeleteSelected" runat="server" Text="Delete Selected" />
                    <asp:Button id="DeleteAll" runat="server" Text="Delete All" />
                  </td>
                </tr>
            </table>
            </FooterTemplate>
			
        </asp:Repeater>
    </td>
  </tr>
  

</table>

⌨️ 快捷键说明

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