Traversing DOM using JavaScript
The HTML DOM defines a standard way for accessing and manipulating HTML documents. The DOM presents an HTML document as a tree-structure expressed as an XML document. DOM is a language independent API, as it can be used in Java, .NET, JavaScript and many more. I will use it with JavaScript to for my sample [...]
Return the value for the specific attribute using XPathNodeIterator
November 1, 2009 by Nauman · Leave a Comment
I will use the following XML document in the example below. <? xml version="1.0" encoding="utf-8" ?> < users > < user FirstName ="Tom" LastName ="Adams" Age ="23" /> < user FirstName ="Jhon" LastName ="Brams" Age ="17" /> < user FirstName ="Bill" LastName ="Smith" Age ="33" /> </ users > The code prints out all the [...]
Different operations on Datatable (Add, Edit, delete, Sort etc) and XML
November 1, 2009 by Nauman · 6 Comments
Introduction DataTable is a central object in the ADO.NET library. If you are working with ADO.NET – accessing data from database, you can not escape from DataTable. Other objects that use DataTable are DataSet and DataView. In this tutorials, I will explain how to work with DataTable. I have tried to cover most of the [...]