C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Windows »

Set up for windows application


Posted Date: 06 Nov 2009      Posted By: Dhanya       Member Level: Silver     Points: 1   Responses: 3



Hello all,

I tried a lot to create a set up for my windows application written in C# and to attach my database(SQLSERVER2005) along with the project.But i cant set the exact path of the database to my project.MY database is in C:\Programfiles\MicrosoftSQLSERVER2005\MSSQL.1\Data\.... and My project is in E:\ drive.How can i attach my database to my project and create the setup successfully.

With my current setup i cant view & add data to my database.Also I would like to add an icon to my setup.How can I do that.I'm new to this windows application.Anybody having ideas,please share it with me.
Thanking you
Dhanya





Responses

Author: vipul    06 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hi,
if you want to attach your database with setup first of all you have to stop all your database then go to write folder of the database and take that database and then create setup.

Please Rate This Answer If They Helpful

Thanks & Regards
Patel Vipul



Author: Pannalal Sinha    06 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

if your database is SQL Server, then no need to attach it to the setup. Your connection string will fetch the database from the server.
You need to just put the connection string properly.

Thanks
Panna



Author: raviranjan singh    14 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

use connection string to connect your application and sql server ..no need to attach setup....


Post Reply
You must Sign In to post a response.
Next : DataGrid View
Previous : Jump 4m one form 2 another
Return to Discussion Forum
Post New Message
Category: Windows

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use