p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 (http://p2p.wrox.com/forumdisplay.php?f=226)
-   -   CH 15 First Try It Out DataGridView (http://p2p.wrox.com/showthread.php?t=82144)

hlakam January 6th, 2011 01:21 PM

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.

Thanks!


All times are GMT -4. The time now is 12:00 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.