Hi i need help with a simple program that i am doing in VB.NET involving the use of XML.
let us assume that i have created a simple form with a two textboxes for entering Username and Password, and a Login button.
I have this simple XML file that stores the different username and passwords.
xml version="1.0" encoding="utf-8" ?>
<AuthenticationList>
<User id="01">
<Username>cs_helper01Username>
<Password>cshelper01Password>
User>
<User id="02">
<Username>cs_helper02Username>
<Password>cshelper02Password>
User>
<User id="03">
<Username>cs_helper03Username>
<Password>cshelper03Password>
User>
<User id="04">
<Username>cs_managerUsername>
<Password>csmanagerPassword>
User>
AuthenticationList>
when the login button is clicked, it needs to check the xml file storing the user and password. it needs to do validation of the textbox entries. but i do not know how to do this step. any help would be welcome!
Loading
mihir soniPosted Jan 25, 2010, 4:29 PM
http://www.vbdotnetheaven.com/UploadFile/bulentozkir/XMLfileUsingXmlDocument04232005010454AM/XMLfileUsingXmlDocument.aspx
may be it ll also help you
mihir soniPosted Jan 25, 2010, 4:21 PM
Here u have done one example in that i have taken one textbox and one buttopn and i have put this code in button click event