SqlConnection con = new SqlConnectioncon.Open();string sqlstr = "旅搭御sql语拆岩句枝尺";SqlDataAdapter da = new SqlDataAdapter(sqlstr, con);DataSet ds= new DataSet();da.Fill(ds);dataGridView1.DataSource = ds.Tables[0];con.Close();