S
Sandeep Singh Sekhon
Hi
I am developing an application in ASP.NET 1.1. In this application, I
want to import the data in bulk from XML Files to the Database. The
problem is that I want to upload only those nodes which don't have
errors in it. Rest of the nodes I want to show to the user so that he
can correct them and upload to the database. How can I do this?
I m using XmlDocument to separate the nodes having errors but I am not
able to remove the nodes with errors from the original document. Because
if I remove any node, it just stops the foreach loop to traverse the
nodes to find out which one is having error and which one not.
Is there any way to remove the nodes having error without stopping the
looping?
Thanks, I wud be grateful for any help on this topic.
I am developing an application in ASP.NET 1.1. In this application, I
want to import the data in bulk from XML Files to the Database. The
problem is that I want to upload only those nodes which don't have
errors in it. Rest of the nodes I want to show to the user so that he
can correct them and upload to the database. How can I do this?
I m using XmlDocument to separate the nodes having errors but I am not
able to remove the nodes with errors from the original document. Because
if I remove any node, it just stops the foreach loop to traverse the
nodes to find out which one is having error and which one not.
Is there any way to remove the nodes having error without stopping the
looping?
Thanks, I wud be grateful for any help on this topic.