How to connect server through server explorer in VS.NET?

J

joseph

Hi,

I am learning the LINQ now. I tried to connect a database through network
using the VS.NET's Server Explorer (but failed), so I can drag and drop the
table to the LINQ to SQL designer. Can someone tell me how to do it? Or,
point me to a site that will can help this situation?

Other than using the Server Explorer to create the LINQ Classes, what other
ways that can do this?

Thanks in advance.

Joseph
 
C

Cor Ligthert[MVP]

Hello Joseph,

Open project explorer or the tab Projects.

Choose for Add new Item -> Linq to Sql
Don't forget to change the default name and be aware that that name will
extended with DataContext forever.


Open Server explorer
Connect to a server and choose from that the tables or all tables and from
that the columns.

Build.

Cor
 
C

Cor Ligthert[MVP]

Hello Joseph,

Open project explorer or the tab Projects.

Choose for Add new Item -> Linq to Sql
Don't forget to change the default name and be aware that that name will
extended with DataContext forever.


Open Server explorer
Connect to a server and choose from that the tables or all tables and from
that the columns.

Build.

Cor
 

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

Top