G
Guest
Two parter:
1.) Which is better to fill a listbox or dropdownlist, a dataset or
datareader? Both use a connection, but dataset uses memory. And if you're
only fill a dropdownlist or listbox does it matter? Maybe if you need the
same data for another control?
2.) If the dataset (datatable) uses memory, then when do you set to nothing?
I know the connection close automatically, but what about the memory useage?
thanx.
1.) Which is better to fill a listbox or dropdownlist, a dataset or
datareader? Both use a connection, but dataset uses memory. And if you're
only fill a dropdownlist or listbox does it matter? Maybe if you need the
same data for another control?
2.) If the dataset (datatable) uses memory, then when do you set to nothing?
I know the connection close automatically, but what about the memory useage?
thanx.