Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connecting to and manipulating DBF's from .NET
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00709562
Message ID:
00709576
Views:
12
Hi Ken,

You should use the OLEDB provider that ships with VFP 7.0 for accessing your data and then use the OLEDB Managed provider in .NET. To see some examples of how to do this, there is a whitepaper and samples download at:

http://www.gotdotnet.com/team/vfp/

this page has all kinds of good resources for VFP developers using .NET. The whitepaper is called "Using ASP.NET in Visual Studio .NET with Visual FoxPro 7.0" (scroll about half way down on the page).

>Hello,
>
>I have a few .DBF's that I want to manipulate in a Web Form. I have downloaded the ODBC .NET Data Provider, and am trying to work with the Microsoft.Data.Odbc class to create a connection.
>
>a) Is this the right approach ?
>b) Are people able to use the odbc classes with DBF's ... DataReader, DataAdapter ect.
>c) Any code you have make the connections would be appreciated, but I really need to know if I am on the right track. From all of the MS docs, this looks like untested territory. .NET appears to support SQL server, Access and Oracle out-of-the-box, and I am not sure about anything else !
>
>Thanks in advance,
>Ken
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform