如何将Oracle10g与VS 2010 C#连接 [英] how to connect Oracle10g with VS 2010 C#

查看:94
本文介绍了如何将Oracle10g与VS 2010 C#连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了oralce 10g和vs 2010以及2012.我想将My C#应用程序连接到oracle数据库。我还需要其他软件吗?请一步一步指导我

I have installed oralce 10g and vs 2010 also 2012. I want to connect My C# application to oracle database. do i need any other software?? please guide me step by step

推荐答案

这取决于你的应用程序的设计以及你打算使用哪个库。

你必须选择来自'MS Data Provider for Oracle','Oracle Data Provider for .NET'等。我建议你使用ODP.NET

你可以在这里找到教程:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/dotnet/getstarted-c/getstarted_c_otn.htm [ ^ ]

如果它不是enogh然后尝试谷歌'c#oracle数据提供程序教程':)
It depends on design of you application and which library you plan to use.
You have to choose from 'MS Data Provider for Oracle', 'Oracle Data Provider for .NET' and others. I suggest you to use ODP.NET
You may find tutorial here:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/dotnet/getstarted-c/getstarted_c_otn.htm[^]
If its not enogh then try to google for 'c# oracle data provider tutorial' :)


你需要oracle客户端安装在您的系统中。您可以在C - >中检查安装状态。 Windows - > system32 - > ODBC。



打开ODBC数据源管理员后,检查系统DNS,这里可以看到oracle客户端。



检查此链接是否相同:为Oracle设置ODBC数据源 [ ^ ]
You need oracle client to install in your system. You can check the installation status in C -> Windows -> system32 -> odbc.

After opening the ODBC Data Source Administrator, check in system DNS the oracle client is visible here.

Check this link for the same : Setting Up an ODBC Data Source for Oracle[^]


这篇关于如何将Oracle10g与VS 2010 C#连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆