Extract data from an Array

Posted by fireBand on Stack Overflow See other posts from Stack Overflow or by fireBand
Published on 2010-04-10T05:39:16Z Indexed on 2010/04/10 5:43 UTC
Read the original article Hit count: 341

Filed under:
|

Hello,

I have an array DetailsArray in VB.NET which contains the result of a LINQ query. I have shown below the values of the array. i need to get the "ProjectID" from the array and assign it to 'ProjID' variable

DetailsArray (0){Name = "TestProject1", ProjectID = 10}

 Dim ProjID as Integer = DetailsArray(??)

How would I do that?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about LINQ