Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 15th, 2006, 10:34 AM
Authorized User
 
Join Date: Apr 2006
Location: amman, amman, Jordan.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to al-hijjawi
Default how to create data base at run time

hello every body
i am working in an e-mall project and i must create database for each store in my mall , the problem is that i will create the databases for the stores at the run time (i.e when the store owner click a command button in an ASP.NET page), what the ADO.NET statments i can use here ????
(i am use ASP.NET with VB.net)
and thanks

Reply With Quote
  #2 (permalink)  
Old April 16th, 2006, 08:11 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

This largely depends on the type of database you want to create.
If you need a Microsoft Access database, take a look here: http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=143

If you want to create a SQL Server database, you can execute DDL commands, like CREATE DATABASE, CREATE TABLE etc against an open connection.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Reply With Quote
  #3 (permalink)  
Old April 16th, 2006, 09:55 AM
Authorized User
 
Join Date: Apr 2006
Location: amman, amman, Jordan.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to al-hijjawi
Default

thank you Imar
you help me too much
i am want sql server database so i am use create database and create table statments as you said
and every thing is 100%
thank you again

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CREATE TRIAL BASE Vision G Access VBA 2 April 16th, 2008 09:38 AM
Run time error 429- ActiveX component can't create carswelljr VB How-To 2 September 8th, 2006 12:22 PM
changing data source location at run time sandeepjakhotya Crystal Reports 0 April 16th, 2006 05:40 AM
Create Controls in Run Time Fredu Access 3 January 8th, 2005 10:03 AM
Create report at run time navinkaus Crystal Reports 1 May 22nd, 2004 07:16 AM



All times are GMT -4. The time now is 05:57 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.