Finally making the push to .NET and need some clarification on some working code. This example use SqlCe and .NET CF, but it is a not directly related to Mobile Development.

Code:
        Dim objAdapter As SqlCeDataAdapter
        Dim objDataset As Data.DataSet
        Dim strSQL As String

        strSQL = "SELECT * FROM Accounts"

        objAdapter = New SqlCeDataAdapter(strSQL, "Data Source = \My Documents\test.sdf")

        objDataset = New Data.DataSet()
        objAdapter.Fill(objDataset, "Accounts")

        dgAccounts.DataSource = objDataset.Tables("Accounts")
1) objAdapter is a SqlCeDataAdapter that is used to connect to the SqlCe db.
2) objDataset is configured as Data.DataSet, basically the ADO data connection.
3) The objAdapter is connected to the SqlCe db test.sdf
4) Then objDataset = New Data.DataSet() connects the SqlCe db to the ADO and then fills objDataset with the data slected from the Accounts Table
5) Finally, the datagrid populated with data from objDataset

I guess this is how data is transferred from the DataAdapter to the ADO data connection?

Also, I this the proper use of ' Data.DataSet' or should they be an declared like 'Imports System.Data.SqlServerCe" or someother declaration?

How is the datagrid populated? .NET must have libraries to do this for us, in VB6 we had to load data cell by cell or is this a DataBound control..???

Thanks in advance...