i have created a list called Grades, and have added data to it (grade.add(results) however i dont now how to retrieve the data although i do know you use .sort() but not sure what code you use with it. any ideas?
Why would you use Sort to retrieve data? You use Sort to sort data. If that's what you want to do, which is likely if you want your grades in order, then the Sort method is for you.
As for retrieving data from a List, the documentation for the List(Of T) class can fill you in. It lists and describes every member of the List(Of T) class and provides code examples for many. If ever you have a question regarding a specific type you should always read the documentation for that type first. If you still don't know what to do, that's when you look further afield.
You should use the local version of the MSDN library in preference to the online version in most cases. If you haven't installed it already, I suggest you do so immediately if you're able.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.