Hi, I'm newbye in that theme. I would like put the data of a dBase in a
DataGridView, why make that?.
I'm open my database with this instructions:
'----------------
Dim Tabla As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=" _
& Folder & ";Extended Properties=dBASE IV")
Tabla.Open()
Folder = Path.GetFileNameWithoutExtension(ruta) 'Name of the file
Dim Comando As New OleDbCommand("Select * From " & Folder, Tabla) 'Select
all values in the dBase
Dim da1 As New OleDbDataAdapter(Comando)
Dim DataSet As New Data.DataSet
da1.Fill(DataSet) 'I put all the info in the dataset.
Tabla.Close()
'----------------
Now I need put all that data in a Datagridview, and I don´t find an example
about how make that; My datagridview is clear, don't have any columns, I
would like add diferent dBase and make columns and rows for each database.
Thanks in advance for any help.
Freddy Coal