The username text box name is : Username
and the Password box is: Password
The Dataset name is : dsLogin
Any help i would appreciate it.
Thanks Mark
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30455: Argument not specified for parameter 'Container' of 'Public Function FieldValue(FieldName As String, Container As System.Web.UI.Control) As String'.
Source Error:
Line 19: If IsPostBack Then
Line 20: ' authenticate user
Line 21: if ((Username.Text = dsLogin.FieldValue("Username")) AND (Password.Text = dsLogin.FieldValue("Password")) AND Username.Text <> Nothing AND Username.Text <>"" AND Password.Text <> Nothing AND Password.Text <>"")
Line 22:
Line 23: FormsAuthentication.RedirectFromLoginPage(Username.Text, false)
