我写了一个终端软件,可以直接访问本地的,或是局域网内的SQL数据库,可是BOSS要求的是要让使用这个软件的人,在任意地点,都能通过INTERNET进行数据的访问,请教一下大家我该怎么做,我的网络拓谱结构是这样的。100M光纤(WEB服务器的)->光猫->路由->服务器

解决方案 »

  1.   

    dim cn as new connection
    cn.open "Provider=Ms Remote;Remote server =http://www.my.com;Remote Provider=MSDASQLl;Dsn=Pubs"
    dim re as new recordset
    re.cursorlocation=aduseclient
    re.open tablename,cn,adopenstatic,adlockbatchoptimistic,adcmdtable
      

  2.   

    dim cn as new connection
    cn.open "Provider=Ms Remote;Remote server =http://www.my.com;Remote Provider=MSDASQLl;Dsn=Pubs"
    dim re as new recordset
    re.cursorlocation=aduseclient
    re.open tablename,cn,adopenstatic,adlockbatchoptimistic,adcmdtable
    同意。