#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    2
    Rep Power
    0

    Dynamically output data from XML to Winform textboxes


    Hi,

    I have an application that generates data in realtime into a very large XML file. Now, i have a WinForm that is supposed to view the data generated in realtime. How do i code, in C#, to enable the textboxes in WinForm to constantly grab the latest figures that is generated in the XML file?
    The structure of the xml file is like this...

    <?xml version="1.0"?>
    <Output>
    <DataSet>
    <voltage></voltage>
    <current></current>
    <power></power>
    </DataSet>
    ....
    </Output>

    In this case, I have 3 textboxes in my Winform that are required to extract and display the numbers from the XML file(while the XML file is still generating data).

    Please gimme a hand at this. I'll be eternally grateful for your help!

    Thanks!

    Comments on this post

    • Gran Roguismo agrees
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    109
    Rep Power
    12
    Iím not too sure what you want to do, but you might want to look into using a SQL driver with your XML database for fast discrete reads and writes. This would allow you to read and write to the file at the same time a (amongst other things). Iím sure .NET has everything you would need built in.

    Comments on this post

    • Gran Roguismo agrees

IMN logo majestic logo threadwatch logo seochat tools logo