Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

Best way to read and use all this data

$
0
0
Hey,

I have a fairly large xml file that is formatted like so:

Code:

WireData>
- <Signal_Name Name="1L1">
  <From_Device>asd:4</From_Device>
  <To_Device>wef:1</To_Device>
  <Core_Name>1051</Core_Name>
  <Wire_Colour>BLK</Wire_Colour>
  <Wire_Size>AWG 10</Wire_Size>
  <Wire_Type>ew-32-BLK</Wire_Type>
  <Routing_Path>Us</Routing_Path>
  <Wire_Length>625</Wire_Length>
  <Cable_Name>Wires</Cable_Name>
  <Cable_Id>1f3701</Cable_Id>
  <Wire_Number>1051</Wire_Number>
  </Signal_Name>
- <Signal_Name Name="1L2">
  <From_Device>sdf:5</From_Device>
  <To_Device>sdfse:3</To_Device>
  <Core_Name>1052</Core_Name>
  <Wire_Colour>BLK</Wire_Colour>
  <Wire_Size>AWG 10</Wire_Size>
  <Wire_Type>fes-BLK</Wire_Type>
  <Routing_Path>U5; U3; U1</Routing_Path>
  <Wire_Length>681</Wire_Length>
  <Cable_Name>Wires</Cable_Name>
  <Cable_Id>d</Cable_Id>
  <Wire_Number>1052</Wire_Number>
  </Signal_Name>.........

I am going to be reading all of that info in VB. I will be displaying just the signal name and wire number and when a person were to click on it all the other information is going to be available.

My question is, what is the best way to get all this data into the application?

I was thinking of using a (x,12) array where the first row would be the Signal Name followed by the rest of the information. This seems messy to me.

Viewing all articles
Browse latest Browse all 27348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>