/ Published in: ASP
A reusable implementation is a must-have.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
dim xml, rrs set xml = new XmlAspConfig if xml is Nothing then call errors.Error("Error", "Cannot create XmlAspConfig.") else call xml.Bind(Server.MapPath("IODefinition_asp.xml")) if xml.Document is Nothing then call errors.Error("Error", xml.ErrorMessage) end if end if ... dim StationName, Port ... dim xrs set xrs = xml.GetResultSet("deviceio-station-port-select", Array(StationName, Port))