Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 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
 
Old August 18th, 2003, 07:53 AM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 16 Pg 581 WroxAuthors.vb

Hi there,

I just typed in the code for the WroxAuthor Example, running the page show an error message:

Ausnahmedetails: System.Data.OleDb.OleDbException: Syntaxfehler in JOIN-Operation.

Quellfehler:


Zeile 22: Else
Zeile 23:
Zeile 24: DataGrid1.DataSource=objWroxAuthors.GetAuthorsByBo ok(DropDownList1.SelectedItem.Value)
Zeile 25: Datagrid1.DataBind()
Zeile 26:




It seems to me that the SQL-query( in the compiled WroxAuthors.vb file) for the DataAdapter-object is not correct although i typed it 100% correctly , and the error message also refers to a incorrect JOIN operation:

"SELECT Authors.AuthorFirstName, " & _
                "Authors.AuthorSurname, Books.Title FROM Authors LEFT JOIN Books ON " & _
                "Authors.Book = Book.Title WHERE (((Books.ISBN)='" & ISBN & "'));"

Can anybody tell me what's wrong?

 
Old August 18th, 2003, 08:27 AM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry - it was my fault. The sql command was wrong ! :(





Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning VB.NET 2003 Chapter 16 siegmeister BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 7 October 8th, 2012 11:29 AM
Pg 16 Green Arrow? Astrocloud BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 5 March 17th, 2008 09:34 AM
chapter 16 pg 570 andrewajp002 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 3 February 5th, 2006 07:16 PM
Beginning VB.Net 2003 - Chapter 16 dougmcgee BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 7 July 15th, 2005 04:42 AM
Beginning VB.Net Chapter 16 tjs206 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 February 10th, 2004 02:28 PM





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