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

📄 left.aspx

📁 1.left.aspx下部分实现了读取RDF(RDF format feeds
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="left.aspx.cs" Inherits="left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>DisplayFeeds</title>
    <script language="javascript" type="text/javascript">
    parent.rtop.location.href="about:blank";
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="FeedID" DataSourceID="ObjectDataSource1" style="background-color: transparent">
            <Columns>
                <asp:HyperLinkField DataNavigateUrlFields="FeedID" DataNavigateUrlFormatString="Top.aspx?FeedID={0}"
                    DataTextField="Title" HeaderText="RSS Feeds" Target="rtop" />
            </Columns>
            <AlternatingRowStyle BackColor="Silver" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="getFeeds"
            TypeName="Sloppycode.net.AboutData"></asp:ObjectDataSource>
        <br />
        <asp:Label ID="Label2" runat="server" Height="1px" Text="在外部浏览器打开:" Width="700px" BackColor="Silver" Font-Italic="True"></asp:Label><em><br />
        </em>
        <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" BackColor="#E0E0E0">
        </asp:DropDownList>
        <asp:CheckBox ID="checkBoxRdf" runat="server" Text="RDF" ForeColor="Gray" />
        <asp:Button ID="buttonOK" runat="server" Text="Get" OnClick="buttonOK_Click" BackColor="Gray" Width="57px" />
        <br />
        <br />
        <asp:Label ID="Label1" runat="server"></asp:Label><br />
        &nbsp;<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Visible="False" Height="30px" Width="300px">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;RSS feed&lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
&lt;style&gt;
.channelTitle {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	color: #FFFFFF;
}
.channelDescription {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 7pt;
	color: #003366;
}
.itemTitle {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	text-decoration:none;
	background-color: #F6F6F6;
	color: #000000;
	font-weight: bold;
}
.itemTitle:hover { color:#003366; }
.itemDescription {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
}
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;table width=&quot;500&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;1&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#003399&quot;&gt;
	&lt;tr&gt;&lt;td&gt;
		&lt;table width=&quot;500&quot; border=&quot;0&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#FFFFFF&quot;&gt;
        	&lt;tr&gt;&lt;td bgcolor=&quot;#4F4F4F&quot;&gt;&lt;a href=&quot;%Link%&quot; target=&quot;_blank&quot; class=&quot;channelTitle&quot;&gt;%Title%&lt;/a&gt;&lt;/td&gt;
        	&lt;/tr&gt;
        	&lt;tr&gt;&lt;td class=&quot;channelDescription&quot;&gt;%Description%&lt;/td&gt;
        	&lt;/tr&gt;
        	&lt;/table&gt;
	&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;br&gt;
&lt;table width=&quot;500&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;1&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#A3A3A3&quot;&gt;
&lt;tr&gt;
	&lt;td&gt;
		&lt;table width=&quot;500&quot; border=&quot;0&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#FFFFFF&quot;&gt;
		%Items%
		&lt;/table&gt;
	&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;
</asp:TextBox></div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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