Click here to Skip to main content
15,923,789 members
Home / Discussions / C#
   

C#

 
GeneralRe: I want to get the create query of existing table Pin
joerozario19-Mar-07 22:42
joerozario19-Mar-07 22:42 
GeneralRe: I want to get the create query of existing table Pin
Russell Jones20-Mar-07 3:36
Russell Jones20-Mar-07 3:36 
GeneralRe: how to get create query of msaccess table through c# Pin
V.19-Mar-07 22:57
professionalV.19-Mar-07 22:57 
QuestionOleDBConnection Pin
zenithmaximus19-Mar-07 17:27
zenithmaximus19-Mar-07 17:27 
AnswerRe: OleDBConnection Pin
sujithkumarsl19-Mar-07 19:16
sujithkumarsl19-Mar-07 19:16 
AnswerRe: OleDBConnection Pin
spotl19-Mar-07 22:48
spotl19-Mar-07 22:48 
QuestionAnyone that has used SQLExpress as their db? Pin
Glen Harvy19-Mar-07 16:57
Glen Harvy19-Mar-07 16:57 
AnswerRe: Anyone that has used SQLExpress as their db? Pin
Russell Jones19-Mar-07 22:27
Russell Jones19-Mar-07 22:27 
The MSSQL service needs to know about the database for the database to work. I've just looked up the attachDBFileName property and it looks like it should attach the db so all should be well.

http:MSDN article

this article mentions a couple of potential issues:

The db file must be writable.
You might not want to copy in the ldf file as it should create a new one when you first connect.

A problem i had in the past with copying mdf files was that if you haven't detached it before you copy it, it might not be in a consistent state and then it fails to reattach properly

HTH

Russ

PS posting the connection errors you are getting might help.
GeneralRe: Anyone that has used SQLExpress as their db? [modified] Pin
Glen Harvy19-Mar-07 23:25
Glen Harvy19-Mar-07 23:25 
JokeRe: Anyone that has used SQLExpress as their db? Pin
joon vh.20-Mar-07 0:47
joon vh.20-Mar-07 0:47 
GeneralRe: Anyone that has used SQLExpress as their db? Pin
Glen Harvy20-Mar-07 1:38
Glen Harvy20-Mar-07 1:38 
GeneralRe: Anyone that has used SQLExpress as their db? Pin
Russell Jones20-Mar-07 1:02
Russell Jones20-Mar-07 1:02 
GeneralRe: Anyone that has used SQLExpress as their db? Pin
Glen Harvy20-Mar-07 1:48
Glen Harvy20-Mar-07 1:48 
AnswerRe: Anyone that has used SQLExpress as their db? Pin
Glen Harvy22-Mar-07 22:26
Glen Harvy22-Mar-07 22:26 
QuestionHow to get data from PHP into C# Windows Application? [modified] Pin
Khoramdin19-Mar-07 15:57
Khoramdin19-Mar-07 15:57 
AnswerRe: How to get data from PHP into C# Windows Application? Pin
Vasudevan Deepak Kumar19-Mar-07 16:11
Vasudevan Deepak Kumar19-Mar-07 16:11 
QuestionRe: How to get data from PHP into C# Windows Application? Pin
Khoramdin19-Mar-07 16:21
Khoramdin19-Mar-07 16:21 
AnswerRe: How to get data from PHP into C# Windows Application? Pin
dsl/fahk19-Mar-07 16:41
dsl/fahk19-Mar-07 16:41 
AnswerRe: How to get data from PHP into C# Windows Application? Pin
Christian Graus19-Mar-07 16:45
protectorChristian Graus19-Mar-07 16:45 
QuestionRe: How to get data from PHP into C# Windows Application? Pin
Khoramdin19-Mar-07 20:51
Khoramdin19-Mar-07 20:51 
AnswerRe: How to get data from PHP into C# Windows Application? Pin
joon vh.20-Mar-07 0:49
joon vh.20-Mar-07 0:49 
QuestionIn a forms app, how to get a reference to object that has focus? Pin
sherifffruitfly19-Mar-07 14:15
sherifffruitfly19-Mar-07 14:15 
AnswerRe: In a forms app, how to get a reference to object that has focus? Pin
dsl/fahk19-Mar-07 16:05
dsl/fahk19-Mar-07 16:05 
GeneralRe: In a forms app, how to get a reference to object that has focus? Pin
sherifffruitfly19-Mar-07 17:32
sherifffruitfly19-Mar-07 17:32 
QuestionA simple soap client tutorial in C# Pin
Liottru19-Mar-07 12:58
Liottru19-Mar-07 12:58 

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.