Hi there,
I want to ask about some issues on reading xml elements.
Is that possible to read the ad1, ad2, and ad3 in one line instead of separating them and read in one by one.
My current command is that
address1 = item.Elements(“adrVal”).Elements(“pad”).Elements(“ad1”).Value.ToString
address2 = item.Elements(“adrVal”).Elements(“pad”).Elements(“ad2”).Value.ToString
address3 = item.Elements(“adrVal”).Elements(“pad”).Elements(“ad3”).Value.ToString
My concern is to read the address in one line. Does anyone could help me on this?
I appreciate your assistance. Thanks in advance.
Regards,
yuhsinchan