用户sa登陆失败


用户sa登陆失败

文章插图
【用户sa登陆失败】出来混么也不多给点分!!这样人家怎么有积极性呢? protected void Button1_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(("user id=sa;data source=SONG;password=sa");; try{conn.Open(); Label1.Text = "ok"; }catch(Exception e){ MessageBox.Show(e.Message);}finally{conn.Close(); conn.Dispose();}}

    推荐阅读