我试了,有错误,没学过C#
QQ403202106
我试了,有错误,没学过C#
QQ403202106
use System.Data.SqlClient;
SqlConnection conn = new SqlConnection();
conn.ConnectionString = "Server=localhost;Database=数据库名;User ID=sa;Password=密码; Trusted_Connection=False;";
conn.Open();