hi all, Im trying to modify the ibuyspyportal forum.
And i would like to get the index of the current datalist Item,
but there code is as below.Where TopLevelList.SelectedIndex is the index of
the item selected not the current item.
Can someone help me change that to the ItemsIndex?
thanks
john
Function GetThreadMessages() As SqlDataReader
' Obtain a list of discussion messages for the module
Dim discuss As New Akolade.DiscussionDB()
Dim dr As SqlDataReader
discuss.GetThreadMessages(TopLevelList.DataKeys(TopLevelList.SelectedIndex).
ToString())
' Return the filtered DataView
Return dr
End Function