Is it possible to point to an xml file as a datasource in the same way you would with an .mdf file? Please let me know if I can clarify this question.
For example, let's say I have a datagrid and I want to connect a datasource to it and I want that datasour开发者_如何学编程ce to be based on a local filesystem xml file.
You can try using the DataSet.ReadXml method.
The ReadXml method provides a way to read either data only, or both data and schema into a DataSet from an XML document.
精彩评论