<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TwitterService.Default" %>

<!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>VSLive Twitter Feed</title>
</head>
<body>
    <h1>VSLive Twitter Feed</h1>
    <form id="form1" runat="server" >
    <div>
    <asp:XmlDataSource  ID="XmlDataSource1" runat="server" 
    DataFile="http://localhost/twitter/twitter.svc/" 
    XPath="//Status" EnableCaching="false"></asp:XmlDataSource>

    </div>
    <asp:DataList ID="DataList1" runat="server" CellPadding="4" 
        DataSourceID="XmlDataSource1" ForeColor="#333333">
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <AlternatingItemStyle BackColor="White" />
        <ItemStyle BackColor="#EFF3FB" />
        <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <ItemTemplate>
            <em><%# XPath("Username") %>: </em>
            <%# XPath("Text") %><br />
        </ItemTemplate>
    </asp:DataList>
    <br />
    </form>
    <form action="http://localhost/twitter/twitter.svc/newstatuses" method="get">
        <input type="text" name="u" />
        <input type="text" name="t" />
        <input type="submit" />
    </form>  
</body>
</html>




