Problems with Streamwriter
<p>I know it sounds really stupid, but I have a really easy application that saves some data from some users on a database, and then I want to write all the data on a .txt file.</p>

<p>The code is as follows:</p>

<pre><code>    List&lt;MIEMBRO&gt; listaMiembros = bd.MIEMBRO.ToList&lt;MIEMBRO&gt;();


    fic.WriteLine("PARTICIPACIONES GRATUITAS MIEMBROS: ");
    mi = new Miembro();
    foreach (MIEMBRO_GRATIS m in listaMiembroGratis)
    {
         mi.setNomMiembro(m.nomMiembro);
         mi.setNumRifa(m.numRifa.ToString());
         fic.WriteLine(mi.ToString());
    }
    fic.WriteLine();
</code></pre>

<p>As you see, really easy code. The thing is: I show the information on a datagrid and I know there are lots of more members, but it stops writing in some point. </p>

<p>Is there any number of lines or characters to write on the streamwriter?? Why I can't write all the members, only part of them???</p>
