ASP.NET Tag

ASP code can be typed in asp render block. We need to start asp block by using ( < % ) & we can end it by using ( % > ).

Example is below
<%

 

%>

Or a using the code declaration script block:

<script runat=”server”>

</script>

** Sample document structure **

<%@ Page Language=”VB” %>
<script runat=”server”>

‘Program goes here

</script>
<html>
<head>
          <title>Asp.Net Programming</title>
</head>
<body>

Document contents here…

</body>
</html>