Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys

Is there a way i can have a "Save" Button, when i click the "Save" button a "Save as" window appears and save the data that appears in my gridview control?
Posted

1 solution

Where do you want to save, here is the example of saving it to Excel.
Code Project - Frequently Asked Questions Series 1: The ASP.Net GridView[^]
 
Share this answer
 
Comments
Anele Ngqandu 8-Sep-11 9:54am    
so it posible to save to a word or text document as long as i change the file extension?Because i dont want to save to excel. Owe and what if the gridview have more than 1 page?does it save all the pages or just the current page?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900