Since i’m not strong in asp.net, probably my question will sound silly. I’ve got remote sql server db and it has to be updated every month automatically. How can i solve this problem?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to break your question down into its constituent parts, which seem to be:
Deleting data
You need to have something that can be used to delete data that fits a given set of criteria. Precisely how it does this will depend on how your application (I’m assuming you’ve got a server somewhere which hosts a website/application and a Sql Server database that contains the data for it). This could be:
How you delete the data will be dependent on what tool (such as Entity Framework, NHibernate or plain SQL you’ve used to implement your data access, but will ultimately come down to something like:
Performing a task at a certain time
As you’re using Sql Server you (may) have two choices (three if you count triggering it manually), these are:
Either of these can be used to trigger a program that you’ve written or, with the help of a 3rd party tool, call a web service / page.