Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 24th, 2006, 06:55 AM
Authorized User
 
Join Date: May 2006
Location: , , United Kingdom.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to bcr212
Default Page 228 TIO 5 Fixtures.aspx [VB]

The greyed code seems incorrect, at least it doesnt work for me.
Code that does work for me is as follows :

<%@ Page Language="VB" MasterPageFile="~/site.master" AutoEventWireup="false" CodeFile="Fixtures.aspx.vb" Inherits="Fixtures" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    Pick a date<br />
    <br />
    <br />
    <asp:ListBox ID="ListBox1" runat="server"
    DataSource="<%# ListOfMonths %>"
    >
    </asp:ListBox>

    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
    ConnectionString="<%$ ConnectionStrings:WroxUnitedConnectionString3 %>"
        SelectCommand="SELECT * FROM [Fixtures]">
        </asp:SqlDataSource>

</asp:Content>


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch05: TIO-0503-HyperlinkTarget.aspx dogrady BOOK: Beginning ASP.NET 2.0 and Databases 1 April 17th, 2008 03:52 AM
Fixtures aspx ..need help please merlin89 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 September 29th, 2006 04:59 AM
Defiinate Error with fixtures.aspx merlin89 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 September 26th, 2006 05:12 PM
Fixtures.aspx in c# merlin89 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 September 22nd, 2006 10:08 AM
70-228 desireemm SQL Server 2000 0 April 27th, 2005 02:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.