Thanks for your post.......
I thinkig if to make a datagrid it is better solution.
I make a new prodgect with only one data grid and i have add 2 columns and 1 combobox.
In form load i write this code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Con As OleDbConnection
Dim adapter As New OleDbDataAdapter
Dim dataSet As New DataSet
Dim sqlCmd As OleDbCommand = New OleDbCommand("Select * from line order by line_id")
Con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source = C:\Documents and Settings\Roidoulis\Επιφάνεια εργασίας\Roller_Database\bin\Debug\Roller_old.mdb")
Try
Con.Open()
sqlCmd.Connection = Con
adapter.SelectCommand = sqlCmd
adapter.Fill(dataSet)
With DataGridView1
.DataSource = dataSet.Tables(0)
End With
Catch
End Try
adapter.Dispose()
Con.Close()
Con.Dispose()
End Sub
The datagrid fill ok BUT me three first column stay empty.
How can i fill me own columns fron the table??