Query Datatable

I am loading an xml file into a datatable to display some records.
I am wondering if there is a way to query the datatable using some sort of SQL syntax.

Who is Participating?
gdexterConnect With a Mentor Commented:

You can use the Select method of the Datatable object.
It will return an array of DataRow objects.

Dim dr() as DataRow = DataTable.Select("ID=<somevalue>")
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.