[求助]关于SQL引用的问题
错误 1 类型“System.Data.SqlClient.SqlConnection”同时存在于“c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll”和“h:\软\.net\Common7\IDE\PublicAssemblies\System.Data.SqlClient.dll”中 F:\C#\项目\bank\bank\bank.cs 86 17 bankprivate SqlConnection GetConnectoin()
{
SqlConnection conn = new SqlConnection();
conn.ConnectionString = connString;
return conn;
}
private SqlDataReader GetDataReader(string cmdString, SqlConnection conn)
{
SqlCommand comm = new SqlCommand();
comm.CommandText = cmdString;
comm.Connection = conn;
SqlDataReader reader = comm.ExecuteReader();
return reader;
}
private void Update(string cmdString, SqlConnection conn)
{
SqlCommand comm = new SqlCommand();
comm.CommandText = cmdString;
comm.Connection = conn;
comm.ExecuteNonQuery();
}
请问错在哪啊,帮帮忙啊