Click here to Skip to main content
Rate this: bad
good
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
G.srikiran
[email address removed]
Posted 7-Nov-12 0:54am
Edited 7-Nov-12 0:58am
CPallini329.3K
v3
Comments
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
   

employees
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
good
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[^].
  Permalink  
Comments
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 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)

  Print Answers RSS
0 DamithSL 295
1 OriginalGriff 214
2 BillWoodruff 170
3 Zoltán Zörgő 165
4 Maciej Los 113
0 OriginalGriff 7,760
1 DamithSL 5,874
2 Sergey Alexandrovich Kryukov 5,444
3 Maciej Los 5,076
4 Kornfeld Eliyahu Peter 4,539


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