The code below will correctly locate the last entry in a particular SQL Table in VWeb 2005 with VB.
How can I determine the column name associated with the column number x?
Dim tempA As System.Data.DataView
tempA = GetPriorAnswers()
Dim x As Integer
Dim temp As Integer = Session("Pointer")
For i As Integer = 1 To 10000
x = temp - i
If Len(tempA.Item(0)(x).ToString) 0 Then
Exit For
End If
Next
<at this point, x is the column number for the last entry in the table - what code will return the column name?>
Thanks in advance
Jeff
--
Posted via a free Usenet account from
http://www.teranews.com