Wrox Programmer Forums
BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 by Thearon Willis, Bryan Newsome; ISBN: 9780764574016
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 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 January 6th, 2011, 01:21 PM
Registered User
Join Date: Jan 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Cool CH 15 First Try It Out DataGridView

Hi All,

Thanks in advance for your help!

I am newb to visual basic, and am learning to program in VB 2005.

The problem I am having is with the first Try It Out in Chapter 15. I created the data grid view and made all the appropraite selections and ran the application. The application runs fine, but the data from CutomerQuery doesn't load in the application. When I preview the data under DataGridView Tasks, it loads just fine.

Here is the code that is generated by VB:

Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'NorthwindDataSet.CustomerQuery' table. You can move, or remove it, as needed.
Me.CustomerQueryTableAdapter.Fill(Me.NorthwindData Set.CustomerQuery)
End Sub
End Class

I am running VB 2005 on Windows 7 Premium Home and Access 2003.


Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 15: Highlighting Elements Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 1 November 9th, 2008 09:39 PM
Ch 15 - Security aspcoder BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 May 3rd, 2008 02:55 PM
CH.15 NEED HELP stacy BOOK: Beginning ASP 3.0 1 January 21st, 2004 03:37 AM
Professional C# Second Edition Ch 15 Mike Smith BOOK: Professional C#, 2nd and 3rd Editions 0 January 5th, 2004 09:45 AM

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