使用C#为oracle创建连接字符串 [英] create connection string for oracle using c#

查看:91
本文介绍了使用C#为oracle创建连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用以下信息创建连接字符串以从asp.net连接oracle数据库.

ipaddress;
sid
userid;
密码;

Create a connection string to connect oracle database from asp.net using following information.

ipaddress;
sid
userid;
password;

推荐答案

朋友,

创建到ORACLE的连接字符串:

1.打开记事本
2.在桌面上另存为"filename.udl"
3.通过双击
打开filename.udl 4.转到提供程序选项卡,然后选择"Oracle的Microsoft OLEDB提供程序"
5.单击NEXT
6.它将带您到连接"选项卡
7.输入服务器名称
8.您的oracle的用户名和密码
9.单击测试连接按钮
10.您将获得成功的连接消息
11.然后关闭它.
12.右键单击打开filename.udl文件,然后选择使用NOtepad打开
13.您会找到到Oracle的连接字符串.
Hi friend,

Create Connection string to ORACLE:

1. Open notepad
2. save as "filename.udl" on desktop
3. open filename.udl by double clicking
4. Go to provider tab ans select "Microsoft OLEDB provider for Oracle"
5.click on NEXT
6. It will take you to Connection tab
7. enter the server name
8. user name and password of your oracle
9. click on test connection button
10. You will get successfull connectoin message
11. Then close it.
12. Open the filename.udl file by right clicking on and select open with NOtepad
13. You will find a connection string to Oracle.


连接字符串 [ ^ ]


浏览下面的链接
http://www.shabdar.org/c-sharp/101-connect-to-oracle-using-asp-net-and-csharp.html [ http://docs.oracle.com/cd/B28359_01/appdev.111/b28844/using_aspnt.htm [ ^ ]
http://www.codeguru.com/csharp/csharp/cs_network/database/article. php/c8477 [ ^ ]

谢谢
--RA
Go through the links below
http://www.shabdar.org/c-sharp/101-connect-to-oracle-using-asp-net-and-csharp.html[^]
http://docs.oracle.com/cd/B28359_01/appdev.111/b28844/using_aspnt.htm[^]
http://webdesign.ittoolbox.com/groups/technical-functional/asp-dotnet-l/how-to-connect-oracle-database-in-aspnet-2005-c-using-oledb-provider-1705513[^]
http://www.codeguru.com/csharp/csharp/cs_network/database/article.php/c8477[^]

Thanks
--RA


这篇关于使用C#为oracle创建连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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