Hello,

I know nothing about web development or ASP.NET. I started a tutorial tonight that consisted of cutting and pasting code into the editor. Now I am getting an error with the code I have cut and pasted. Does anyone know what is wrong with calling the RenderBody() on line 14?

<!DOCTYPE html>
<html> 
<head> 
<link rel="stylesheet" type="text/css" href="/Shared/Site.css" />
</head>
<body> 

<ul id="menu">
<li><a href="/Default">Home</a></li> 
<li><a href="/About">About</a></li> 
</ul> 

<div id="main"> 
@RenderBody() 
<p>&copy; 2012 W3Schools. All rights reserved.</p> 
</div> 

</body> 
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.