deNZity
asked on
How to access value from login control txtbox asp.net 2
ASP.NET 2
Visual Studio 2005
win xp
Hi I want to retrieve the username from the login control txtbox when a user logs on
and store in a variable.
tried
Dim username As String
username = Login1.FindControl("UserNa me")
but get following error
Error 2 Value of type 'System.Web.UI.Control' cannot be converted to 'String'.
D
Visual Studio 2005
win xp
Hi I want to retrieve the username from the login control txtbox when a user logs on
and store in a variable.
tried
Dim username As String
username = Login1.FindControl("UserNa
but get following error
Error 2 Value of type 'System.Web.UI.Control' cannot be converted to 'String'.
D
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER