General information
Category:
Coding, syntax and commands
Title:
Cant connect to a VFP Table
Hi.
I have a web.config file with:
connectionString="Provider=vfpoledb.1;Data Source=C:\Webportal\App_Data\WP.dbc;Collating Sequence=MACHINE;"
string Cs = settings.ConnectionString;
string CommandString = "SELECT * FROM .....";
SqlDataAdapter da = new SqlDataAdapter(CommandString, Cs);
On the SqlDataAdapter line , I am getting a run time error saying:
keyword not supported 'provider'
It looks like there's something wrong with the connection string
Anybody got any ideas ?
Regards,
Gerard
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only