Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have task assigned to auto run a URL a feed few fields and hit enter a excel file open with password protection, I need to insert/update excel file contain in database automatically every day on specific time using asp.net c#.

Please help.
Posted
Comments
F-ES Sitecore 11-Aug-15 6:12am    
asp.net is a poor choice of technology to do this with. Anyway, google "asp.net scheduled tasks" and you'll find some libraries\code that might help, eg quartz.net. Any technique involving asp.net will not be reliable though as there is no guarantee your site's code will be running at any given time.

1 solution

Dear Shailendra ,

use this links to read / write data from excel
http://www.aspsnippets.com/Articles/Save-GridView-to-Excel-Sheet-on-servers-disk-using-ASPNet.aspx[^]

and open passwrod protected excel using this link.

How to read Password protected excel file in asp.net with C#[^].

Thanks
Shubham Gupta
 
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