为什么连接数据库老是出错???
class MyConnection{
public SqlConnection GetConnection()
{
string connectionString = "Server=(Local)//TIANBIAO-PC;Initial Catalog=classdata;Integrated Security=true";
SqlConnection myConn = new SqlConnection(connectionString);
return myConn;
}