Hi,
What would be best converted code to .NET 2.0 for below classic ASP code?
Code:
Dim xmlDoc
Set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.async = False
xmlDoc.resolveExternals = False
xmlDoc.validateOnParse = False
xmlDoc.preserveWhiteSpace = False
xmlDoc.loadXML(strResult) ' load the xml sent
If xmlDoc.parseError.errorCode = 0 Then
CODE = xmlDoc.selectSingleNode("/Root/Child1/SubCode").Text
INDICATOR = xmlDoc.selectSingleNode("/Root/Child2").Text
end if
Thank you.