Use Response Write to output HTML (C#)
<%@ Page Language="C#" %>
<html>
<head>
</head>
<body>
<% Response.Write("Hello!<br/>");%>
Line1: First HTML Line<br/>
<% Response.Write("First ASP.NET Line<br />"); %>
Line2: Second HTML Line<br/>
<% Response.Write("Second ASP.NET Line<br />"); %>
Line3: Third HTML Line<br/>
<% Response.Write("Third ASP.NET Line<br />"); %>
<% Response.Write("Goodbye!"); %>
</body>
</html>
Related examples in the same category