This question is locked. New answers and comments are not allowed.
Hi,
I'm building a basic GridView that will show Student results over a few years at a school.
All results are stored in SQL and are pulled via a WCF Service.
I am basically wondering how I would go about creating a "Dynamic Class" to store the results. i.e. rather than having Result2008, Result2009, Result2010 and then having to add Result2011 come next year, I would like to simply be able to have a class that dynamically updates.
Here is my current class:
So basically, I'm wondering it's possible to have have one value, ie English As List(Of Integer), Maths As List(Of Integer).
Not sure if that makes sense.
Regards,
Drew
I'm building a basic GridView that will show Student results over a few years at a school.
All results are stored in SQL and are pulled via a WCF Service.
I am basically wondering how I would go about creating a "Dynamic Class" to store the results. i.e. rather than having Result2008, Result2009, Result2010 and then having to add Result2011 come next year, I would like to simply be able to have a class that dynamically updates.
Here is my current class:
Public StudentID As IntegerPublic FirstName As StringPublic LastName As StringPublic English2008 As IntegerPublic English2009 As IntegerPublic English2010 As IntegerPublic Maths2008 As IntegerPublic Maths2009 As IntegerPublic Maths2010 As IntegerSo basically, I'm wondering it's possible to have have one value, ie English As List(Of Integer), Maths As List(Of Integer).
Not sure if that makes sense.
Regards,
Drew
