Because of the popularity that Part 1 gained, I decided to continue writing about his topic of How to use XML file as database.
XML files are not a replace for database systems like MS SQL Server, although they offer a handy storage area, but XML files does provide some capabilities that database systems does not, like you can create the file if it's not already exist, as on Part 1
So let's get started!
You can select records from the XML file using ID, Email or any other fields, on This article I have chosen the email, cause it's much easier to remember
Below it the Code of HTML From which we will get the email from
<form name="form1" method="get" action="XMLDB2.asp">
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>Your Email</td>
<td>
<input type="text" name="Email">
</td>
</tr>
<tr>
<td> </td>
<td>
<input type="submit" name="Delete" value="Delete">
</td>
</tr>
</table>
</form>
Note: that the form method is GET, that's because we need the values on a QueryString
So let's get into the ASP Code (click on Next)