Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0
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
Edited 7-Nov-12 0:58am
Milind Thakkar at 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 at 7-Nov-12 6:18am

<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 at 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 at 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
0 OriginalGriff 260
1 ProgramFOX 165
2 Peter Leow 130
3 Zoltán Zörgő 130
4 Maciej Los 80
0 OriginalGriff 260
1 ProgramFOX 145
2 Peter Leow 130
3 Sergey Alexandrovich Kryukov 85
4 Fredrik Bornander 75

Advertise | Privacy | Mobile
Web03 | 2.8.150301.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2015
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