Hello,
I've got a record set up in a VB.NET project, but I was wondering how I would make it display the highest value in a certail field of that record. Are there any variables/functions I can use?
My Record Structure:
The value of Mark1:
And how I want to display the highest value of Mark1:
Thanks in advanced.
I've got a record set up in a VB.NET project, but I was wondering how I would make it display the highest value in a certail field of that record. Are there any variables/functions I can use?
My Record Structure:
VB.NET:
Module Module1
Public Index As Integer
Public NumberOfStudents As Integer
Structure StudentType
Dim StudentName As String
Dim Mark1 As Short
Dim Mark2 As Short
End Structure
Public Students(9) As StudentType
End Module
VB.NET:
Students(Index).Mark1 = txtMark.Text
VB.NET:
lblHighestName.Text = ???