I want to export multiple tables data to excel file. To
fulfill this requirement I going to use CloseXml. You can download and add its
reference to your application or can install package using Nuget. Run the below
command in Nuget package manager:

Install-Package
ClosedXML

Implementation:

I have created 2 table Tb_Population and Employees, insert
some dummy records into it.