title: How to create csv file in iphone programmatically?
body: <p>I want to convert a database table into a csv file in Iphone. I want to attach the csv file in mail, so it can be viewed in excel sheet in a table form. How can I achieve it?</p>