Click here to Skip to main content
15,902,714 members
Home / Discussions / C#
   

C#

 
GeneralRe: having trouble making messenger Pin
Dave Kreskowiak26-Dec-05 5:59
mveDave Kreskowiak26-Dec-05 5:59 
GeneralRe: having trouble making messenger Pin
HakunaMatada23-Dec-05 17:28
HakunaMatada23-Dec-05 17:28 
GeneralRe: having trouble making messenger Pin
Dave Kreskowiak26-Dec-05 6:03
mveDave Kreskowiak26-Dec-05 6:03 
GeneralRe: having trouble making messenger Pin
HakunaMatada26-Dec-05 17:22
HakunaMatada26-Dec-05 17:22 
GeneralRe: having trouble making messenger Pin
Dave Kreskowiak28-Dec-05 1:57
mveDave Kreskowiak28-Dec-05 1:57 
Questioncant connect to sql 2005 database Pin
kourvoisier22-Dec-05 19:06
kourvoisier22-Dec-05 19:06 
AnswerRe: cant connect to sql 2005 database Pin
Colin Angus Mackay22-Dec-05 22:14
Colin Angus Mackay22-Dec-05 22:14 
GeneralRe: cant connect to sql 2005 database Pin
kourvoisier23-Dec-05 12:26
kourvoisier23-Dec-05 12:26 
Colin Angus Mackay wrote:
Data Source=MachineName\InstanceName


I still get the same error.

here is connection string i used among others

"Data Source=./SQLEXPRESS; Initial Catalog=dbEasyManager; User id=sa;Password=;"

after adding a connection thru database explorer, by browsing thru the files and selecting the actual database, it stated i made a successful connection. It then generated a connection string.....(below)

Data Source=.\SQLEXPRESS;AttachDbFilename="C:\Program Files\MicrosoftSQLServer\MSSQL.\MSSQL\Data\dbEasyManager.mdf";Integrated Security=True;ConnectTimeout=30;UserInstance=True

I was going to test this connection string in my code but couldnt figure out how to make the whole thing a string with the extra ""'s in it throws the syntax off.

Bottom line is i still cant connect to my database

I am using SQL server 2005 express and
visual 2005 c# express on a windows xp machine

the name of my database is dbEasyManager.mdf

someone help me, is there any other info you need to get me connected, its got to be something little i just cant figure it out.

HELP
GeneralRe: cant connect to sql 2005 database Pin
kourvoisier23-Dec-05 13:54
kourvoisier23-Dec-05 13:54 
GeneralRe: cant connect to sql 2005 database Pin
kourvoisier23-Dec-05 16:45
kourvoisier23-Dec-05 16:45 
QuestionDelete a folder with data in c#.net Pin
Malayil alex22-Dec-05 18:54
Malayil alex22-Dec-05 18:54 
AnswerRe: Delete a folder with data in c#.net Pin
Gerben Jongerius22-Dec-05 18:55
Gerben Jongerius22-Dec-05 18:55 
Questionelectronic usage Pin
Sheharyar_JH22-Dec-05 18:29
Sheharyar_JH22-Dec-05 18:29 
AnswerRe: electronic usage Pin
GDavy22-Dec-05 20:52
GDavy22-Dec-05 20:52 
GeneralRe: electronic usage Pin
leppie23-Dec-05 0:07
leppie23-Dec-05 0:07 
GeneralRe: electronic usage Pin
Dave Kreskowiak23-Dec-05 6:05
mveDave Kreskowiak23-Dec-05 6:05 
AnswerRe: electronic usage Pin
leppie23-Dec-05 0:10
leppie23-Dec-05 0:10 
QuestionDatagrid problem in c# Pin
yaminilathatv22-Dec-05 17:53
yaminilathatv22-Dec-05 17:53 
AnswerRe: Datagrid problem in c# Pin
PrakashBhaskar22-Dec-05 18:07
PrakashBhaskar22-Dec-05 18:07 
QuestionVirtual and override. Pin
HakunaMatada22-Dec-05 17:23
HakunaMatada22-Dec-05 17:23 
AnswerRe: Virtual and override. Pin
Gerben Jongerius22-Dec-05 19:06
Gerben Jongerius22-Dec-05 19:06 
GeneralRe: Virtual and override. Pin
HakunaMatada22-Dec-05 19:39
HakunaMatada22-Dec-05 19:39 
AnswerRe: Virtual and override. Pin
GDavy22-Dec-05 20:47
GDavy22-Dec-05 20:47 
GeneralRe: Virtual and override. Pin
HakunaMatada22-Dec-05 21:26
HakunaMatada22-Dec-05 21:26 
QuestionWebService Pin
flysky61822-Dec-05 16:24
flysky61822-Dec-05 16:24 

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.