Link to home
Create AccountLog in
Avatar of Victor  Charles
Victor CharlesFlag for United States of America

asked on

Help with converting xml file to a datatable for a Windows application (VB.NET) VS 2010.

Hi

How do I convert an xml file to a datatable?

I am using the following code to search my xml file but first need to convert it to datatable (dt)

Dim DV as new DataView(dt, searchcriteria, Nothing, DataViewRowState.CurrentRows)
FilteredDT = DV.ToTable
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Victor  Charles

ASKER

It Works!

Thank you.

Victor