Torna al Thread

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: BC30109: 'String' is a class type and cannot be used as an expression. Source Error: Line 4: Line 5: Protected Sub Page_PreLoad(sender As Object, e As System.EventArgs) Handles Me.PreLoad Line 6: string browser Line 7: browser = Request.Browser; Line 8: if (browser == "IEMobile9" | browser == "IEMobile8" | browser == "IEMobile7" | browser == "Safari4" | browser == "Chrome18") {Response.Redirect("forumphone.aspx");}
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5