Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want an urgent requirement om xml file creation and updation
Requirement:i have textbox1,2,3 in windows form say,database name, username, password.

data should be stored in xml file(redundancy is not allowed) by button (submit) and if user type same data and when he press update the same data has to be update in the same xml file .Note: we are not using database .


please send me the reply AS Soon AS Possible

Thanks and regards
G.srikiran
[email address removed]
Posted
Updated 6-Nov-12 23:58pm
v3
Comments
MT_ 7-Nov-12 6:00am    
Is this a question or you are floating a tender for a project? This is not made-to-serve project shop. This is help forum. Please provide some schema of XML you want to create and issue you are facing creating same .!
Sri Kiran 7-Nov-12 6:18am    
<databaselist>
<database> employees
<username> emp
<password> 223</password>


This is my xmlfile need to create multiple records and update depends up on database name .please suggest the solution

1 solution

We aren't going to code the whole application for you. we might just give you a little help.
You may find, on the web, many many (many!) tutorials about writing XML files usign C#, see, for instance C# XmlWriter Tutorial[^].
 
Share this answer
 
Comments
Sri Kiran 7-Nov-12 6:15am    
Thanks for the quick reply iam unable to get the code for xml file creation and updation depends upon the username please suggest the link for my requirement
Sri Kiran 15-Nov-12 6:02am    
Ok, fine so kindly tell me one thing how to bind the database names dynamically from sqlserver to xml and xml to treeview in asp.net using c#.net
i have 3 fields databaseName(primary key) username, password.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900