1

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 Answer 1

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.