Click here to Skip to main content
15,911,039 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I have added one Windows Form in my solution and in that I have added 3 labels and Textboxes like this.

Name :-
Description:-
Location:- Browse



OK
Cancel



In this form in front of Name, Description and Location there are 3 textboxes and Browse is the location whre I want to save my file in XML format. OK and Cancel are the buttons.

My XML format will be like this:-

XML
<projects>
   <project>
      <name>ABC</name>
      <id>2<id>
      <description></description>
      <location></location>
      <createdby></createdby>
       <createddate></createddate>
   </id></id></project>
</projects>


Note that Name of xml should be the same name given in textbox in the windows form.
and if for example the name is ABC so name must be ABC.XML

I am using C#.net technology

Please help.

Thanks in Advance
Posted
Updated 22-Feb-11 21:26pm
v2

I need something like When I click on OK Button, My data in 3 textboxes are saved in the XML format. these links do not give me the same.

Can you provide me somethins like that. ??
 
Share this answer
 

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