+ 1
How to backup database only in once in a month in c#.net window form application.
26 Answers
0
I think for this task better using a servise, but not WFA.
0
I have used windows form application
0
It's will be automatically, or for user request?
0
and also use backup database code but in that problem is that it occur every time and I want to use only after 1 month
0
it will be automatically
0
actually I have used function of backup in login and call in load event of page
0
You must create a file or database column which will contain a date of last copy, and after this test current date with this date. Or you can read creation date of database copy file and do new copy, if passed a month.
0
I have also used Datetime dt=DateTime.Now; and then Dt.Adddays(30);
0
but what next do in that I am not getting it.
0
You must use this function in the method of copy create, but this method you must call only if datetime.now >= dt , which located in file or database column
0
actually I want that backup function will run after 1month from today
0
Without logging?
0
in my code when I run login page then in every time backup is also create and I don't want that
0
and in for that I don't want to use database or file for date time I am ussing current system date by DateTimeNow
0
yes without logging
0
I want to only know steps for after 1 month backup how can I create
0
Your app run all time on pc? Or might be closed?
0
it is closed
0
You must use service, sheduler or your app must be run all time. You don't have any another way...
0
how to use scheduler