webots allow you to edit the FrontPage asp through wizards.
It is not neccessary for code to be there, but if you
remove it and want to edit the page you will need to edit
the code in html or code view.
Here is what a db looks like with webbot and under this
without:
------------------
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 2</title>
</head>
<body>
<table width="100%" border="1">
<thead>
<tr>
<th ALIGN="LEFT"><b>Key</b></th>
<th ALIGN="LEFT"><b>Name</b></th>
<th
ALIGN="LEFT"><b>Address</b></th>
<th ALIGN="LEFT"><b>Choice</b></th>
</tr>
</thead>
<tbody>
<!--webbot bot="DatabaseRegionStart" s-
columnnames="Key,Name,Address,Choice" s-
columntypes="3,202,203,2" s-dataconnection="database1" b-
tableformat="TRUE" b-menuformat="FALSE" s-menuchoice s-
menuvalue b-tableborder="TRUE" b-tableexpand="TRUE" b-
tableheader="TRUE" b-listlabels="TRUE" b-
listseparator="TRUE" i-listformat="0" b-makeform="FALSE" s-
recordsource="Results" s-
displaycolumns="Key,Name,Address,Choice" s-criteria s-
order s-sql="SELECT * FROM Results" b-procedure="FALSE"
clientside suggestedext="asp" s-defaultfields s-
norecordsfound="No records returned." i-maxrecords="256" i-
groupsize="5" botid="0" u-
dblib="fpweb:///_fpclass/fpdblib.inc" u-
dbrgn1="fpweb:///_fpclass/fpdbrgn1.inc" u-
dbrgn2="fpweb:///_fpclass/fpdbrgn2.inc" tag="TBODY"
preview="<tr><td colspan=64
bgcolor="#FFFF00" width="100%
"><font color="#000000">This is
the start of a Database Results region. The region will
not work unless the page has a file extension of
".asp".</font></td></tr>"
startspan --><!--#include
file="fpweb:///_fpclass/fpdblib.inc"-->
<% if 0 then %>
<SCRIPT Language="JavaScript">
document.write("<div style='background: yellow; color:
black;'>The Database Results component on this page is
unable to display database content. The page must have a
filename ending in '.asp', and the web must be hosted on a
server that supports Active Server Pages.</div>");
</SCRIPT>
<% end if %>
<%
fp_sQry="SELECT * FROM Results"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=4 align=""LEFT""
width=""100%"">No records returned.</td></tr>"
fp_sDataConn="database1"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=5
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_sColTypes="&Key=3&Name=202&Address=203&Choice=2&"
fp_iDisplayCols=4
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="fpweb:///_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-
checksum="9448" --><tr>
<td>
<!--webbot
bot="DatabaseResultColumn" s-
columnnames="Key,Name,Address,Choice" s-column="Key" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-
1">&lt;&lt;</font>Key<font
size="-1">&gt;&gt;</font>"
startspan --> said:
<td>
<!--webbot
bot="DatabaseResultColumn" s-
columnnames="Key,Name,Address,Choice" s-column="Name" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-
1">&lt;&lt;</font>Name<font
size="-1">&gt;&gt;</font>"
startspan --> said:
<td>
<!--webbot
bot="DatabaseResultColumn" s-
columnnames="Key,Name,Address,Choice" s-column="Address" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-
1">&lt;&lt;</font>Address<font
size="-1">&gt;&gt;</font>"
startspan --> said:
<td>
<!--webbot
bot="DatabaseResultColumn" s-
columnnames="Key,Name,Address,Choice" s-column="Choice" b-
tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-
1">&lt;&lt;</font>Choice<font
size="-1">&gt;&gt;</font>"
startspan --> said:
</tr>
<!--webbot bot="DatabaseRegionEnd" b-
tableformat="TRUE" b-menuformat="FALSE" u-
dbrgn2="fpweb:///_fpclass/fpdbrgn2.inc" i-groupsize="5"
clientside tag="TBODY" preview="<tr><td
colspan=64 bgcolor="#FFFF00" width="100%
"><font color="#000000">This is
the end of a Database Results
region.</font></td></tr><TR><TD
VALIGN=MIDDLE COLSPAN=64><NOBR><INPUT
TYPE=Button VALUE=" |< "><INPUT
TYPE=Button VALUE=" < "><INPUT
TYPE=Button VALUE=" > "><INPUT
TYPE=Button VALUE=" >| "> [1/5]
</NOBR><BR></td></tr>" startspan --
<!--#include file="fpweb:///_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-
checksum="23298" --></tbody>
</table>
</body>
</html>
------------------------------
With out webbot
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 2</title>
</head>
<body>
<table width="100%" border="1">
<thead>
<tr>
<th ALIGN="LEFT"><b>Key</b></th>
<th ALIGN="LEFT"><b>Name</b></th>
<th
ALIGN="LEFT"><b>Address</b></th>
<th ALIGN="LEFT"><b>Choice</b></th>
</tr>
</thead>
<tbody>
<!--#include
file="fpweb:///_fpclass/fpdblib.inc"-->
<% if 0 then %>
<SCRIPT Language="JavaScript">
document.write("<div style='background: yellow; color:
black;'>The Database Results component on this page is
unable to display database content. The page must have a
filename ending in '.asp', and the web must be hosted on a
server that supports Active Server Pages.</div>");
</SCRIPT>
<% end if %>
<%
fp_sQry="SELECT * FROM Results"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=4 align=""LEFT""
width=""100%"">No records returned.</td></tr>"
fp_sDataConn="database1"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=5
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_sColTypes="&Key=3&Name=202&Address=203&Choice=2&"
fp_iDisplayCols=4
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="fpweb:///_fpclass/fpdbrgn1.inc"-->
<tr>
<td>
<%=FP_FieldVal(fp_rs,"Key")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Name")%></td>
</tr>
<!--#include
file="fpweb:///_fpclass/fpdbrgn2.inc"-->
</tbody>
</table>
</body>
</html>
Here is a Macro that will do this for you:
http://www.frontpagewebmaster.com/m-54911/tm.htm
http://www.frontpagewiz.com