Need to assign value from xml file to string variable in .net
-
Hai all, i had on gateway.xml file,like <<?xml version="1.0" encoding="utf-8" ?> <GateWay name="UserID"> <title>Gate</title> <Collection> zoo <strpwd >test </strpwd > <strapiID >301</strapiID > <strurl >http://sms.xyz.com/sen.asp?</strurl > </Collection> > and i need to assign strUserID variable in .net,and i had to assign the (strUserID =zoo) from the xml file.... Thanks in advance
Thanks Subbu.
-
Hai all, i had on gateway.xml file,like <<?xml version="1.0" encoding="utf-8" ?> <GateWay name="UserID"> <title>Gate</title> <Collection> zoo <strpwd >test </strpwd > <strapiID >301</strapiID > <strurl >http://sms.xyz.com/sen.asp?</strurl > </Collection> > and i need to assign strUserID variable in .net,and i had to assign the (strUserID =zoo) from the xml file.... Thanks in advance
Thanks Subbu.
Look for some tutorial or example articles on working with the XML DOM. There are millions of them. There are even small samples in MSDN documentation for the
`System.XML`.XMLDocument
class. You might find such articles here on CodeProject or TopXML or www.w3schools.com or on MSDN.led mike