-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDefault.aspx
More file actions
16 lines (11 loc) · 811 Bytes
/
Default.aspx
File metadata and controls
16 lines (11 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<%@ Page Title="Web Forms" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SampleWebApplication.Default" Async="True" %>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
<h1><%: Title %></h1>
<h2><a runnat="server" href="<%: SyndicationFeed.Links[0] %>"><%: SyndicationFeed.Description.Text %></a></h2>
<asp:DataList ID="FeedItemsDataList" runat="server" EnableViewState="false">
<ItemTemplate>
<h3><a runnat="server" href="<%# DataBinder.Eval(Container.DataItem, "Links") %>"><%# DataBinder.Eval(Container.DataItem, "Title.Text") %></a></h3>
<p><%# DataBinder.Eval(Container.DataItem, "Summary.Text") %></p>
</ItemTemplate>
</asp:DataList>
</asp:Content>