Click here to Skip to main content
15,910,878 members
Home / Discussions / C#
   

C#

 
AnswerRe: Newline in DataGrid Pin
Nader Elshehabi16-May-06 15:42
Nader Elshehabi16-May-06 15:42 
GeneralRe: Newline in DataGrid Pin
Sean8916-May-06 15:47
Sean8916-May-06 15:47 
GeneralRe: Newline in DataGrid Pin
Josh Smith16-May-06 18:40
Josh Smith16-May-06 18:40 
GeneralRe: Newline in DataGrid Pin
leppie16-May-06 19:18
leppie16-May-06 19:18 
QuestionPrinting any file using Shell Pin
emran83416-May-06 13:44
emran83416-May-06 13:44 
AnswerRe: Printing any file using Shell Pin
Nader Elshehabi16-May-06 15:36
Nader Elshehabi16-May-06 15:36 
GeneralRe: Printing any file using Shell Pin
emran83416-May-06 19:06
emran83416-May-06 19:06 
GeneralRe: Printing any file using Shell Pin
emran83418-May-06 0:09
emran83418-May-06 0:09 
GeneralRe: Printing any file using Shell Pin
Nader Elshehabi18-May-06 16:22
Nader Elshehabi18-May-06 16:22 
GeneralRe: Printing any file using Shell Pin
emran83418-May-06 16:48
emran83418-May-06 16:48 
GeneralRe: Printing any file using Shell Pin
Nader Elshehabi19-May-06 11:34
Nader Elshehabi19-May-06 11:34 
GeneralRe: Printing any file using Shell Pin
emran83419-May-06 21:52
emran83419-May-06 21:52 
GeneralRe: a question about SQL Pin
emran83420-May-06 20:03
emran83420-May-06 20:03 
GeneralRe: a question about SQL [modified] Pin
Nader Elshehabi21-May-06 11:27
Nader Elshehabi21-May-06 11:27 
GeneralRe: a question about SQL [modified] Pin
emran83425-May-06 13:13
emran83425-May-06 13:13 
AnswerRe: a question about SQL [modified] Pin
Nader Elshehabi28-May-06 5:05
Nader Elshehabi28-May-06 5:05 
I'm sorry I've replied Late, but I hope not too late.Smile | :)

This message appears when there is no connection between your application and SQL server. Not necessarily across a network. You must have realized that you need SQLExpress installed on the user's computer for your application to work. So your deployment project must include an install option to install SQLExpress Before installing your application. To do this, follow these steps:
1- Right click on the name of your deployment project in the Solution explorer
2- Click on the properties
3- Click on the "Prerequisites" Button.
4- Check the check box on top if this dialog, it should say "Create setup program to intstall..."
5- Now, in the list check on
a) Microsoft Data access components
b) .Net framework
c) Windows Installer
d) SQL server 2006 Express Edition
6- You should see three radio buttons in the lower part of the dialog. Check the meddle one.

Now pree OK and SQL express will be installed with your application Only if it's not already installed on the target computer. Notice that It will NOT be uninstalled after uninstalling your application. To do this you have to put it in the custom actions of your setup program.

This will work only if you have Visual Studio 2005. Steps on older versions are more complicated. If this doesn't work for any reason, I'm here for your next post.Smile | :)
GeneralRe: a question about SQL [modified] Pin
emran83428-May-06 18:09
emran83428-May-06 18:09 
AnswerRe: a question about SQL [modified] Pin
Nader Elshehabi29-May-06 13:22
Nader Elshehabi29-May-06 13:22 
QuestionHow to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 12:53
TinaQ16-May-06 12:53 
AnswerRe: How to preserve line feed character in C# TextBox ? Pin
Office Lineman16-May-06 13:06
Office Lineman16-May-06 13:06 
AnswerRe: How to preserve line feed character in C# TextBox ? Pin
Christian Graus16-May-06 13:16
protectorChristian Graus16-May-06 13:16 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 13:48
TinaQ16-May-06 13:48 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
Christian Graus16-May-06 14:00
protectorChristian Graus16-May-06 14:00 
GeneralRe: How to preserve line feed character in C# TextBox ? Pin
TinaQ16-May-06 14:08
TinaQ16-May-06 14:08 
QuestionHow to stop service from being stopped Pin
DUKEMAN16-May-06 11:22
DUKEMAN16-May-06 11:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.