Obviously I'm using ASP.NET to create my pages. Instead of using a data grid I put a table on my web form and in my code I created a table through a loop that looks the way I want. I need to have my code written to a file. I'm able to use streamwriter for my other parts, but am not able to get streamwriter to write the table to a file. I was wondering if anyone knew if there was anyway to have the table written to a file. Is this a little more clear?