将sqlconnection的connectionname设置为interbase; 然后设置sqlconnection的params;最主要是要设置database.下面上设置方法。 To connect to an InterBase database on a remote server using TCP/IP the syntax is <server_name>:<filename>.To connect to an InterBase database on a remote server using NetBEUI, the syntax is: \\<server_name>\<filename>.To connect to an InterBase database on a remote server using SPX, the syntax is: <server_name>@<filename>.
to netwolfds(晓竹) : <filename>是在remote server上的绝对路径吗?我try一下先!!!
然后设置sqlconnection的params;最主要是要设置database.下面上设置方法。
To connect to an InterBase database on a remote server using TCP/IP the syntax is <server_name>:<filename>.To connect to an InterBase database on a remote server using NetBEUI, the syntax is: \\<server_name>\<filename>.To connect to an InterBase database on a remote server using SPX, the syntax is: <server_name>@<filename>.
<filename>是在remote server上的绝对路径吗?我try一下先!!!
<server_name>:<filename> 如:myserver:c:\try\mytry.gdb