By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,201 Members | 937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,201 IT Pros & Developers. It's quick & easy.

C# Local Database?

P: n/a
Hi,

Are there any examples of building a simple local database with
C# Express 2005?

TIA

Nov 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
What kind of local database are you talking about? You can use a local
install of SQL Express (which shouldn't be too much of a big deal), or use
Access (if it truly is local, and multiple users wont be using it at the
same time).

Can you give a little more information about what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul M." <Paul M.@discussions.microsoft.com> wrote in message
news:DF**********************************@microsof t.com...
Hi,

Are there any examples of building a simple local database with
C# Express 2005?

TIA

Nov 17 '05 #2

P: n/a
I have an installation of sql express along with C# express and this is what
I would like to use. First off, just a flat file database is what I would
like to do and I will be the only user of the db.

"Nicholas Paldino [.NET/C# MVP]" wrote:
What kind of local database are you talking about? You can use a local
install of SQL Express (which shouldn't be too much of a big deal), or use
Access (if it truly is local, and multiple users wont be using it at the
same time).

Can you give a little more information about what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul M." <Paul M.@discussions.microsoft.com> wrote in message
news:DF**********************************@microsof t.com...
Hi,

Are there any examples of building a simple local database with
C# Express 2005?

TIA


Nov 17 '05 #3

P: n/a
Paul,

If you are going to use flat files, then you don't have a need for SQL
Server express. If you want to use a flat file, then you should use the
text file provider for OLE DB (through the System.Data.OleDb namespace).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul M." <Pa***@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
I have an installation of sql express along with C# express and this is
what
I would like to use. First off, just a flat file database is what I would
like to do and I will be the only user of the db.

"Nicholas Paldino [.NET/C# MVP]" wrote:
What kind of local database are you talking about? You can use a
local
install of SQL Express (which shouldn't be too much of a big deal), or
use
Access (if it truly is local, and multiple users wont be using it at the
same time).

Can you give a little more information about what you are trying to
do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul M." <Paul M.@discussions.microsoft.com> wrote in message
news:DF**********************************@microsof t.com...
> Hi,
>
> Are there any examples of building a simple local database with
> C# Express 2005?
>
> TIA
>


Nov 17 '05 #4

P: n/a
Thanks for your quick reply. So, I am assuming that if I wanted to store blob
objects I would need to use sql server?

"Nicholas Paldino [.NET/C# MVP]" wrote:
Paul,

If you are going to use flat files, then you don't have a need for SQL
Server express. If you want to use a flat file, then you should use the
text file provider for OLE DB (through the System.Data.OleDb namespace).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul M." <Pa***@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
I have an installation of sql express along with C# express and this is
what
I would like to use. First off, just a flat file database is what I would
like to do and I will be the only user of the db.

"Nicholas Paldino [.NET/C# MVP]" wrote:
What kind of local database are you talking about? You can use a
local
install of SQL Express (which shouldn't be too much of a big deal), or
use
Access (if it truly is local, and multiple users wont be using it at the
same time).

Can you give a little more information about what you are trying to
do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul M." <Paul M.@discussions.microsoft.com> wrote in message
news:DF**********************************@microsof t.com...
> Hi,
>
> Are there any examples of building a simple local database with
> C# Express 2005?
>
> TIA
>


Nov 17 '05 #5

P: n/a
Paul,

You could always convert the bytes into a string using Base 64 encoding,
but that might make for some VERY big fields. Also, you can use blobs in
Access, but that wouldn't be a flat file anymore.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul M." <Pa***@discussions.microsoft.com> wrote in message
news:5A**********************************@microsof t.com...
Thanks for your quick reply. So, I am assuming that if I wanted to store
blob
objects I would need to use sql server?

"Nicholas Paldino [.NET/C# MVP]" wrote:
Paul,

If you are going to use flat files, then you don't have a need for
SQL
Server express. If you want to use a flat file, then you should use the
text file provider for OLE DB (through the System.Data.OleDb namespace).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Paul M." <Pa***@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
>I have an installation of sql express along with C# express and this is
>what
> I would like to use. First off, just a flat file database is what I
> would
> like to do and I will be the only user of the db.
>
> "Nicholas Paldino [.NET/C# MVP]" wrote:
>
>> What kind of local database are you talking about? You can use a
>> local
>> install of SQL Express (which shouldn't be too much of a big deal), or
>> use
>> Access (if it truly is local, and multiple users wont be using it at
>> the
>> same time).
>>
>> Can you give a little more information about what you are trying
>> to
>> do?
>>
>>
>> --
>> - Nicholas Paldino [.NET/C# MVP]
>> - mv*@spam.guard.caspershouse.com
>>
>> "Paul M." <Paul M.@discussions.microsoft.com> wrote in message
>> news:DF**********************************@microsof t.com...
>> > Hi,
>> >
>> > Are there any examples of building a simple local database with
>> > C# Express 2005?
>> >
>> > TIA
>> >
>>
>>
>>


Nov 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.