

' Add the query to the collection and return the data source.

' Create an SQL query to access the Products table. ' Create a data source with the required connection parameters.ĭim connectionParameters As New Access97ConnectionParameters("././nwind.mdb", "", "")ĭim ds As New SqlDataSource(connectionParameters) Private Function BindToData() As SqlDataSource
