Is there any easy way to convert a XmlDataSource to a dataview?

Posted on 2008-11-10
Medium Priority
Last Modified: 2013-11-07
I've got a XmlDataSource which is driven off a file e.g.

ItemDataSource.DataFile = ""

Whats the easiest way to make this a dataview / dataset in order to conduct complex filtering?

FYI - I'm need to use LIKES% etc so Xpaths arnt an option

Question by:paulCardiff
1 Comment
LVL 12

Accepted Solution

madhevan_pillai earned 1500 total points
ID: 22928268

Try this        

Dim ds = New System.Data.DataSet()
        Dim sReader As New System.IO.StringReader(Me.XmlDataSource1.GetXmlDocument().InnerXml)


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question