I have a function to export the contents of a gridview to a text file. It works fine, but it only works once. It successfully exports the first file sent to it, but then my prog