I am using Visual Web developer 2008.
I am using loginname control. there it displays name as admin.
How to get that value to textbox or label. Simply i want to get that value as string.

Recommended Answers

All 3 Replies

hi i solved the issue

Dim getname As String = Page.User.Identity.Name
        TextBox1.Text = getname

you can get indentity .Name for pass to textbox
and You can use .text as variable string

Thanx bharanit you also solved my problem.......

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.