开发者

Can we fill DataSet without DataAdapter?

开发者 https://www.devze.com 2023-04-10 21:40 出处:网络
I know that we normally fi开发者_如何学Goll DataSetwith the help of DataAdapter\'s Fill method, but I want to know that Can we fill DataSet without DataAdapter?

I know that we normally fi开发者_如何学Goll DataSetwith the help of DataAdapter's Fill method, but I want to know that Can we fill DataSet without DataAdapter?

Any idea ?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消