两种填充方式的区别?
方式一:sqlConnection1.Open();this.sqlAdapter.Fill(this.dataSetBook);
sqlConnection1.Close();
方式二:
DataSetBook dsBookTemp=new DataSetBook();
sqlConnection1.Open();
this.sqlAdapter.Fill(dsBookTemp);
sqlConnection1.Close();
this.dataSetBook.clear();
this.dataSetBook.Merge(dsBookTemp);