G
Guest
Greeting
I have a .net Windows application with a procedure that loads some comboboxes from SQL server. I make the connection to SQL with SQLconnection object, run a command against this Object and load the results to a DataTable object
My question is will the datatable object still store the resultset if I end the procedure with a SQLconnection.close, thus allowing the user to run in a disconnected state, with the data in the comboboxes cached in the dataTable objects? When is the Datatable object destroyed? On a redim or closed connection? What I would like to do is get into the DB, get the data for the form controls, get out of DB, and stay out until the app is reloaded. Thanks all
I have a .net Windows application with a procedure that loads some comboboxes from SQL server. I make the connection to SQL with SQLconnection object, run a command against this Object and load the results to a DataTable object
My question is will the datatable object still store the resultset if I end the procedure with a SQLconnection.close, thus allowing the user to run in a disconnected state, with the data in the comboboxes cached in the dataTable objects? When is the Datatable object destroyed? On a redim or closed connection? What I would like to do is get into the DB, get the data for the form controls, get out of DB, and stay out until the app is reloaded. Thanks all