I have the following XML file:
<?xml version="1.0" encoding="utf-8"?>
<Patients>
<Patient EMail="[email protected]">
<FirstName>LeBron</FirstName>
<LastName>James</LastName>
</Patient>
<Patient EMail="[email protected]">
<FirstName>Kobe</FirstName>
<LastName>Bryant</LastName>
</Patient>
<Patient EMail="[email protected]">
<FirstName>Allen</FirstName>
<LastName>Iverson</LastName>
</Patient>
</Patients>
I want to store it in a SQL database which I have done successfully/
I then added some more data to the same XML File:
<?xml version="1.0" encoding="utf-8"?>
<Patients>
<Patient EMail="[email protected]">
<FirstName>LeBron</FirstName>
<LastName>James</LastName>
</Patient>
<Patient EMail="[email protected]">
<FirstName>Kobe</FirstName>
<LastName>Bryant</LastName>
</Patient>
<Patient EMail="[email protected]">
<FirstName>Allen</FirstName>
<LastName>Iverson</LastName>
</Patient>
<!-- New data starts here -->
<Patient EMail="[email protected]">
<FirstName>tr</FirstName>
<LastName>rson</LastName>
</Patient>
<Patient EMail="[email protected]">
<FirstName>Awerwren</FirstName>
<LastName>Iveww</LastName>
</Patient>
</Patients>
But it does not update in SQL database at runtime.....
What am I doing wrong?