what type of error throws? can u post here please?
I saw your code and there nothing wrong with your code...
may be you need drives for u to access your novelserv....
also try to use bindingsource
Private Sub GridOphalen()
Dim mijnDataAdapter As SqlDataAdapter
Dim mijnDataSet As New DataSet
Dim connectionString As String = My.Settings.HulpstoffenConnectionString()
Dim SQLString As String = "Select * From Hulpstof"
mijnDataAdapter = New SqlDataAdapter(SQLString, connectionString)
mijnDataSet.Tables.Add(
"From Hulpstof")
dataAdapter1.Fill(mijnDataSet.Tables(
"From Hulpstof"))
Me.BindingSource1.DataSource = (mijnDataSet.Tables("From Hulpstof"))
Me.DataGridView1.DataSource = Me.BindingSource1
End Sub
this should solve your problem...
Don't judge me, just Upgrade me. Thanks!