User-980872515 posted
<div class="WordSection1">
<% Set myConnection = Server.CreateObject("ADODB.Connection") myConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ Server.MapPath("/myDatabase.mdb")
Set businessSectorSalary = myConnection.Execute("SELECT * FROM allTitles")
%>
Response.Write "<table><tr><th>BY BUSINESS SECTOR</th><th>Salary</th><th>Respondents</th></tr>"
Do Until businessSectorSalary.EOF
Response.Write "<tr>"
Response.Write "<th>" &DataDisplay&"</th>"
Response.Write "<td>" & DataDisplay & "</td>"
Response.Write "<td>" & DataDisplay& "</td>"
Response.Write "</tr>"
businessSectorSalary.Movenext
Loop
Response.Write "</table>"
</div>