Using Base with a C# Program

Discuss the database features
Post Reply
High0ctane
Posts: 1
Joined: Wed Feb 18, 2009 3:34 am

Using Base with a C# Program

Post by High0ctane »

Hello,

I'm working on a project for a friend, and I have a couple questions. It's pretty much my first program using a database. I decided to try Base. So:

1-I found a namespace in C# to interact with ODBC Databases...I saw that Base databases are saved in .odb format, I'M guessing that the System.Data.Odbc namespace is the right one huh?

2-What would be a typical connection string for a Base database? I'm pretty much only missing the provider string...

3-Can I still use something like Crystal Reports to create my reports using the data in my Base database?

4-Is there a size limit for the Base databases?

5-Does my client have to have Base installed on his PC for him to use my program with my database?


Sorry for the newb questions... :oops:
OOo 3.0.X on MS Windows Vista
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Using Base with a C# Program

Post by Villeroy »

Base is not a "database program". Your *.odb is a zip actually. The zip contains a database frontend consisting of some configuration and embedded Writer documents (forms and reports).
There is one "special" type of database where the raw data of a http://hsqldb.org backend is wrapped into the same zip-archive as the frontend. This is what the developers call a "self-contained database".
No, there is no connection string for a zip.
http://user.services.openoffice.org/en/ ... 13&t=14060
http://user.services.openoffice.org/en/ ... 373#p63373
http://user.services.openoffice.org/en/ ... 817#p61737
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply