J
J L
I have two questions regarding the use of DataAdapters:
1. If I am going to retrieve multiple tales to a DataSet using
multiple DataAdapter Fill's is it best to create a separate
DataAdapter for each table or to create one and change it's
SelectCommand property between each Fill?
2. Related to number 1, is it best to explicitly open the connection
before the series of Fill's and close after rather than allow each
DataAdapter to implicitly open and close the connection.
TIA,
John
1. If I am going to retrieve multiple tales to a DataSet using
multiple DataAdapter Fill's is it best to create a separate
DataAdapter for each table or to create one and change it's
SelectCommand property between each Fill?
2. Related to number 1, is it best to explicitly open the connection
before the series of Fill's and close after rather than allow each
DataAdapter to implicitly open and close the connection.
TIA,
John