Torna al Thread

ompilation 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: BC30108: 'HttpBrowserCapabilities' is a 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: HttpBrowserCapabilities browserCap = Request.Browser; Line 7: string browser = browserCap.Browser; Line 8: if (browser == "IEMobile9" | browser == "IEMobile8" | browser == "IEMobile7" | browser == "Safari4" | browser == "Chrome18")
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5