想用ado.net连接SybaseIQ15.0.2,客户端数据库不在同一台机器,不知道连接接字符串该怎么写。谢谢!
在windows上安装sybaseiq数据库15.0.2客户端后,客户端里有个连接字符串的一个例子,如下:
-------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<add name="SampleEntities" connectionString="metadata=res://*/SampleModel.csdl|res://*/SampleModel.ssdl|res://*/SampleModel.msl;provider=iAnywhere.Data.SQLAnywhere;provider connection string='DataSourceName="SQL Anywhere 11 Demo"'" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>
--------------------------------------------------------------------------------------------------------------------------