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
Linux Webbased Statistics
Grouping by Month
Monitoring Remote Office Available Bandwidth
what are the common issue on Microsoft exchange server
FreePBX: How to change the system recording for the outbound route password prompt
what is the best way to create a web page for a 20 item products to sell
Is it possible to jump IP scope with Route Add command?
DNS not working and AD users can't login. Any DNS experts out there??
Greasemonkey script to add text at the bottom of aweb page
install Microsoft Office 2010 Professional plus edition on Windows XP