I'm writing a web application, that's not user or record intensive. For a given form, I need to pull up a record, and certain fields will be from one table, and other fields from other tables, join by primary/foreign keys.
My question is, is it easier to get the data directly from the sql statement, doing the join within it, and returning it to a table in a dataset, or is it better to pull each table into the dataset, relate them with a datarelation, and populate from that?
Keep in mind that a user will be paging through the records, and editing them as they find the one that needs editing.
Thanks for any help.
My question is, is it easier to get the data directly from the sql statement, doing the join within it, and returning it to a table in a dataset, or is it better to pull each table into the dataset, relate them with a datarelation, and populate from that?
Keep in mind that a user will be paging through the records, and editing them as they find the one that needs editing.
Thanks for any help.