TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
george wambui
NA
17
39.5k
CAN SOMEONE CORRECT THE FOLLOWING CODE FOR ME
Apr 11 2012 2:14 AM
Hi Team,
I have the following code below where i want when someone login in to the system, his /her username is caputured and set at label. of the master page.
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim dtNow As DateTime
dtNow = Now()
lblDate.Text = dtNow.ToLongDateString
Dim strUser As String = Page.User.Identity.Name()
If Page.User.Identity.Name Then
lblLoggedIn.Text = Page.User.Identity.Name & ""
End If
End Sub
Regard
George
Reply
Answers (
3
)
What is constraints and its use
I need retrieve time from sqlserver to asp.net using c# in a textbox