Function to Convert Dataset to Excel.
It will export all the table of the given dataset to the given excel.
Example:
ExportDatasetToExcel(dsFinal, "d:\\my.xls")
where dsFinal is my Datase and second parameter is the excel file location. Make sure the excel file exist.