Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 29th, 2010  |  syntax: HTML  |  size: 1.05 KB  |  hits: 131  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
  2.    CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
  3.  
  4. <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
  5. </asp:Content>
  6. <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
  7.     <h2>
  8.         Welcome to ASP.NET!
  9.     </h2>
  10.     <p>
  11.         To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>.
  12.     </p>
  13.     <p>
  14.         You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&amp;clcid=0x409"
  15.            title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>.<br />
  16.     </p>
  17.     <br />
  18.     <asp:GridView ID="GridView1" DataSourceID="SqlDataSource1" runat="server"></asp:GridView>
  19.     <asp:SqlDataSource ID="SqlDataSource1" runat="server" SelectCommand="SELECT [URL], [Name] FROM [RSSFEEDS]" ConnectionString="Data Source=MATHEW-PC\SQLEXPRESS;Initial Catalog=Test;Integrated Security=True" />
  20. </asp:Content>