Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 15th, 2006, 10:34 AM
Authorized User
Join Date: Apr 2006
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

Old April 16th, 2006, 08:11 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

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.


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

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

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

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