hi,
i am using window application in C# using Sql server 2005 management studio.i want to set the particular date after that application stopped working.Is there anyway in sql server.So that nobody can run it again.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kanimozhi ShivakumarRank #6,889 · 254 reputationPosted Aug 8, 2018, 10:50 PM EDT
Jaish MathewsRank #225 · 11K reputationPosted Aug 8, 2018, 10:57 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Aug 8, 2018, 11:23 PM EDT
and write
DateTime dtExpiryDate=Get Date from Database
DateTime dtExpiryDate = DateTime.Now.AddDays(-1);
and Other things
Jaish MathewsRank #225 · 11K reputationPosted Aug 9, 2018, 12:19 AM EDT
Kanimozhi ShivakumarRank #6,889 · 254 reputationPosted Aug 9, 2018, 12:31 AM EDT
Ankit GuptaRank #9,215 · 209 reputationPosted Aug 22, 2018, 1:49 AM EDT
Gautam ParmarRank #2,471 · 568 reputationPosted Aug 22, 2018, 2:33 AM EDT
Ankit GuptaRank #9,215 · 209 reputationPosted Aug 24, 2018, 7:12 PM EDT
Gautam Parmar There is no Login page i have database only. the front end i have exe only thats why i wana restrict it on backend.