[求助]插入数据的问题
string strConn = "server=localhost;uid=sa;password=987654321;database=testDB";SqlConnection conn = new SqlConnection(strConn);
conn.Open();
string strSql="insert into test values('"+ name.Text +"','"+ password.Text + "')";
SqlCommand myCommand = new SqlCommand(strConn,conn);
myCommand.ExecuteNonQuery();
哪里错了? 网页提示是 = 号附近有错,但实在找不到