Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Actually i'm developeing complaint management system for apartments.So in this projects we need send automatic notification about maintenance bill and eb etcc.

Now i Entered manually and send to the user..So instead of this once upload the maintenance bill to particular user means it will generate automatically at every month on first day of month ...how to do this concept implement on this project.
Posted

1 solution

well you may try and build a window service which runs all the time and on the 1st day of month it will get stored data from database and send it as an email to all the relative users or may be update database according to your need like notification flag change to true for this month etc...


search more on window services on google and you may find more details on this.
 
Share this answer
 
Comments
Deenuji 20-Mar-14 6:47am    
I dont ve any experience in windows service ...can u give some suitable example related to this topic?
ravikhoda 20-Mar-14 7:00am    
well even i don't work on window services till now but if you really need this to be done automatically every month without any human activity it can be a good option. code and logic part will be same as your normal project but installation and build package will be different from normal window application. you can use below links


http://www.codeproject.com/Articles/14353/Creating-a-Basic-Windows-Service-in-C
http://www.aspdotnet-suresh.com/2011/06/creating-windows-service-in-c-or.html
http://www.c-sharpcorner.com/UploadFile/mahesh/window_service11262005045007AM/window_service.aspx

you can find many more like this tutorial on window service.
Deenuji 20-Mar-14 7:07am    
boss we doing this project in web application...so its not possible in asp.net right??
ravikhoda 20-Mar-14 7:11am    
0h i thought you were talking about window app. i think you may try timer control, set time interval to some large amount and in time tick event you may try and compare the current date with the first date of any month. if it is first day then you can write your own logic and send email to all the users.
Deenuji 20-Mar-14 7:22am    
i think it's not correct solution boss...because we need generate automatic bill on every month first day ...timer is not a perfect answer i think so...there is any another option to do this same concept ji???

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