@Arshad - this is simple in ASP. just create a page that have the delete function like:
cmd.Execute "DELETE FROM tblPosts WHERE (DatePosted-GetDate())>=7"
Then run the page in your CRON jobs. If you dont have a CRON application you can create a fake CRON by inserting the above code on your login page so that the script will run every login or you can set one time per day.