Specifying the Connection to the Database

Class library usage, coding and language questions.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Specifying the Connection to the Database

Post by omayer » Fri Apr 13, 2012 8:44 pm

what will be the syntax to make connection to the database, thank you in advance


// Use a connection string.
DataContext db = new DataContext
(@"//mydatabase name is xxx\yyy8");
Tipu

User avatar
slavikf
Posts: 104
Joined: Mon Sep 13, 2010 9:07 pm
Location: Toronto, Canada
Contact:

Re: Specifying the Connection to the Database

Post by slavikf » Mon Apr 16, 2012 2:56 pm

Check reply here, too see if it answers your question:

http://www.ranorex.com/forum/connecting ... tml#p13484