The code will depend on what you are trying to do...
What do you want to send to the browser:
1. One or a few field values.
2. Every row in the recordset.
3. An xml representation of a recordset object that can be reconsituted on the client.
For #1 you might use something like this:[tt]
Response.Write "Part#" & Recordset2("ManufacturerPartNumber")
[/tt]
For #2 use the [tt]GetRows[/tt] method of the recordset object to return the recordset as a two diminsional array and then construct a loop to Response.Write the contents of the matrix.
For #3 use the [tt]Save[/tt] method of the recordset object to persist the object as an xml file and then sent it to the browser using Response.Write
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.