title: Export .csv file from Datatable Or List in c# asp.net?
body: <p>I had seen many solution to export csv file using either StringBuilder and Foreach.
  but nobody can describe what will happens when following condition will come?</p>
  
  <p>But my question is what happens when contains comma(,) into field value?
  I want export data with comma(,) value</p>
  
  <p>Before giving answer please read carefully my question. For more help i giving you an example table as given below.</p>
  
  <p><strong>Example table:</strong></p>
  
  <pre>
  Field-1                Field-2                      Field-3
  Dummy data             27 Oct, 2012                 Mark,David,Nancy etc...
  Dummy data             27 Oct, 2012                 Mark,David,Nancy etc...
  Dummy data             27 Oct, 2012                 Mark,David,Nancy etc...
  Dummy data             27 Oct, 2012                 Mark,David,Nancy etc...
  Dummy data             27 Oct, 2012                 Mark,David,Nancy etc...
  And so on......
  </pre>
  
  <p>I want export above data into .csv file.
  Also i want export exact value.<br> <strong>Not with double quote e.g "27 Oct, 2012" NOT VALID</strong></p>