Examples of Displaying Information

ASP within HTML

Here is what displays on the web page:

Algeria  Population: 28,539,321  Government: Republic

Here is the code behind it:

<big><b><%Response.Write dbRs.Fields("Country")%></b></big>  <b>Population: </b><%Response.Write dbRs.Fields("Population")%>    <b>Government: </b><%Response.Write dbRs.Fields("Government")%>

 

HTML within ASP

Here is what displays on the web page:

Algeria  Population: 28,539,321  Government: Republic

Here is the code behind it:

<%Response.Write "<big><b>" & dbRs.Fields("Country") & "</b></big>"  & " " & " " & "<b>Population: </b>" & dbRs.Fields("Population") & " " & " " & "<b>Government: </b>" & dbRs.Fields("Government")%>