Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Online Members
Spha
More...
Forums
»
.NET
»
Windows
»
how to display userlogin name on the page?
Posted Date:
12 Jan 2007
Posted By::
vineet bindal
Member Level:
Silver
Member Rank:
0
Points
: 2
Responses:
4
hi all
pls tell me how can i display user name and login time in a window form
pls help
regards
vineet bindal
Tweet
Responses
#105064 Author:
Ashis kumar Nayak
Member Level:
Gold
Member Rank:
0
Date: 12/Jan/2007 Rating:
Points
: 2
Read the user name from the user name field or from database box and retrieve last logged in time from the Database for the logged in user.
U can retrieve the last logged in time from database using Top clause
Revert back if any doubt.
regards
Ashis
#105078 Author:
Sujit Kumar
Member Level:
Gold
Member Rank:
225
Date: 12/Jan/2007 Rating:
Points
: 2
u can do it through global variable.
when user login in the application then store username and logintime in that global variable and show it where u want.
Regards,
Sujit Kumar
DotNet Blogs
#105103 Author:
vineet bindal
Member Level:
Silver
Member Rank:
0
Date: 12/Jan/2007 Rating:
Points
: 2
dear sir,
i am really thankfull to you for the replay but,,,can u send some example..i am not clear how can i retriev the user login time from the database?becouse that is what i want to store in database whn a user will login,,pls help:(
#105158 Author:
rajitha
Member Level:
Silver
Member Rank:
0
Date: 13/Jan/2007 Rating:
Points
: 2
when u r login with username thattime u have to store username and logintime(date.now) in any global variable as i
then u have to take label or any control
if u r dispaly the second page u have to create object for that form
for ex
obj.lable1.text=i
same as logintime
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
.
Tweet
Next :
how to redirect user in windows form?
Previous :
USB CONTROLLER ERROR.
Return to Discussion Forum
Post New Message
Category:
Related Messages
extensions
password
password
Down Load Manager
combobox
Active Members
Today
Pawan Awasthi
(30)
naveensanagase...
(21)
Prasad kulkarn...
(11)
Last 7 Days
naveensanagase...
(224)
Naved Hasan ...
(189)
Pawan Awasthi
(174)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John