Posted By

jgmutza on 10/17/06


Tagged

article


Versions (?)

Using Externalized SQL


 / Published in: ASP
 

A reusable implementation is a must-have.

  1. dim xml, rrs
  2. set xml = new XmlAspConfig
  3. if xml is Nothing then
  4. call errors.Error("Error", "Cannot create XmlAspConfig.")
  5. else
  6. call xml.Bind(Server.MapPath("IODefinition_asp.xml"))
  7. if xml.Document is Nothing then
  8. call errors.Error("Error", xml.ErrorMessage)
  9. end if
  10. end if
  11. ...
  12. dim StationName, Port
  13. ...
  14. dim xrs
  15. set xrs = xml.GetResultSet("deviceio-station-port-select", Array(StationName, Port))

Report this snippet  

You need to login to post a comment.