How can one make a connection to a Paradox database? I cannot find odbcconnection for this one.
You should use the OleDbConnection with a connection string like the following:
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
OleDbConnection cn = new OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\somepath;Extended Properties=Paradox 5.x;");
See http://support.microsoft.com/default.aspx?scid=kb;en-us;326548#6 for more information.
Dig Deeper on Win Development Resources
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ...continue reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers.continue reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.