I right click and tried to export to excel on a gridview but I get an error when the excel sheet comes up.
what is the correct method ?