title: Write DB information to a file - good appraoch?
body: <p>I have a DB and a mapping framework which was written by the company Im working for. So I have a class for each table in the DB and those classes allow to call the DB and get various information in DataSets or DataTables for example. Now I am supposed to write that information to a TXT file in a certain format (I have the specs how it should look like). Its about estates, there will be many estates in a file and for each estates there are about 40 lines in the file. I know how to write to a file and stuff, what I am looking for is a good approach how to build this functionality in general.</p>
  
  <p>This might be too general to give good advice, but is there a proven way to do such things?</p>
  
  <p>Thanks :-)</p>