> Dear Friends
>
> Can we operate our .dbf database through NET. If yes how ?
>
> With regard
> Anup Singh
> (M.D.)
>
> MARG Compusoft Pvt. Ltd.>
> Email:
anupmarg@gmail.com> Web:
www.margcompusoft.comChoose other in data sources and build the connection string using OleDb provider for VFP. You may need to edit the generated code if you don't use the support that came with SP2 (I don't use that).
In code it looks like:
OleDbConnection cn =
new OleDbConnection(@"Provider=VFPOLEDB;Data Source=c:\MyFolder\MyDatabase.dbc");
// usual ADO.Net commands
You can create typed datasets and use Linq to dataset as well.
However, use VFP tables only if you're doing it to support existing applications in VFP. Otherwise using another backend like MS SQL is the way to go.
Cetin Basoz