hi,
I have a connection in vb6 and dbase works good.
VB Code:
DbPath = "Microsoft Dbase driver (*.dbf)" With Cn .ConnectionString = "driver={" + DbPath + "};dbq=D:\INS2002\DBF" .Open End With
but what is wrong of my code when i transfer this code to c# it appears an error.
Anyone about this.VB Code:
string DbPath = "Microsoft Dbase driver (*.dbf)"; OleDbConnection dbcon = new OleDbConnection(); dbcon.ConnectionString ="driver={" + DbPath + @"};dbq=D:\INS2002\DBF"; dbcon.Open();
note : pls see picture attachment.
Popskie




Reply With Quote