Re: Debug problem...

From: Cowboy \(Gregory A. Beamer\) [MVP] (NoSpamMgbworld_at_comcast.netNoSpamM)
Date: 07/07/04


Date: Wed, 7 Jul 2004 07:33:35 -0500


>From the code you have posted, this is most likely the issue:
If DBConnection(txtUserName.Text, txtPassword.Text)

Look at the actual signature of the DBConnection() method.

-- 
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************
"Tim::.." <myatix_at_hotmail.com> wrote in message
news:AAA3E2BC-3265-4C73-B1B0-D951CD543E27@microsoft.com...
> Can some one tell me why I get this problem when debugging!
>
> ..:: Error ::..
> txtPassword.Text = Value of 'String' cannot be converted to
System.EventArgs
>
>
> Thanks
>
> ..::CODE::..
>  Private Sub cmdSubmit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdSubmit.Click
>         If Page.IsValid Then
>             'Connect to Database for User Validation
>             If DBConnection(txtUserName.Text, txtPassword.Text) Then
>
FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, False)  '
|||||   default.aspx Page!
>
>             Else
>                 '  Credentials are Invalid
>                 lblMessage.Text = "Invalid Login!"
>             End If
>         End If
>     End Sub


Relevant Pages

  • Re: Debug problem...
    ... > Look at the actual signature of the DBConnection() method. ... > Gregory A. Beamer ...
    (microsoft.public.dotnet.framework.aspnet)
  • random signature vba assistance
    ... Outlook 2003 does not show security prompts on three specific ... Dim strTop, strBottom, aryQuotesAs String ... 'top part of signature ... Private Sub objInspectors_NewInspector ...
    (microsoft.public.outlook.program_vba)
  • Re: random signature vba assistance
    ... to "Insert random signature" on 2/10/03. ... > showing the security prompt for that reason. ... > Dim strTop, strBottom, aryQuotesAs String ... > Private Sub objInspectors_NewInspector ...
    (microsoft.public.outlook.program_vba)
  • Re: random signature vba assistance
    ... to "Insert random signature" on 2/10/03. ... > showing the security prompt for that reason. ... > Dim strTop, strBottom, aryQuotesAs String ... > Private Sub objInspectors_NewInspector ...
    (microsoft.public.outlook.program_vba)
  • Re: random signature vba assistance
    ... to "Insert random signature" on 2/10/03. ... > showing the security prompt for that reason. ... > Dim strTop, strBottom, aryQuotesAs String ... > Private Sub objInspectors_NewInspector ...
    (microsoft.public.outlook.program_vba)