add ASPNET account to your database or use SQL authentication mode, change
Dim strConnection As String = "server=localhost; database=Northwind; integrated security=true"
===>
Dim strConnection As String = "server=localhost; database=Northwind; uid=sa; pwd=;"or
Dim strConnection As String = "server=localhost; database=Northwind; uid=YourValidSQLLoginID; pwd=YourValidSQLPassword;"

解决方案 »

  1.   

    Dim strConnection As String = "server=localhost; database=Northwind; " &  "integrated security=true"
    试试在
    该句加上你的SQLSERVER的用户名密码  &"uid=sa;pwd=****"
      

  2.   

    在strConnection As String 中加上你的SQL2000SERVER uid="你的登录ID"
    PWD="你的登录PASSWORD",应该可以连上。
      

  3.   

    如思归所说,将Sql的验证模式改为混合模式
    企业管理器--》服务器--》右键--》属性
      

  4.   

    你的是windows授权登陆,必须在安全性->登录,click右键,把aspnet的帐户加入到登录中,总授予一定的权限