If I have a class that returns a basic set of data such as:
varchar Costcode, varchar costdescription, double costamount, double rateofexchange, datetime dateandtime and a few other int fields. All basic stuff.
What is the best return type for this class? From reading the web it seems a datatable is best and a dataset is too slow for simple data.
The datatable/set or other will be used to populate invoice prints (html/pdf) and update another sql table so i'm not looking for much functionality in the returned type.
This is already working but the code is all stuck behind a button click event.
thanks for any advice.