Well, if you're just displaying a list of something, then a datareader is probably the best way to go.
i.e. here's alist of clients
client1
client2
client3
etc.
If you need to do something a bit more complex (maybe some databinding), you'd be better off with the dataset
i.e. You want to bind a treeview to some xml that you get by using a datasets writexml method. (I don't believe the reader has any xml methods built in...could be wrong, but I'm pretty sure).
Thanks. I did create a dataset in memory. and load and save to XML. That was really cool. Being an old DOS guy, all this stuff is a BiG improvement over VB 3,4,5, & 6.
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.