Using Base with a C# Program

Discuss the database features

Using Base with a C# Program

Postby High0ctane » Wed Feb 18, 2009 3:42 am

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
High0ctane
 
Posts: 1
Joined: Wed Feb 18, 2009 3:34 am

Re: Using Base with a C# Program

Postby Villeroy » Wed Feb 18, 2009 12:24 pm

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.
viewtopic.php?f=13&t=14060
viewtopic.php?f=13&t=13293&p=63373#p63373
viewtopic.php?f=13&t=12817#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
User avatar
Villeroy
Volunteer
 
Posts: 29594
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany


Return to Base

Who is online

Users browsing this forum: No registered users and 4 guests