用法:
//实例化
private LDHData db;
...
//connectionstring 数据库连接字符串
db = new LDHData(connectionstring);
附常用数据库连接字符串结构
1.SQLServer连接
Provider=SQLOLEDB.1;Password=;Persist Security Info=True;trusted_connection=no;User ID=;Initial Catalog=;Data Source=
2.Orcal连接
Provider=OraOLEDB.Oracle;Data Source=;User Id=;Password=;
3.Access连接
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=
4.MySql连接
Provider=MySQLProv;Data Source=;User Id=;Password=;
5.Excel连接
Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties=Excel 8.0;Persist Security Info=False;Data Source=
6.FoxPro DBF文件连接
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=;Extended Properties=dBASE IV;