[Mono-list] Managed access to Dbase files?

Jonathan Stowe jns@gellyfish.com
Wed, 09 Jun 2004 11:38:48 +0100


On Wed, 2004-06-09 at 08:35, Stefan Mecke wrote:
> Hi!
> 
> >>> Does anyone know a purely managed .Net way to query *.dbf files?  I'm 
> >>> using MapServer to do some web GIS stuff with ESRI shapefiles, but 
> >>> would like to use Mono's ASP.NET for querying.  Any ideas?
> 
> > I have started work on a DataProvider for xBase files, but I haven't
> > really done a great deal as when I brought it up in:
> 
> I'm just having the same problem and thought of writing a data provider 
> on my own. A few months ago, I wrote a VB6-DLL for this purpose and I 
> considered porting it. A first look a the "Writing a data 
> provider"-topic discourage me, since it seems to be quite complex.
> 
> So if you could provide your code with the .NET-compatible framework, I 
> would try to fill it with the file-operation routines. In the end, I'd 
> like the code to be under any free license.
> 

Actually I think I am in much the same position as you are, I have the
code for reading and writing the tables - I just got slack before I
started implementing the requisite IData* and IDb* methods :-s

> 
> Kindest regards,
> S. Mecke
> 
> PS: something I found, but I did not look at it yet:
> http://www.c-sharpcorner.com/Code/2002/Feb/xBaseEngineRFV.asp
> 

Unfortunately this code is managed C++ so can't be built with mono and
also similarly doesn't implement a proper DataProvider.

/J\