User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 428,227 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,299 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums
Views: 1109 | Replies: 3
Reply
Join Date: May 2008
Posts: 6
Reputation: sowmyask is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sowmyask sowmyask is offline Offline
Newbie Poster

read data from an c# file into an XML file

  #1  
May 14th, 2008
I have a c# file from which the data/ value is passed to the xml file .
then the xml file is again called along with the updated data.
How do I do this?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 47
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: read data from an c# file into an XML file

  #2  
May 14th, 2008
So what you need to do is read an XML file, and grab its contents ?


There you go, hope this helps !
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote  
Join Date: May 2008
Posts: 6
Reputation: sowmyask is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sowmyask sowmyask is offline Offline
Newbie Poster

Re: read data from an c# file into an XML file

  #3  
May 14th, 2008
Originally Posted by majestic0110 View Post
So what you need to do is read an XML file, and grab its contents ?



There you go, hope this helps !


this is my XML Code
<Code>/*--APPEND START--*/
<![CDATA[,]]>idATTRIBUTE_NAME3 = 100
/*--APPEND END--*/
</Code>
and this is my c# data idATTRIBUTE_NAME1 = 100,//attribute number
idATTRIBUTE_NAME2 = 101

I want to check the c# file and get the attribute id number so that I get the value from xml file idATTRIBUTE_NAME = 102. how could I find the last id number in c# and write that in xml and then read the xml data back to the c# file
Reply With Quote  
Join Date: May 2008
Posts: 1
Reputation: ruinedpheonix is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ruinedpheonix ruinedpheonix is offline Offline
Newbie Poster

Re: read data from an c# file into an XML file

  #4  
May 16th, 2008
Hi
I suppose using crystal reports will help..its a third party tool available with Visual Studio 05/08 that lets you read from various data sources including XML files and put them into reports..i.e..in an organized way...der s hardly any code required fer dis....i recently worked on it..do forgive me if i m wrong
happy developin!!!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C# Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 3:35 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC