i have try to send over OleDbDataAdapter or dataset to client but i cant get it in clientside.


Public Function getWeekDayTBLDA() As OleDbDataAdapter
Dim sqlQ As String = "SELECT * FROM weekDayTBL"
Dim myAdapter As New OleDbDataAdapter(sqlQ, myConnection)

Return myAdapter
End Function

Or

Public Function getWeekDayTBLDS() As DataSet
Dim sqlQ As String = "SELECT * FROM weekDayTBL"
Dim myAdapter As New OleDbDataAdapter(sqlQ, myConnection)

Dim myDS = New DataSet("weekDayTBL")
myAdapter.Fill(myDS)

Return myDS
End Function

------------------------------------
In client side i cant use those fuction? why?

What i wanna do is connect a datagridview that show the databaseinfo