In my project I want to read a Large xml file which contains 20,000 records or more. what is the best of reading this xml file.
- Load xml into a dataset and loop through dataset and update the database
- Create xml object(serialize ) and loop through each object and update the database?
I appreciate if you could guide me on this and let me know if there is third other way to do this.