How to get the filtered excel output in a datatable?