ODP.NET类型数据集 [英] ODP.NET Typed Dataset

查看:89
本文介绍了ODP.NET类型数据集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用ODP.NET数据提供程序创建一个类型化数据集,但它在数据源列表中不可用。是特定的Oracle版本吗?

I want to create a typed dataset using the ODP.NET data provider but it is not available in the Datasources list. Is it any Oracle version specific?

我的机器中有Oracle 10g。你能告诉我如何在可用的资源中获得ODP.NET提供者

I have Oracle 10g in my machine. Can you tell me how to get ODP.NET provider in the available sources

 

推荐答案

你好RK9。

感谢您的帖子。

我认为您可以按照以下步骤操作:

I think you could follow the steps as below:



  1. 从Windows程序菜单中,启动Visual Studio。在Visual Studio中,从
    查看
    菜单中选择服务器 资源管理器

右键单击数据连接并选择
添加连接。将打开"添加连接"对话框。

Right click Data Connections and select Add Connection from the menu. An Add Connection dialog box opens.

在"添加连接"对话框中,确保将"数据源"设置为 Oracle数据库服务器( Oracle ODP.NET)

In the Add Connection dialog box, ensure the Data Source is set to Oracle Database Server (Oracle ODP.NET).






 

在"添加连接"对话框中,确保将"数据源"设置为 Oracle数据库服务器(Oracle ODP.NET)

 

注意:如果数据源未设置为 Oracle数据库服务器(Oracle ODP.NET)
点击"更改"选择适当的数据源和数据源提供程序。

Note: If the Data Source is not set to Oracle Database Server (Oracle ODP.NET), click "Change" to select the appropriate data source and the data source provider.

在"更改数据源"对话框中,从"数据源"列表中选择 Oracle数据库服务器从Data Provider下拉列表中选择
Oracle Data Provider for .NET 。点击
确定

In the Change Data Source dialog box, select Oracle Database Server from the Data Source list and select Oracle Data Provider for .NET from the Data Provider drop down list. Click OK.

因为我没有Oracle数据库,所以无法重现您的问题。我引用了
中的步骤
http ://social.msdn.microsoft.com/Forums/en/adodotnetdataset/thread/e438f930-975e-4057-9279-2a688804ebb0

我希望这可以帮到你。

 

度过愉快的一天,


这篇关于ODP.NET类型数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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