troubleshooting Question

Input string was not in a correct format.

Avatar of Member_2_5230414
Member_2_5230414 asked on
Visual Basic.NET
10 Comments1 Solution379 ViewsLast Modified:
Any idea why i get Input string was not in a correct format.


Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        forumstats.Visible = False
        Dim s As String = Request.QueryString("fn")
        If s <> "News" Or "General" Or "Training&Races" Or "Injurys&Health" Or "Other" Then

            Submit.Visible = False
        End If
    End Sub

Open in new window

Imran Javed Zia
Consultant Software Engineer - .NET Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros