Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
In my application, the admin deliver announcement for all users. My requirement is that i want, all the users are able to see that announcement for a specific time period. After that time period, the announcement will automatically delete. For this, in table i have created column like announcement,startdate and enddate.

Suggest me for the logic, how to implement in my application.
Posted
Updated 26-Oct-12 18:00pm
v3

1 solution

1) Create a database table to hold the admin announcements.
2) Add a control to a page somewhere in your site that will show the announcements.
3) Load the announcements when a user requests the page and show them.
 
Share this answer
 
Comments
NayakMamuni 26-Oct-12 14:34pm    
In table i create column like announcements,startdate and enddate. And i want that the user can see the announcements for a specific time period like between startdate and enddate. After enddate announcement will clear from user's view.

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