Found this interesting question:
You need to display the sales data for your unit over the past 5 years in the DataGrid in a web form. Performance is very important. What would be the best strategy to use when retrieving data?
- a) Use a DataReader object to retrieve data for a DataGrid.
- b) Use a DataSet to retrieve data for a DataGrid.
- c) Use a simple select statement as a data source for a DataGrid.
- d) Use the cached XML file as source data and retrieve data using a DataSet.
My answer is: c) but I'm not too sure Can someone please point me to the correct answer and explain it to me, please Thanks
source
share