kulandaivel_mca Posted February 18, 2009 Posted February 18, 2009 i am developing web application asp.net with c#... if i click a particular link one excel file will opent (it contains reports)... how can i open this excel file and i have to modify that excel file... Quote
JumpyNET Posted February 22, 2009 Posted February 22, 2009 Do you want to modify the excell file in your code or launch Excell? I don't know about the old xls files, but the new *.xlsx files are actually zip archives (you can test this by renaming the file). You need to first extract the contents. After that all contents are in xml files. Quote
DPrometheus Posted February 23, 2009 Posted February 23, 2009 I'm not sure you can do this with web app since I normally use winforms, but try looking at the Excel Object library 12.0. (office 2007 equals version 12) You can add reference to this COM library, and edit excel files. Within this library are objects like an excel sheet, document, and application. Hope it brings you a little further.. ~DP Quote My Development System Intel Core i7 920 @2.66Ghz 6 GB DDR3 SDRAM Windows 7 Ultimate x64 & Windows Vista Home Premium x64 dual boot GeForce GTX295 1.8 GB 3.5 TB HD
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.