DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   read data from an c# file into an XML file (http://www.daniweb.com/forums/thread124191.html)

sowmyask May 14th, 2008 8:25 am
read data from an c# file into an XML file
 
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?

majestic0110 May 14th, 2008 4:40 pm
Re: read data from an c# file into an XML file
 
So what you need to do is read an XML file, and grab its contents ?


There you go, hope this helps !

sowmyask May 14th, 2008 11:54 pm
Re: read data from an c# file into an XML file
 
Quote:

Originally Posted by majestic0110 (Post 606943)
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

ruinedpheonix May 16th, 2008 6:07 am
Re: read data from an c# file into an XML file
 
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!!!


All times are GMT -4. The time now is 10:58 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC