程序很简单,如下: SqlConnection nwindConn = new SqlConnection(System.Configuration.ConfigurationSettings.AppSettings[ " ConnectionString " ]);nwindConn.Open();SqlDataAdapter catDA = new SqlDataAdapter( "