SqlConnection cn =newSqlConnection(" Data Source=.\\sqlexpress;Initial Catalog=stuinfo;Integrated Security=True");string sql ="select count(*) from Login where User_ID=@User_ID and User_Pwd=@User_Pwd";SqlCommand cmd =newSqlCommand
登录界面账号密码登录判断 SqlConnection cn = new SqlConnection(" Data Source=.\\sqlexpress;Initial Catalog=stuinfo;Integrated Security=True"); string sql = "select count(*) from Login where User_ID=@User_ID and User_Pwd=@User_Pwd";