SqlConnection con = new SqlConnection("Integrated Security=SSPI;database=BookInfoM;server=.\\SQLEXPRESS;"); 这么写试试