I am trying to export c# datatable contents to csv file using ajax.
Here is the code to serialize datatable to json.
string JSONString = string.Empty; JSON