Posted on: 2/21/2014 1:41:41 PM | Views : 758

Hi All,
I have a function which selects data from a SQL table and writes it to a datatable which then is converted to a CSV files and a file download presented to the user.
I want to have some type of system where I can detect the size of the datatable, and for example, if its greater than 20MB, the user would be directed to a new function which would ZIP the CSV file.
Does anyone know how I would achieve this?

Go to the complete details ...