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

📄 myblog.aspx

📁 Windows 绑定代码实例
💻 ASPX
字号:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="myblog.aspx.vb" Inherits="myblog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="http://blog.delphij.net/index.xml">
        </asp:XmlDataSource>
    
    </div>
        <asp:FormView ID="FormView1" runat="server" CellPadding="4" DataSourceID="XmlDataSource1"
            ForeColor="#333333">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#EFF3FB" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <ItemTemplate>
                <asp:Label ID="Label1" runat="server" Text='<%# xpath("title") %>'></asp:Label>
                <asp:Label ID="Label2" runat="server" Text='<%# xpath("description") %>'></asp:Label>
            </ItemTemplate>
        </asp:FormView>
    </form>
</body>
</html>

⌨️ 快捷键说明

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