C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » Active Directory »

Stored UserName and Password in XML?


Posted Date: 30 Jan 2008    Resource Type: Code Snippets    Category: Active Directory
Author: karthikMember Level: Diamond    
Rating: 1 out of 5Points: 4



This code used to write a simple xml like stored the username and password





Dim text1 As String = "karthik"
Dim text2 As String = "test"
Dim xmldoc As New System.Xml.XmlDocument
Dim strbuilder As New System.Text.StringBuilder
strbuilder.Append("")
strbuilder.Append("")
strbuilder.Append(text1)
strbuilder.Append("
")
strbuilder.Append("")
strbuilder.Append(text2)
strbuilder.Append("
")
strbuilder.Append("
")
xmldoc.LoadXml(strbuilder.ToString)
xmldoc.Save("C:\test1.xml")





Responses

Author: nisar    10 Apr 2009Member Level: Gold   Points : 1
Hey its a good piece of code but can you tell me why we required to store data in XML, sorry to ask this kind of question but XML usage is not clear in my mind
Thanks


Author: bajibabusk    20 Apr 2009Member Level: Gold   Points : 1
Hi
its really store user name and password in xml.
any send me more XML codes

Thanks and regards
bajibabu


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Shows the list of Server Database
Previous Resource: Read data from XML?
Return to Discussion Resource Index
Post New Resource
Category: Active Directory


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use