You can do that in the query/stored procedure that populates the dataset - something like thisIF EXISTS
(
SELECT *
FROM Table1
WHERE Monthcol = @Month
)
SELECT col1,
col2,
col3
FROM Table1
WHERE Monthcol = @Month
ELSE
SELECT col1,
col2,
col3
FROM Table2
WHERE Monthcol = @Month;