Learn Microsoft Access Advanced Programming Techniques, Tips and Tricks.

Friday, April 20, 2007

example1 asp

Example1 ASP

Paste this code into a file and save it as example1.asp in your sample folder.

<html> 
 <body> 
 <%Set Conn = Server.CreateObject("ADODB.Connection") 
Conn.Open "NorthwindDSN" 
sql = "SELECT LastName, FirstName FROM Employees" 
Set rst = Conn.Execute(sql) %> 
 <%Do While Not rst.EOF%>
    <%=rst("LastName")%>
    <%=rst("FirstName")%>
    <%=rst.MoveNext 
Loop
 Set Conn = Nothing
 Set rst = Nothing %> 
 </body> 
 </html> 

Click Next for example2.asp

  1. Installing the Personal Web Server (PWS)
  2. or Internet Information Services (IIS)
  3. Create the Example ASP Files
  4. Create a DSN Connection
  5. Connect to the Database
  6. Modify Access Data Online
  7. Inserting Data
  8. Modifying Data
  9. Deleting Data
  10. Data Insert Form

No comments:

Post a Comment

Comments subject to moderation before publishing.

Powered by Blogger.