-
Voting
Hello everyone.
I have taken on the challenge of creating a senior superlative voting project.
I have a question, Is there anyway we can fit a picture, name and, I guess a radio button to vote for a category? There will be a total of around 150 students that you will be able to vote for, for every category. Such as best dressed, best car, smile, etc
After all thats done voting, is there anyway to get a "end" result for each category
so best dressed would tally up to be ex: Mike Jackson for the best dressed Category?
Please reply asap, thanks in advance!!
-
Re: Voting
How are you intending to store the information? All of that which you have mentioned could be stored in a database, but with that relatively small amount of data, there certainly isn't any need to. The pictures could all be stored in a folder, and the rest of the data could be stored in xml, csv, or even a binary class. That latter option has some advantages in this case, as the data sounds pretty static, and it would allow you to rapidly serialize/deserialize the data to and from a file. Since the current state would all be stored, it would be pretty simple.
Of course, it all depends on how you want to work with the data, and how much experience you've had.
-
Re: Voting
Hey, Thanks for your reply!
The way you described of doing this... is there any type of tutorial that will help me achieve this project? We're only 6-7 months in on learning VB.NET a tutorial would help me bunches. Please and thank you!
-
Re: Voting
I have no resources for tutorials of any sort. On the other hand, it seems like I described a handful of different things, which one looked good? The serialize/deserialize is a means of storing a class or an array of classes into a binary file. It is actually so darn simple there really isn't much of a tutorial. You would need to add one word to the class declaration, then you will spend FAR more time coming up with a file name than you will with the serialization, since serialization takes about two lines. There are some threads on here about that.