Click here to Skip to main content
15,907,497 members
Home / Discussions / C#
   

C#

 
AnswerRe: run application c# Pin
Gerry Schmitz24-Oct-14 3:35
mveGerry Schmitz24-Oct-14 3:35 
GeneralRe: run application c# Pin
Ibrahim.elh24-Oct-14 3:41
Ibrahim.elh24-Oct-14 3:41 
GeneralRe: run application c# Pin
Dave Kreskowiak24-Oct-14 3:49
mveDave Kreskowiak24-Oct-14 3:49 
GeneralRe: run application c# Pin
Ibrahim.elh24-Oct-14 3:52
Ibrahim.elh24-Oct-14 3:52 
GeneralRe: run application c# Pin
Dave Kreskowiak24-Oct-14 3:53
mveDave Kreskowiak24-Oct-14 3:53 
GeneralRe: run application c# Pin
Pete O'Hanlon24-Oct-14 3:55
mvePete O'Hanlon24-Oct-14 3:55 
GeneralRe: run application c# Pin
Ibrahim.elh24-Oct-14 3:59
Ibrahim.elh24-Oct-14 3:59 
GeneralRe: run application c# Pin
Pete O'Hanlon24-Oct-14 4:04
mvePete O'Hanlon24-Oct-14 4:04 
AnswerRe: run application c# Pin
V.26-Oct-14 21:33
professionalV.26-Oct-14 21:33 
GeneralRe: run application c# Pin
Ibrahim.elh26-Oct-14 21:39
Ibrahim.elh26-Oct-14 21:39 
GeneralRe: run application c# Pin
V.26-Oct-14 21:53
professionalV.26-Oct-14 21:53 
Questionproblem when launching application Pin
Ibrahim.elh23-Oct-14 21:06
Ibrahim.elh23-Oct-14 21:06 
AnswerRe: problem when launching application Pin
OriginalGriff23-Oct-14 21:36
mveOriginalGriff23-Oct-14 21:36 
GeneralRe: problem when launching application Pin
Ibrahim.elh23-Oct-14 21:45
Ibrahim.elh23-Oct-14 21:45 
AnswerRe: problem when launching application Pin
OriginalGriff23-Oct-14 21:59
mveOriginalGriff23-Oct-14 21:59 
GeneralRe: problem when launching application Pin
Ibrahim.elh23-Oct-14 22:05
Ibrahim.elh23-Oct-14 22:05 
GeneralRe: problem when launching application Pin
OriginalGriff23-Oct-14 22:24
mveOriginalGriff23-Oct-14 22:24 
GeneralRe: problem when launching application Pin
Ibrahim.elh23-Oct-14 22:32
Ibrahim.elh23-Oct-14 22:32 
GeneralRe: problem when launching application Pin
OriginalGriff23-Oct-14 22:38
mveOriginalGriff23-Oct-14 22:38 
GeneralRe: problem when launching application Pin
Ibrahim.elh23-Oct-14 22:45
Ibrahim.elh23-Oct-14 22:45 
GeneralRe: problem when launching application Pin
Pete O'Hanlon23-Oct-14 22:42
mvePete O'Hanlon23-Oct-14 22:42 
GeneralRe: problem when launching application Pin
Ibrahim.elh23-Oct-14 23:01
Ibrahim.elh23-Oct-14 23:01 
GeneralRe: problem when launching application Pin
Pete O'Hanlon23-Oct-14 23:08
mvePete O'Hanlon23-Oct-14 23:08 
GeneralRe: problem when launching application Pin
Ibrahim.elh23-Oct-14 23:15
Ibrahim.elh23-Oct-14 23:15 
AnswerRe: problem when launching application Pin
eljainc24-Oct-14 10:59
eljainc24-Oct-14 10:59 
You must instantiate the connection and then open a database. Here is an example


OdbcConnection cnn = new OdbcConnection("DSN=DATABASE");
cnn.Open();


The parameter in this case would be the connection string. There are many different ways the connection string may be formed. It depends partially on which database type you are opening (SQL Server, MsAccess, Oracle, etc)

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.