I checked many solutions but neither of them working for me. I tried NaveenBhat's answer and Akhter's Answer as well. Code runs well and there is not any error but file save popup is not appearing. I tried 2 browsers(i.e. Chrome and Firefox) and confirmed that localHost current port is allowed popups. Stuck now.
Is there anything missing in those 2 answers? OR
What should i try to Export excel from DataTable in C#?