J
Jerry
Hi,
I have a question about a DataReader. In my business component I want to
create a DataReader from a stored procedure and pass it back to my UI
process control in which passes to to UI via a delegate to be loaded into a
combobox. My question is since DataReader keeps the connection open until
it is disposed is it better to use the DataReader instead of the DataSet?
Right now I use a DataSet however I really only need a datareader. Another
question I have when I bind a DataSet to a control is the DataSet still in
memory even if it goes out of scope?
Thanks
I have a question about a DataReader. In my business component I want to
create a DataReader from a stored procedure and pass it back to my UI
process control in which passes to to UI via a delegate to be loaded into a
combobox. My question is since DataReader keeps the connection open until
it is disposed is it better to use the DataReader instead of the DataSet?
Right now I use a DataSet however I really only need a datareader. Another
question I have when I bind a DataSet to a control is the DataSet still in
memory even if it goes out of scope?
Thanks