Click here to Skip to main content
13,257,667 members (63,863 online)
Rate this:
Please Sign up or sign in to 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
[email address removed]
Posted 7-Nov-12 0:54am
Updated 7-Nov-12 0:58am
Milind Thakkar 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
<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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^].
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 using
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171114.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100