What are you wanting then?
Are you wanting the data or gridview to be written?
Also you are using htmltextwriter, which is exporting html.
dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
Use the DataSet.WriteXml method.
Post the code you have where you set the datasource if you are having trouble still.
dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143