You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am uploading an excel file using the Upload Control of ASP.NET 2.0. Now how can i read that excel file, so that i can modify it column values and it get stored in database.
How this can be done in C# ?
Yes, but unless you are dealing with an Excel file stored as XML (Excel 2003/2007) then you'll need Excel installed on the server. There is plenty of code online showing how to manipulate the Excel model. Just search for Excel Automation C#, http://support.microsoft.com/kb/302084 for example.