Server Error in '/hdslogin' Application.

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: CS1519: Invalid token '[' in class, struct, or interface member declaration

Source Error:


Line 111:	
Line 112:		//Increment the number of log on tries
Line 113:        ViewState["tries"] = System.Convert.ToInt32(ViewState["tries"]) ++ 1;
Line 114:        // If third try, display "Access Denied" page.
Line 115:        if (System.Convert.ToInt32(ViewState["tries"]) > 3)

Source File: d:\HDSLogin\App_Code\HDSLogin01.aspx.cs    Line: 113






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0