<%@ LANGUAGE = "JavaScript" %> Customer Information

Introduction to JavaScript

Customer Information Listing

<% var strDSN = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" + Server.MapPath("cust.mdb") + ";" var strSQL = "SELECT * FROM pif" var conn = Server.CreateObject("ADODB.Connection"); conn.Open(strDSN); rsCustomersList = Server.CreateObject("ADODB.RecordSet") rsCustomersList.Open(strSQL, conn) %> <% while (!rsCustomersList.EOF) {%> <% rsCustomersList.MoveNext() } %>
Contact Name Email Address Address City State Income Age Sex
<%= rsCustomersList("First")%>  <%= rsCustomersList("Last") %> "> <%= rsCustomersList("Email")%> <%= rsCustomersList("Address")%> <%= rsCustomersList("City")%> <%= rsCustomersList("State")%> <%= rsCustomersList("Income")%> <%= rsCustomersList("Age")%> <%= rsCustomersList("Sex")%>

The names of companies, products, people, characters and/or data mentioned herein are fictitious and are in no way intended to represent any real individual, company, product or event unless otherwise noted.