How to access oracle database (VB.NET)

1.5k views Asked by At

I am new to use oracle and i have a problem of accessing it in a mvc controller.

Here is the connectionstring i defined in web.config file

<connectionStrings>
<add name="DBConnectionString" connectionString="Data Source=abc;Persist Security Info=True;password=123; User Id=user1;"
           providerName="System.Data.OracleClient=" />
</connectionStrings>

How to access this DB in the controller?

Thanks in advance.

1

There are 1 answers

0
Glauco Vinicius On

It really depends on which framework you're using for data access.

But, if you're using pure ADO.NET, you could take a look on that tutorial: Advanced Data Access with ADO.NET and Oracle