how to export the data view webpart contents to an excel sheet. the workaround i saw was a java script , but i am not sure as to where to use it and which is the table id they mentioned in the java script in the following link .
http://share-the-point.blogspot.in/2009/08/how-to-export-dataview-webpart-to-excel.html