473,408 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

creation of database

Hi,

Using C# beta 2004 Express, I just downloaded sql beta 2005 express. But now
some questions:

1. Some turorials available somewhere to:
- create a database in code
- change structure of it
- loading / saving / indexing of data

2. same with local tables (mdb)

3. Are there not other (free) tables components available for .NET, like
memorytables, or ordinary .dbf tables where I have control myself over the
file saving ?

--
rgds, Wilfried
http://www.mestdagh.biz
Nov 16 '05 #1
3 1254
For creating the Tables and Such you will need to look at TSQL. Or look at
using the SQL-DMO Classes.

I know that there is talk about a managed version of DMO but as of yet I
have not seen any links or articles on it. You might be able to ask on the
channel9 forums for answers.

"Wilfried Mestdagh" <Wi**************@discussions.microsoft.com> wrote in
message news:2D**********************************@microsof t.com...
Hi,

Using C# beta 2004 Express, I just downloaded sql beta 2005 express. But
now
some questions:

1. Some turorials available somewhere to:
- create a database in code
- change structure of it
- loading / saving / indexing of data

2. same with local tables (mdb)

3. Are there not other (free) tables components available for .NET, like
memorytables, or ordinary .dbf tables where I have control myself over the
file saving ?

--
rgds, Wilfried
http://www.mestdagh.biz

Nov 16 '05 #2
Hi Glenn,
For creating the Tables and Such you will need to look at TSQL. Or look at
using the SQL-DMO Classes.


Not simple :(
I'm coming from Delphi. If I wants to create a project with a local database
in any format it take me 30 seconds mouseclicks and the project is up and
running, creating his own files at customar.

Maybe I'm missing something. Can you recommand me some example ? Unless I'm
totally wrong it seems I go back in time 20 years using dbf in .net coding
everyting.... (I hope I'm wrong :)

--
rgds, Wilfried
http://www.mestdagh.biz
Nov 16 '05 #3
You have to remember that dbf are flat file databases and can be very
portable. SQL Server as in SQL Server 2005 Express is a full blown Database
Server. To create a database with this you have to first fire up the
management tools and create the database there, then you have to allocate
the permissions to that database. Once this is done you can then go to your
Visual Studio server manager and connect to your database, From there you
create the tables, stored procedures, and such.

To create stand alone database files (*.mdb) these are just access database
files and you have to ways to create them. the first is to use access to
create the DB, or use ADOX (Witch is unmanaged). To find out about ADOX you
will most likly have to go the the dotnet database groups to get some code.
"Wilfried Mestdagh" <Wi**************@discussions.microsoft.com> wrote in
message news:03**********************************@microsof t.com...
Hi Glenn,
For creating the Tables and Such you will need to look at TSQL. Or look
at
using the SQL-DMO Classes.


Not simple :(
I'm coming from Delphi. If I wants to create a project with a local
database
in any format it take me 30 seconds mouseclicks and the project is up and
running, creating his own files at customar.

Maybe I'm missing something. Can you recommand me some example ? Unless
I'm
totally wrong it seems I go back in time 20 years using dbf in .net coding
everyting.... (I hope I'm wrong :)

--
rgds, Wilfried
http://www.mestdagh.biz

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hans Horn | last post by:
Howdy, is there a way to speed-up or tune the database creation? On my laptop (DB2-UDB PE) it takes 2 minutes to create a virgin database. This virgin, btw. is 30MBytes heavy. Is there a way to...
1
by: Borek | last post by:
Hello, I am getting the beforementioned error when trying to populate DataSet object with data taken from SQL2k database. Then I want to bind DataSet to GridView control. But when I use...
5
by: MLH | last post by:
A97 aborts creation of MDE reporting that there's a compile error in one form. Sure enough, if I remove the form from the source database and attempt to compile the MDE, it succeeds. But when I...
1
by: Mrozik | last post by:
Hi! I have Web Application with forms authentication. Data and security model resides in Oracle database. I have 'login' page with MS 'Login' control. In my LoggingIn event for debug purposes I...
3
by: Limunski Magarac | last post by:
Hi all :) My apologies if I posted in the wrong groups, but I just jumped in MS SQL waters, so any guidance will be appreciated. What I'm trying to do is the following process: present...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.