P
Peter Rilling
To minimize database calls, I would like to have a single stored procedure
return all the data necessary to display on my page. This information is
related from several different tables and what I would like to do is to
match the information loaded into a DataSet with the information in the
database. For instance, suppose that I have a Customer table and an Order
table. I would like to return a single customer and all their orders in a
single shot to display. I would like to take advantage of the DataSets
ability of handle relationships. What is the accepted practice for turning
the information from a stored procedure into a DataSet with complex
relationships? Is there any automatic process that will do this?
return all the data necessary to display on my page. This information is
related from several different tables and what I would like to do is to
match the information loaded into a DataSet with the information in the
database. For instance, suppose that I have a Customer table and an Order
table. I would like to return a single customer and all their orders in a
single shot to display. I would like to take advantage of the DataSets
ability of handle relationships. What is the accepted practice for turning
the information from a stored procedure into a DataSet with complex
relationships? Is there any automatic process that will do this?