ConnString="Driver={SQL Native Client};Server=(local);Database=szyang;Uid=sa;Pwd=123456;"
ConnString="Driver={SQL Native Client};Server=(local);Database=szyang;Trusted_Connection=yes;"
ConnString="Driver={SQL Native Client};Server=(local);Database=szyang;Trusted_Connection=yes;MARS_Connection=yes;"
說明:上面三個字符串都可以進行連接,其他數據操作方法就和SQL2000差不多了,大家可以試一試。
ConnString="Driver={SQL Native Client};Server=(local);Database=szyang;Trusted_Connection=yes;"
ConnString="Driver={SQL Native Client};Server=(local);Database=szyang;Trusted_Connection=yes;MARS_Connection=yes;"
說明:上面三個字符串都可以進行連接,其他數據操作方法就和SQL2000差不多了,大家可以試一試。