Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a temporary grid-view, which data is not saved in database. before save the data ,i need to print all data of temporary grid. how can i print those data without saving in database?
Posted
Comments
Sergey Alexandrovich Kryukov 16-Oct-14 2:07am    
What difference does it make? You still have data...
—SA
AndrewCharlz 16-Oct-14 2:10am    
dock it to the form and then print the form using form print
Dew Drops 16-Oct-14 2:52am    
how can i doc it?
AndrewCharlz 16-Oct-14 5:24am    
did u mean how to save it or u wanted to save it as doc
Dew Drops 18-Oct-14 23:43pm    
yes. i want to save the data of temporary grid view

1 solution

Export that Gridview or Datatable data into Excel or Word and print that whenever you need. after that you can Store it.

http://www.aspsnippets.com/Articles/Export-DataSet-or-DataTable-to-Word-Excel-PDF-and-CSV-Formats.aspx[^]
 
Share this answer
 

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