Hello
I have this in my logon.aspx.vb file:
where strEmail is the ID of my email textbox.
The error I get is that 'Focus' is not a member of 'String'. What should I be using instead of Focus, please?
Thank you.
I have this in my logon.aspx.vb file:
Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim strEmail As String = ""
If Not IsPostBack Then
strEmail = String.Format("{0}", Request.QueryString("strEmail"))
End If
LblDate.Text = ReturnDate()
strEmail.Focus()
End Sub
where strEmail is the ID of my email textbox.
The error I get is that 'Focus' is not a member of 'String'. What should I be using instead of Focus, please?
Thank you.