Database Connection

N

nbohana

I am using MS Visual Studio 2005. I am building a web application. my initial
data base connection was to SQL Express. I would like to change to SQL
Server. I have defined my database and tables and would like to use them. In
my APP_DATA it has file:///D:\ePims\App_Data\ASPNETDB.MDF, I would like to
use ICC-SERVER.PAIMS.DBO. Can someone please guide me.
 
S

Sundar Narasiman

nbohana,

There are two ways you can achieve this.
1. You can connect to the Remote Database Server and do the data access
using normal ADO.NET way.
2. If you don't want to talk to full blown SQL Server and you want to follow
the SQL Express Way (APP_DATA), you can still copy the database from the
remote SQL Server and place it in APP_DATA folder


Please let me know what you are exactly looking for
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top