XML Data File
I am using XML to store a username and password information for users. The file looks something like this.
<?xml version="1.0" encoding="utf-8" ?>
<UserData xmlns="http://tempuri.org/cqUser.xsd">
<User ID="1">
<branchID>1</branchID>
<FirstName>Matt</FirstName>
<LastName>Fields</LastName>
<LoginID>mattf</LoginID>
<Password>1234</Password>
</User>
<User ID="2">
<branchID>1</branchID>
<FirstName>Jeff</FirstName>
<LastName>Reynolds</LastName>
<LoginID>jeffr</LoginID>
<Password>55678</Password>
</User>
</UserData>
From a windows form, I want to log into an application and authenticate using a valid user(one of the ones above). I have tried using the dataset and can not seem to evaluate a username and password for a table. I am new to XML so it may be simplier that I imagine.
Can anyone help. Thanks
|