I have created a simple HTML web page to display people's gamerscores from XBOX Live. Me and a few of my friends are using it as an active desktop. Here's kind of what it looks like http://www.pavelgutin.com/PGX_html/ You might have to refresh the page, and
also, go ahead and mess with the dropdown menu. As you can see, all the code is static, and the images are being pulled from MyGamerCard.net I found a webservice (http://duncanmackenzie.net/services/XboxInfo.asmx) that allows me to suck in a lot of data, so
i'd like to re-do this in .Net, and make it customizable. So, here's my question: what is the best way for me to do it? I have the data coming back from a webservice, so what i was thinking, i could probably create a dataset on the fly, and then bind the dataset
to a ListView control. Is that a good way to do it? I am looking for best practice here, since i'd like to learn. Thanks!
The web service i mentioned will provide me with URLs to all the images i need. A GridView is too limiting in my opinion, since it will only show a table, i'd like it be less rigid. But, let's say i did go with a gridview, what would be the source of data?
I am only familiar with binding stuff to database tables, or DataSets. The only thing i can think of is creating a dataSet on the fly, and then binding to that. Is there a better way? A simple arrayList won't work as well. Basically, i am looking at a number
of names, and under each name, there will be a number of games. That's why i am thinking a DataSet.
PlayWithFire
Member
28 Points
32 Posts
Can you steer me in the right direction?
Oct 16, 2008 08:37 PM|LINK
Matthew_TSG
Member
43 Points
55 Posts
Re: Can you steer me in the right direction?
Oct 16, 2008 11:00 PM|LINK
I'm not sure about adding in all the graphical stuff, but if you want a control to display a dataset, I would recommend using a gridview.
PlayWithFire
Member
28 Points
32 Posts
Re: Can you steer me in the right direction?
Oct 17, 2008 12:06 AM|LINK
The web service i mentioned will provide me with URLs to all the images i need. A GridView is too limiting in my opinion, since it will only show a table, i'd like it be less rigid. But, let's say i did go with a gridview, what would be the source of data? I am only familiar with binding stuff to database tables, or DataSets. The only thing i can think of is creating a dataSet on the fly, and then binding to that. Is there a better way? A simple arrayList won't work as well. Basically, i am looking at a number of names, and under each name, there will be a number of games. That's why i am thinking a DataSet.