Basic Databases Part 2
page 2 of 5
by Philip Q
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 22870/ 157

Step 4 : Basic Tabling

Step 4: Basic Tabling

I'm going to create a table as you'll see in this next one, with 1 column and then populate it with data from Addresses (This code is outside ASP tags so be sure to close them off).

<table border=1><tr><td><strong>Addresses</strong></td></tr>
<% While Not RecordSet1.EOF
Response.Write("<tr><td>")
%><%=(Recordset1.Fields.Item("Address").Value)%><%
Response.Write("</td></tr>")
RecordSet1.MoveNext
Wend %>
</table>

See! Simple, we create the table parameters and then whenever there is a record we stick a new row in and shove the address in, close the row and move on to the next one.


View Entire Article

User Comments

Title: Real   
Name: Rizwan
Date: 1/15/2005 4:51:56 AM
Comment:
Great! What simple real way of teaching.
Great
Many thanks to Mr. Author!

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 7/4/2008 11:05:55 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search