could using ADO.NET to access database in different VLAN??

G

Guest

I want built my project using C# Application.
and using ADO.NET 2.0 to access database.
My Database was be in VLAN and my Application was be in Another VLAN//
for exam :
My DataBase in : 192.168.2.XXX
And my Application : 192.168.3.XXX

So I want Ask you??
Could I using ADO.NET to Access my database???

Thanks and Regards!!!
 
D

David Browne

I want built my project using C# Application.
and using ADO.NET 2.0 to access database.
My Database was be in VLAN and my Application was be in Another VLAN//
for exam :
My DataBase in : 192.168.2.XXX
And my Application : 192.168.3.XXX

So I want Ask you??
Could I using ADO.NET to Access my database???

That's just a networking question. To communicate from one network to
another using IP you need a router.

David
 
G

Guest

David Browne said:
That's just a networking question. To communicate from one network to
another using IP you need a router.

David

I think you didn't understand what i said.
I want to ask you: could I using ADO.NET to access database in other network.
i write my project by C# application ( Not Web services).
what can I do with ADO.NET??
 
D

David Browne

I think you didn't understand what i said.
I want to ask you: could I using ADO.NET to access database in other
network.
i write my project by C# application ( Not Web services).
what can I do with ADO.NET??

Assuming you have TCP/IP connectivity between the boxes ADO.NET should work
fine.

David
 
T

Theo Verweij

As long as you can connect to the other lan on the correct port, and
your database is supporting TCP/IP, you can use Ado.Net

The same is true for webservices (except the database doesn't have to
support TCP/IP, because this webservice can use another protocol to
access the database)
 
C

Cor Ligthert [MVP]

Ngoctt,

That depends from your databaseserver. With SQLserver it will normally go
fine for Jet (access) you need a webservice.

I hope this gives an idea,

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