【发布时间】:2014-10-23 11:27:05
【问题描述】:
简单地说,我正在尝试做这样的事情:
<connectionStrings>
<add name="UCCXConnection" connectionString="DSN=UCCXWALLBOARD;Uid=uccxwallboard;Pwd=whatever;" providerName="System.Data.SqlClient" />
</connectionStrings>
我复制了一个普通的 SqlClient 连接字符串并将其更改为 DSN 关键字,以便与 odbc 一起使用。当然这不会起作用,因为 DSN 关键字对于这种连接字符串是无效的。
还需要哪些其他更改或框架才能使用连接字符串连接到 odbc?
【问题讨论】:
标签: asp.net asp.net-mvc odbc connection-string informix