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: CS0270: Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)

Source Error:


Line 23:         DataTable dtP = Pages.getPageById("1242");
Line 24:         lblTitle.Text = dtP.Rows[0]["PageTitle"].ToString();
Line 25:         lblAuthor.Text = dtP.Rows[0]["PageAuthor"].ToString();
Line 26:         lblText.Text = dtP.Rows[0]["PageText"].ToString();
Line 27:     }

Source File: C:\Inetpub\vhosts\julianspriggs.co.uk\httpdocs\Pages\ClementRome.aspx.cs    Line: 25






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