我有
DataTable dt;
DataRow[] drArray = dt.Select().ToArray();
Run Code Online (Sandbox Code Playgroud)
我的要求是我想以最快的方式转换drArray为List<string[]>
或转换数据表List<string[]>.
我在网络配置文件中有以下连接字符串:
<连接字符串>
<add name="ConString2" connectionString="Data Source=testdb;Persist Security Info=True;User ID=test;Password=test;Unicode=True;" providerName="System.Data.OracleClient"/>
<add name="ConString3" connectionString="Data Source=testdb;Persist Security Info=True;User ID=test;Password=test;Unicode=True;" providerName="Oracle.DataAccess.Client"/>
</connectionStrings>
我想以加密格式保留连接字符串,当我用来从数据库中获取数据时,我想解密连接并连接到数据库。
请帮助我获取有关 oracle.dataaccess.dll 和 oracle.managementdataaccess.dll 之间有什么区别以及托管 dll 相对于数据访问 dll 的优点是什么的信息