Can we fill DataSet without DataAdapter?
I know that we normally fi开发者_如何学Goll DataSet
with the help of DataAdapter
's Fill
method, but I want to know that Can we fill DataSet
without DataAdapter
?
You can use DataSet.Load
to load from an IDataReader
.
Or DataSet.ReadXml
to read from an Xml document.
Take a look at the DataSet
methods on MSDN.
精彩评论