Continually Improving.... let us know how support@devdiamond.net Sign in | Sign up
home articles news blog forum  

 
 


 
Skip Navigation LinksHome > Article > How to use XML file as Database :: Part 2
How to use XML file as Database :: Part 2
Abstract :
After you loved Part 1, here is Part 2 goes a live, telling you how to delete records from XML file

Views : 10248
Published : Tuesday, April 23, 2002
By
HyperLink

Avarage Rating :
Page Page 1 of 2

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>&nbsp;</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)



About Author

        Yasir Send Feedback
        Yasir is a .NET expert, with over 5 years experience in Microsoft Technologies, 8 years overall programming experience, he is the owner, founder & primary contributor of Minwar.com, and he also works as IT Director in the hospitality industry.