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...
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...