PDA

View Full Version : Limit DataReader clientSide?



steffenk
19 Jul 2009, 5:44 AM
Hi,

i try to limit data read eg with XMLReader. As there is mostly no parameter to limit the returned records i want to break until a configured limit of records is read.

Is there any method without overriding the reader again?

aconran
19 Jul 2009, 5:47 AM
No, I'd suggest implementing a custom XMLReader and/or an override which adds a configuration to do so.

steffenk
19 Jul 2009, 5:52 AM
ok, thx