Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML - Populating values from Class

Status
Not open for further replies.

YL99

Programmer
Dec 23, 2002
24
0
0
GB
Hello,
I have an xml file that holds client Details.

<Client>
<Surname>ClsClient.Surname</Surname>
<FirstName>ClsClient.FirstName</FirstName>
....
....
....
</Client>

Can someone tell me how I can load those values once I have loaded my Client Class.

Your help would be much appreciated.

Thanks
 
I'm no expert, but one way I would do it would be to parse the xml file in the class Initialize event and set the class properties there.
 
Have a look at the XML dom object. It provides methods and functions for accessing XML documents and element nodes.

Mark

The key to immortality is to make a big impression in this life!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top