Click here to Skip to main content
15,911,711 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,


I m fresher c#.net developer.
I'm working on e-commerce website.in admin panel i want to delete user record after 15 days if user is not acvivated or not used.
pls help me.
Thank you.

Posted
Updated 17-Nov-15 20:40pm
v2
Comments
Tomas Takac 18-Nov-15 2:50am    
What exactly is your problem? Where are you stuck?
George Jonsson 18-Nov-15 3:04am    
Do you want to do this in C# or in the database server?
What kind of database are you using? SQL, Oracle, MySQL or something else?

1 solution

very simple...Create a stored procedure and run the same as Job with schedule date of 15 days interval.
 
Share this answer
 
Comments
Nilay Prajapati 18-Nov-15 6:28am    
Thanks For Reply.
i tried but it's not work.
will u pls send me code?
Gyaneswar kumar 18-Nov-15 6:39am    
https://msdn.microsoft.com/en-us/library/ms186757.aspx
https://msdn.microsoft.com/en-IN/library/ms190774.aspx

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