Sanket Jain

Sanket Jain

  • 1.3k
  • 855
  • 125.5k

Export to .txt Gridview without using StringBuilder?

Nov 2 2015 7:06 AM
I have gridview with 3 columns.
 
I generated 1 column with the help of RowDataBound event of Gridview, I want to export .txt file of that Gridview. The text file is also generated but in that Textfile following data is shown:
 
<div>
<table cellspacing="0"........
..
..
..
</table></div>
 
so how to export .txt in Gridview ?

Answers (1)