troubleshooting Question

Help with retreiving data from litbox

Avatar of vcharles
vcharles asked on
.NET ProgrammingVisual Basic.NET
5 Comments1 Solution440 ViewsLast Modified:
I am using the code below to retreive data from a listbox with multiple rows but receiving error:

Error: Public member 'Text' on type 'String' not found.

On line:

  If CheckForNSNFix.Contains(C1NSN.Items(x).Text) Then


 For x As Integer = 0 To C1NSN.Items.Count - 1
                If CheckForNSNFix.Contains(C1NSN.Items(x).Text) Then
                    For Each xnLink As Xml.XmlNode In xdNSN.SelectNodes("/Root/NSNTable[NSN='" & C1NSN.Items(x).Text & "']")
                        NSN_ID = xnLink.SelectSingleNode("NSN_ID").InnerText
                        ''''MsgBox("NNSN" & NSN_ID)
                        If NSN_ID <> "" Then
                            CD = NSN_ID
                            If u > 0 Then
                                num1 = num1 & "" & CD & ","
                                num1 = CD & ","
                            End If
                            u = u + 1
                        End If
                End If

How do I fix this error? This is Windows applictaion (VS 2010)

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros