J
Jason
Hello
What do I need to do to add this function to my aspx codebehind?
Public Function Compare(ByVal x As Object, ByVal y As Object) As
Integer Implements System.Collections.IComparer.Compare
' make it return this in descending order (newest first)
Return -DateTime.Compare(DirectCast(x, FileInfo).CreationTime,
DirectCast(y, FileInfo).CreationTime)
End Function
The error "Interface is not implemented by this class" is on this
entry above
Implements System.Collections.IComparer.Compare
Thank you for any help or information.
What do I need to do to add this function to my aspx codebehind?
Public Function Compare(ByVal x As Object, ByVal y As Object) As
Integer Implements System.Collections.IComparer.Compare
' make it return this in descending order (newest first)
Return -DateTime.Compare(DirectCast(x, FileInfo).CreationTime,
DirectCast(y, FileInfo).CreationTime)
End Function
The error "Interface is not implemented by this class" is on this
entry above
Implements System.Collections.IComparer.Compare
Thank you for any help or information.