There is assuming you're using a DB. Create a Union SQL. Basically, get your two pieces of SQL put then in one view or stored proc and stick the word UNION between them.
Also, I have had much success using a single stored procedure with multiple SELECT statements that I loop through passing dynamic values, clearing the parameters each time, then re-running as necessary. This allows me to continue to populate the same datagrid on the fly from any source (even multiple tables). There are plenty of easier ways, but this gives me a great deal of control including adding in rows to create subheaders.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.