dataGridView1.DataSource = ds.Tables["excel"];可以在datagridview中正确显示了。可是,当我载入另外一个不同的Excel后(ds已经清空),提示字段类型不匹配。我怀疑是不是datagridview.datasource没有清空啊?请高手明示!