|
-
Feb 20th, 2006, 12:17 PM
#1
Thread Starter
Junior Member
[RESOLVED] how to send over database info from sever to client?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|