Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Data to list view from .xml file
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Samuel Vaesy
16y
2.5k
1
Reply
Idea is to display and update data from .xml file in three different listviews(in their own tabs). The xml contains measurement data which needs to be displayed on screen and updated at certain intervals, and there are quite many sensors, so it would be reasonable to display data in three different pages/tabs. Xml file contains <sensor> nodes, which have childnodes: <name>, <description>, <value> and <page_id>. Name, value and description should be displayed in their own columns, and one sensor per row, and also data of each sensor should only be displayed in one page/tab depending on the page_id. Could look like
This
.
What would be the best way to start? Could LINQ be the solution to read the .xml file and then update to to list view? But how to
update
values to the differetn pages/tabs/listviews? I got one version working somehow, but it didn't actually update anything, it only added same information after the first displayed ones...
I'm using Visual C# express 2008
- Vertti
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
ini file encode or encrypt
Unable to cast object of type 'System.DBNull' to type 'System.String