HEXAQ : A friendly question - answer site for IT professionals

asp.net c# Compiler Error Message: CS1002: ; expected


0

I have added some server side code in my .master page. It is giving error

Compiler Error Message: CS1002: ; expected

Source Error:



Line 79:             <div>
Line 80:              <a href='<%= string.Concat(ConfigurationManager.AppSettings["RefURL"].ToString()))%>'>
Line 81:                     </div>


Source File: d:\project1\Site.Master    Line: 80
Â
asked
 


≡ Total 1 Answer

0

You need to add a semi colon before completing your razor code.

Line 80:              <a href='<%= string.Concat(ConfigurationManager.AppSettings["RefURL"].ToString()));%>'>
Â
replied


Enter your reply here
Answer Preview: