Server Error in '/' 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: CS0128: A local variable named '_tblCustomerRow' is already defined in this scope

Source Error:


Line 242:
Line 243:                tblCustomerRow _tblCustomerRow = GetInfoCustomer();
Line 244:                tblCustomerRow _tblCustomerRow = GetInfoCustomer();
Line 245:                if (_tblCustomerRow.FirstName == "James" && _tblCustomerRow.LastName == "Smith")
Line 246:                    Response.Redirect("thanks-fast-book.aspx?lang=" + lang + "&CountryID=" + CountryID + "&ID=93215", false);

Source File: z:\WebSrv\Asiatica\asiatica.com\landingpage-it-032017.aspx.cs    Line: 244






Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975