You can add it, you just need to do it manually. You need to actually walk
through the reader to get the data out, so 'merge' isn't a natural fit b/c
the data isn't there already like it is with another dataset. Moreoever,
they are used for different scenarios so it's not the most natural fit.
There's nothing wrong with the idea and nothing bad about it in any way,
it's just that the usages are much different and MS probably didn't consider
it necessary in comparison to other enhancements. SInce you can walk the
DataTable and add rows based on teh DataReader, you can still get there and
if you wrote a class to handle it, you'd only have to do it once. To that
end, they do 'allow' the addition, they just don't provide a encapsulated
method to do it.
If you have any trouble doing it, just let me konw, I'll walk you through
doing it.
HTH,
Bill
--
W.G. Ryan, eMVP
http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
http://www.devbuzz.com/content/zinc_personal_media_center_pg1.asp
In need of help said:
thanks, didn't think there was anyway, kind of strange as the dataset is a
disconnected store of data, so why not allow the addition of new data from a
connected source (i.e. a datareader)?