Here we are going to pull information from the database.
- At the name field I call items rsGetRecords. (rs) stands for recordset commonly in ASP terms. It’s easier to see your recordsets if you start with rs.
- Select your connection from the drop down.
- Select the table you want to pull the information from.
- In columns we’ll just leave it set to "All" so that we make sure we have access to all the fields.
- Leave filter set to none for now, because we want to pull all the records onto the page.
- And set sort to first > ascending. First is one of our fields in the database. And we want it sorting names for A to Z.
Just press OK and now you’ve connected with ASP code to the database. You won’t see anything on the page yet. That’s what we will do next.