Using FoundRow In VB2019

  • Thread starter Thread starter Developer Dude
  • Start date Start date
D

Developer Dude

Guest
Hi:

I have a datatable with two columns, SE_KEY and SE_NAME. I am using FoundRow

to locate a row with a specific SE_NAME. I then want to display the corresponding

SE_KEY in a message box. Here is what I have. It finds the row but does not

display the SE_KEY value.

Dim foundRow As DataRow = dsPSB.Tables("dtSE_TEMP").Rows.Find("ABC Company")

If foundRow(0) IsNot Nothing Then

MsgBox(foundRow(0)("SE_NAME").value.ToString)

End If

Could someone please help. Thanks very much.

Continue reading...
 

Similar threads

D
Replies
0
Views
90
Developer Dude
D
D
Replies
0
Views
106
Developer Dude
D
D
Replies
0
Views
139
Developer Dude
D
Back
Top