Aspnet登录的后台代码 急需登录的后台代码,可以参考此文档。string conn = "server=.;database=login;user id=sa;pwd=123"; SqlConnection cn = new SqlConnection(conn); cn.Open(); string strsql = "