C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

Throw a remainder msg during login time


Posted Date: 21 Nov 2008      Posted By: Lakshmi      Member Level: Gold     Points: 1   Responses: 1



Hi friends,


I have created a project, where i need to throw the remainders of msg which i stored in the database, based on the user login.

For example, i'am the user and when i login the system, i need the current date schedules to be thrown as a msg, where the msg already stored in the schedule table in the database.

I need a remainder msg, to be thrown in vb.net 2005 application based on the current user as OUTLOOK EXPRESS THROW THE REMAINDER.


If anybody worked on this concept, could u plz, guide me with an solution?


Any help much appreciated.


Thanks in Advance





Responses

Author: Praveen    21 Nov 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 4

while login user u'll have his user id right
After his successfull login check in database with that user name if any data is there then do what u want and write query like this
select s.* from schedule s left outer join login l where l.uid=s.uid and l.username='"&txtUserName.Text&"' and s.ScheduleDate='"&DateTime.Now.ToString("ur database Formate")&"'

hope this will help u



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Code Snippet
Previous : Automatic lock after 30 mts, if the app remains idle
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use