Hello:
I'm trying to connect "DataGridView" to ".MDB" file
from the code:
string connectionString =
"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\\file.MDB";
OleDbConnection connection = new OleDbConnection(connectionString);
connection.Open();
DataGridView1.DataSource = connection.DataSource;
DataGridView1.DataMember = "tblTime;
When execution get to the line:
"DataGridView1.DataMember = "tblTime".ToString(); "
There is exception:
"Child list for field tblTime cannot be created."
Does somebody know what i'm doing wrong ?
thank you,
dave