Click here to Skip to main content
16,015,032 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help needed in C# - Mobile App Development Pin
Not Active9-Aug-09 4:54
mentorNot Active9-Aug-09 4:54 
QuestionMenuStrip sub item added event Pin
Xmen Real 9-Aug-09 4:37
professional Xmen Real 9-Aug-09 4:37 
AnswerRe: MenuStrip sub item added event Pin
Richard Blythe9-Aug-09 9:20
Richard Blythe9-Aug-09 9:20 
GeneralRe: MenuStrip sub item added event Pin
Xmen Real 9-Aug-09 14:56
professional Xmen Real 9-Aug-09 14:56 
QuestionNTFS & FAT direct access Pin
Mark Brend9-Aug-09 3:39
Mark Brend9-Aug-09 3:39 
AnswerRe: NTFS & FAT direct access Pin
Henry Minute9-Aug-09 5:01
Henry Minute9-Aug-09 5:01 
GeneralRe: NTFS & FAT direct access Pin
Mark Brend10-Aug-09 1:44
Mark Brend10-Aug-09 1:44 
QuestionC# and SQL deployment issue Pin
labdakos9-Aug-09 3:22
labdakos9-Aug-09 3:22 
Hi!

I am new to programming with SQL so I really need help on this one. After I finish an application with no errors or bugs, i tried to launch it in different computers. However, most computers encouter SQL errors while loading the application, either a timeout error or the application simply crashes due to the inability to load the data from an SQL database.

My questions are the following:

1. Do you need an SQL server running in the computer where you will deploy the application? Though in some computers, the application worked even though they do not have an SQL Server.

2. Should I modify something in the connection string when I am already deploying the software? Is there a difference in the connection string when the program is running in my computer and in other computers?

My connection string is this:
"Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\MyDatabase.mdf;Integrated Security=True;User Instance=True";

I tried modifying the timeout but the error still remains.


3. Where could I have missed something?

Sorry if I am missing something trivial here.

Thanks in advance for those who will respond! You'll really be helping me a lot.

Thanx!
AnswerRe: C# and SQL deployment issue Pin
pelnor9-Aug-09 5:04
pelnor9-Aug-09 5:04 
AnswerRe: C# and SQL deployment issue Pin
pelnor9-Aug-09 5:11
pelnor9-Aug-09 5:11 
QuestionRead XML File and load result in datagridview Pin
Member 47429229-Aug-09 2:31
Member 47429229-Aug-09 2:31 
AnswerRe: Read XML File and load result in datagridview Pin
Eddy Vluggen9-Aug-09 4:52
professionalEddy Vluggen9-Aug-09 4:52 
QuestionHow to Export Contents of DataTable and DataGridView in Excel without using Excel object. Pin
sharad Pyakurel9-Aug-09 1:36
sharad Pyakurel9-Aug-09 1:36 
AnswerRe: How to Export Contents of DataTable and DataGridView in Excel without using Excel object. Pin
Infarkt9-Aug-09 3:31
Infarkt9-Aug-09 3:31 
AnswerRe: How to Export Contents of DataTable and DataGridView in Excel without using Excel object. Pin
sharad Pyakurel10-Aug-09 1:55
sharad Pyakurel10-Aug-09 1:55 
Questionproblem writing to a file: The process cannot access the file 'c:\scene.xml' because it is being used by another process Pin
reilak9-Aug-09 1:28
reilak9-Aug-09 1:28 
AnswerRe: problem writing to a file: The process cannot access the file 'c:\scene.xml' because it is being used by another process Pin
Luc Pattyn9-Aug-09 1:33
sitebuilderLuc Pattyn9-Aug-09 1:33 
GeneralRe: problem writing to a file: The process cannot access the file 'c:\scene.xml' because it is being used by another process Pin
reilak9-Aug-09 1:45
reilak9-Aug-09 1:45 
GeneralRe: problem writing to a file: The process cannot access the file 'c:\scene.xml' because it is being used by another process Pin
Luc Pattyn9-Aug-09 1:47
sitebuilderLuc Pattyn9-Aug-09 1:47 
GeneralRe: problem writing to a file: The process cannot access the file 'c:\scene.xml' because it is being used by another process Pin
reilak9-Aug-09 1:50
reilak9-Aug-09 1:50 
GeneralRe: problem writing to a file: The process cannot access the file 'c:\scene.xml' because it is being used by another process Pin
Luc Pattyn9-Aug-09 1:55
sitebuilderLuc Pattyn9-Aug-09 1:55 
GeneralRe: problem writing to a file: The process cannot access the file 'c:\scene.xml' because it is being used by another process Pin
reilak9-Aug-09 2:03
reilak9-Aug-09 2:03 
GeneralRe: problem writing to a file: The process cannot access the file 'c:\scene.xml' because it is being used by another process Pin
Luc Pattyn9-Aug-09 2:15
sitebuilderLuc Pattyn9-Aug-09 2:15 
QuestionCan I get the code of any *.exe file?? Pin
CoderForEver8-Aug-09 9:01
CoderForEver8-Aug-09 9:01 
AnswerRe: Can I get the code of any *.exe file?? Pin
harold aptroot8-Aug-09 9:47
harold aptroot8-Aug-09 9:47 

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.