Line 4: ' This code was generated by a tool. Protected WithEvents items As .WebControls.TextBoxĬ:\Documents and Settings\oca14625\Desktop\login_db_nav.aspx(59) : error BC30456: 'SqlDataSource1_Selecting' is not a member of 'ASP.login_db_nav_aspx'.ĪddHandler _ctrl.Selecting, AddressOf Me.SqlDataSource1_Selecting All rights reserved.Ĭ:\Documents and Settings\oca14625\Desktop\login_db_nav.aspx(53) : warning BC40004: withEvents variable 'items' conflicts with property 'items' in the base class 'Page' and should be declared 'Shadows'. NET Framework version 7.3620Ĭopyright (c) Microsoft Corporation. Microsoft (R) Visual Basic Compiler version 7.3053įor Microsoft (R). 0.vb " "C:\WINDOWS\Microsoft.NET\Framework\v2. Line 60: SelectCommand= " SELECT * FROM " OnSelecting= " SqlDataSource1_Selecting">
Line 57: text= " Login" OnClick= " btnLogin_OnClick" Width= " 221px" Please review the following specific error details and modify your source code appropriately.Ĭompiler Error Message: BC30456: ' SqlDataSource1_Selecting' is not a member of ' ASP.login_db_nav_aspx'. " SelectCommand =" SELECT * FROM " OnSelecting =" SqlDataSource1_Selecting" > ĭescription: An error occurred during the compilation of a resource required to service this request.
try again." End If End Using End Sub ASP.NET Login Please Login:
M圜ommand = New OleDbCommand(strSQL, connection)įormsAuthentication.SetAuthCookie(txtUsername.Text, True) Copy Code Sub btnLogin_OnClick(Src As Object, E As EventArgs)ĭim strSQL As String Dim m圜ommand As OleDbCommandĭim strUserURL As String Using connection As New OleDbConnection( " datasource1")