Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
i want to save some data on database without performing any action. coding is created in asp.net using c#,it will take feeds from a website and directoly save it in database. what i need to do for that.Note i dont want to open the page and click on some button and after that it takes the feeds.
Posted 24-Jul-11 21:17pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

What is the source of the feed? website doesn't make much sense. Is it a text file? In any case you should be able to create an SSIS (SQL Server Integration Services) package to transfer data between two different data sources, and then you can schedule this package to run at periodic intervals.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You might need to create a service. That picks the data from where you want and save it in the database. You can schedule this service based on the requirement like hourly, daily, weekly etc..
  Permalink  
Comments
saifullahiit at 25-Jul-11 3:41am
   
Brij can you tell what type of service i need to create and how?
Brij at 25-Jul-11 3:44am
   
You can create a windows service. Or another simple way, create some console application that read the data save in the database. test it properly. And schedule this exe on your server using windows scheduler.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 450
1 OriginalGriff 403
2 Sergey Alexandrovich Kryukov 239
3 CPallini 189
4 CHill60 180
0 OriginalGriff 6,092
1 Sergey Alexandrovich Kryukov 4,972
2 Maciej Los 3,269
3 Peter Leow 3,129
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 25 Jul 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100