data reading

  • Thread starter Thread starter chris
  • Start date Start date
C

chris

hi i would like to know when to use xmlreader?
and how would it be different from binding data using datagrid or datalist
thanx
chris
 
XMLReader, like all of the readers in .NET, simply reads
data. The data is not retained in memory like that of a
dataset. If you had an XMLsource document you could read
through it using XMLReader and load the elements into a
datagrid. If you don't need to refer to that data very
often it's supposed to be more efficient to use a reader
instead of a dataset.

Hope that shed some light.
 
Back
Top