Saturday, April 9, 2011

Working with files in ASP.Net

Here is some links to work with files like read file, download file in asp.net.
Generating excel file from stream
(1) Leniel Macaferi's blog: Creating Excel spreadsheets .XLS and .XLSX in C#

(2) Howto: Export a dataset to Excel (c# / asp.net)

(3) ASP.Net 2.0: Export GridView to Excel

(4) Exporting datagrid to Excel:

(5) Export datagrid to Excel in asp.net (Revised)

Read Text file
(1) Reading and writing to the file using ASP.NET C#

(2) How to Read a text file in ASP .NET ?: ASP Alliance

(3) Read data from text file (C#) : Write File « Response « ASP.Net

Export Datatable to CSV
(1) Exporting DataTable to CSV File Format.Net, C#, SQL Blog

Import CSV file and Bind to Grid
(1)
How to import CSV into DataGrid?

Read word file
(1) Microsoft Word Documents from ASP.NET - CodeProject    

(2) Read any document (like .doc, .rtf , txt ) in ASP.Net , C#   

(3) Reading a word document in c#.net      

(4) Reading a word document using C#

Download file
(1) c# - how to download a file from remote server using asp.net - Stack Overflow

(2) c# - Download files using asp.net - Stack Overflow     

(3) Simple FTP demo application using C#.Net 2.0      

(4) Downloading file from remote server with 'Save As' dialogue     

(5) How to download file from remote server in asp.net