Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Grid is not responding to the fill method. vb exrpess 2008

Status
Not open for further replies.

TheMadHater

Programmer
Jun 25, 2009
11
US
Trying to figure out why my data grid is not being filled with the following code.I am using visual studio express 2008 and the sqlserver express that comes with it.



Public Class Form1
Dim VendorsTableAdapter As New DataSet1TableAdapters.vendorsTableAdapter()
Dim DataSet1 As New DataSet1()
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'loading the dataset'

VendorsTableAdapter.Fill(DataSet1.vendors).
end sub


What is wrong with this? the solution compiles but doesn't fill the data grid. I have a data set and a data set binding source on the bottom of the form in design mode. Does anyone know what I am doing wrong?
 
Thanks guys not sure what the issue was but once I started from scratch it worked. I think there was an error in the dataset somewhere.

This issue is closed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top