最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
连接到oracl数据库(二 )
时间:2022-07-02 12:09:34 编辑:袖梨 来源:一聚教程网
经典:
using System;
using System.Data.OleDb;
namespace CourseEditor.Logic
{
///
/// Summary description for DB.
///
public class DB:System.Data.OleDb.OleDbConnection
{
public DB()
{
this.ConnectionString="Provider=MSDAORA;DataSource=ORCL_192.168.0.202;User ID=test;password=";
}
}
}
在VS.NET Bulid 9150里面无法继承System.Data.SqlClient,不过在Beta1里面可以对ADO或者SQL方式都极方便的继承:)
using System;
using System.Data.OleDb;
namespace CourseEditor.Logic
{
///
/// Summary description for DB.
///
public class DB:System.Data.OleDb.OleDbConnection
{
public DB()
{
this.ConnectionString="Provider=MSDAORA;DataSource=ORCL_192.168.0.202;User ID=test;password=";
}
}
}
在VS.NET Bulid 9150里面无法继承System.Data.SqlClient,不过在Beta1里面可以对ADO或者SQL方式都极方便的继承:)
相关文章
- 阴阳师SSR孔雀明王强度介绍 05-20
- 明日方舟CW 05-20
- bitkeep官网下载app 05-20
- Ordi币安卓版官方登录版 05-20
- 《金铲铲之战》怒翼龙阵容装备搭配 05-20
- 欧易trust钱包安卓版2024 05-20