myconnection=new sqlconnection("server=(local);database=equip;trusted_connection=yes")
either add ASPNET account to your database or create an account using SQL authentication mode and use connection string like
"server=(local);database=equip;uid=YourLoginName;pwd=YourPassword;")
either add ASPNET account to your database or create an account using SQL authentication mode and use connection string like
"server=(local);database=equip;uid=YourLoginName;pwd=YourPassword;")
trusted_connection=yes改成,UID=用户名;PWD=密码,试试