asp.net 4.0

How to use XmlTextReader to read XML file as objects in VB.NET

You can use the XmlTextReader class when you want to read a XML document in your code. The XmlTextReader moves through your document from top to bottom, one node at a time. You call the Read() method to move to the next node. In a typical application, you would need to go fishing for the elements …

Learn more

How to use XmlTextReader to read XML file as objects in C#

You can use the XmlTextReader class when you want to read a XML document in your code. The XmlTextReader moves through your document from top to bottom, one node at a time. You call the Read() method to move to the next node. In a typical application, you would need to go fishing for the elements …

Learn more

How to use XmlTextReader to read XML file as text in VB.NET

You can use the XmlTextReader class when you want to read a XML document in your code. The XmlTextReader moves through your document from top to bottom, one node at a time. You call the Read() method to move to the next node. This method returns true if there are more nodes to read or false …

Learn more

How to use XmlTextReader to read XML file as text in C#

You can use the XmlTextReader class when you want to read a XML document in your code. The XmlTextReader moves through your document from top to bottom, one node at a time. You call the Read() method to move to the next node. This method returns true if there are more nodes to read or false …

Learn more

How to use XmlTextWriter formatting in VB.NET

You can create a XML document, by using the basic XmlTextWriter class. If you want to understand how you can read the  article How to use XMLTextWriter to create an XML document in VB.NET. By default, the XmlTextWriter creates an XML file that has all its elements lumped together in a single line without any helpful carriage returns …

Learn more

How to use XmlTextWriter formatting in C#

You can create a XML document, by using the basic XmlTextWriter class. If you want to understand how you can read the  article How to use XMLTextWriter to create an XML document in C#. By default, the XmlTextWriter creates an XML file that has all its elements lumped together in a single line without any helpful …

Learn more

How to use XMLTextWriter to create an XML document in C#

You can create a XML document, by using the basic XmlTextWriter class. This class works like StreamWriter relative, except that it writes XML document instead of ordinary text file. You can follow the next process:

1. Create or open the file

2. Write to file, moving …

Learn more

How to use comments in XML document

You can also add comments to an XML document. Comments go just about anywhere and are ignored  for data processing purposes. Comments are bracketed by the <!– and –> character sequences. The following listing includes three valid comments:

 

<?xml version=”1.0″?>

<BooksList>

<!– This is an example . –>

<Book ISBN-13=” 978-0545139700” Title = Title>Harry Potter and …

Learn more

How to use LINQ Take clause in VB.NET

Web developers use optional LINQ Take clause when they want to include in a query a specified number of contiguous elements from the start of a result list which is specified by the count parameter:

Take count

where count is required value or an expression that evaluates to the number of elements of the sequence to return.

Learn more