DataSet and XmlDataDocument
What is the importance of using XMlDat开发者_StackOverflow中文版aDocument with dataset. It is getting me bit confused Can some one please explain the importance of this?
thanks
From MSDN:
XmlDataDocument has a close affiliation with the DataSet class, which provides a relational view of the loaded XML data. Any changes made to the XmlDataDocument are reflected in the DataSet and vice versa.
So essentially, the reason you would use XmlDataDocument is to strongly link your xmldata with the dataset. This doesn't mean you need to, or have to use it. Also be aware that this class seems to be obsolete in .Net 4.0.
Go here for some more information.
i have founded a link i explain a lots..
http://ondotnet.com/pub/a/dotnet/2003/03/31/xmldatadocument.html
精彩评论