Microsoft
Software
Hardware
Network
Question : Compare XML value to string and retrieve different value
Hello. Need a bit of help here.
I've exported a table from Access to an XML file and it looks like this:
<TblAd>
<samid>FPT-PA3105</samid>
<fn>John</fn>
<ln>Doe</ln>
<office>BAL-H/005</office>
<title>BOFH</title>
</TblAd>
I save a record in an SQL database using parameters: cmd.Parameters("@paramUser
Id").Value
= sMyString
What I need is to compare Environment.UserName with the value in 'samid' in the XML file. And if they match, retrieve 'ln' and 'fn' from the same XML and save it in a string.
.NET is v2.0
Would be nice :)
Thank you in advance.
Best regards,
Dennis Svendsen
Answer : Compare XML value to string and retrieve different value
Hi Geert. Why Delphi Programming?
Random Solutions
Script that check 2 colums in 2 sheets and hyperlinks. Need a way to check exact match and hyperlink.
Using SBS to to link together 7 remotes sites with 1 central administration office?
Firefox displays vertical scroll - IE doesn't
Process post from acrobat form
templates for creating company website - with logn and merchan function
asp.net Need to know to reset a form. once it has been submited. My form is retaining it values.
Vodafone Mobile Connect Error Code 619
PPC: Adwords Strategies
Tomcat Webapps Read File
Sharing remote desktop between multiple users in flash.