Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 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 January 6th, 2007, 06:43 AM
Authorized User
Join Date: Nov 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Upload Database

Hi experts
I am working on desktop application in C#. i have made a Setup of my project. but problem is this i creates my database manually. but i want that database creates automatically when setup run. How is it possible. Pls help me.

Thanks and Regards
Kumar Ashish
Kumar Ashish
Old January 8th, 2007, 05:34 AM
Authorized User
Join Date: Feb 2006
Posts: 63
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Hannibal

You want the database to be created in the client machine , when u run the setup, rite..

Old February 11th, 2007, 10:46 AM
Friend of Wrox
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts

you can create a sqlcommand that runs the sp_attach db in your logo form

for more help see the sql auery analyzer help
search for sp_AttachDB

enjoy it

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload and Retrive image from database ashokkumar ASP.NET 1.0 and 1.1 Basics 0 June 9th, 2006 03:46 AM
Upload to Access database malachany ASP.NET 1.x and 2.0 Application Design 1 January 10th, 2005 10:29 AM
Upload image to database or not to database? thachnn SQL Server ASP 0 October 11th, 2004 03:00 AM
How to upload a database onto the intranet? MilkPudding Access ASP 8 June 16th, 2004 03:17 PM

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