| TOTAL: 60 Page: 1 of 3 |
|
ASP.NET version of
When compared to an http script written in standard ASP, this script really illustrates how important a role objects play in the new .NET framework. It seems like every object returns an object, and while it may take some getting used to, it really does seem to make more sense.

| Hits: | 121 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
XML the Easy Way
Do you know the ASCII code for a backspace? If your career in computer programming goes back into the 1980s, you probably do. If your experience is limited to Internet-based systems, your response is more likely to be "Why would I need to know that?" (The answer is 8, by the way.) At one time, any serious programmer on microcomputers needed to know how to work directly with ASCII codes. Interpreting user input, formatting files, and printing documents required it. That's no longer true, of co

| Hits: | 25 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
Implementing XmlReader Classes for Non-XML Data Structures and Formats
The Microsoft® .NET Framework XmlReader class provides a very easy pull model for traversing XML data. From a more general point of view, though, XML is just one possible representation for hierarchical information. Thus, an XmlReader can be viewed as a class encapsulating just some arbitrary data structure. It "maps" this data structure/data format to the "XML world" with its nodes, elements and attributes. Now, if handling hierarchical information with an XmlReader is so easy, why not use Xml

| Hits: | 27 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
ADO.NET and XML
There are many ways to view and work with data today. Traditionally we've used data access technologies such as ADO.NET, which provide us with powerful capabilities primarily focused on relational data. ADO and ADO.NET allow interaction with non-relational data, but the real focus is on traditional tabular data views. More recently we've seen the rise of XML, which is focused on hierarchical data representations. Many years ago, before I ever came into contact with relational databases, I wor

| Hits: | 27 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
XML Serialization in ASP.NET
In the past, maintaining the state of an object in ASP often required some very inventive and painstaking code. In the brave new world of .NET, however, Object Serialization offers us a comparatively easy way to do just that, as well as some other useful tasks. As a kid, I remember waking up on many a cold morning and stumbling into the kitchen with my eyes half-closed, looking forward to whatever Mom had prepared for breakfast, only to find an anticlimactic bowl of steaming hot just-add-boil

| Hits: | 47 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
XML Comments Let You Build Documentation Directly From Your Visual Studio .NET S
C# allows developers to embed XML comments into their source files—a useful facility, especially when more than one programmer is working on the same code. The C# parser can expand these XML tags to provide additional information and export them to an external document for further processing. This article shows how to use XML comments and explains the relevant tags. The author demonstrates how to set up your project to export your XML comments into convenient documentation for the benefit of o

| Hits: | 49 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
Edit and Save XML with a DataGrid
One of the great features of .NET is DataSets, DataTables, and DataRows, and using them to work with different types of data (like tables from a SQL Server, or an XML document) in a similar fashion. This article focuses on editing, and saving a simple XML document with a DataGrid. Users should already be familiar working with DataGrids, and displaying XML within a DataGrid from previous articles. First, let's take a look at our XML document. It's just a simple article list with an article tag

| Hits: | 47 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
ASP.NET ListEditor in C#
I had an absolute blast at the Microsoft Professional Developer's Conference (PDC) in Orlando last week. What a thrill to be able to stand up in front of thousands of the industry's best software engineers and show them what we've been busily working on for the past few years. I didn't sleep a wink the night before my talk. I was really impressed with the level of questions we got afterward and was grateful for the positive feedback! The funny thing is that this new .NET Platform is one of Mi

| Hits: | 24 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
VB.NET XML File Read Operations using XMLTextReader
This example illustrates the process of reading from an XML file in VB.NET QuickNotes: * Import the System.XML and System.IO namespace. Import System is shown though not required * Use the XMLTextReader class to load the .xml file * Use the .Read method of the XMLTextReader object to iterate through the collection * Use XmlNodeType.Element to check if that node represent an element. Other variations include .Attribute etc. * Use the .MoveToAttribute of the XMLTextReade

| Hits: | 35 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
XML News
If you run a site that displays news, or headlines or something and you want an easy way to add and edit those pages then this article is for you. This article will show you how to display news headlines on a site with a little bit of ASP.NET. Also, you should see the 'Live Demo' at the bottom of most code samples, this links to a page where I already have something like this set up. Browsing XML with ASP.NET In ASP I found navigating an XML file without actually seeing it was extremel

| Hits: | 25 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
Reading XML Files
The XmlReader and XmlTextReader classes are defined in the System.XML namespace. The XmlTextReader class is derived from XmlReader class. The XmlTextReader class can be used to read the XML documents. The read function of this document reads the document until end of its nodes. In this article, I will show you how to use XmlTextReader class to read an XML document and write data to the console. Adding namspace Reference Since Xml classes are defined in the System.XML namespace, so f

| Hits: | 60 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
Serialization in the .NET Framework
Serialization in .NET allows the programmer to take an instance of an object and convert it into a format that is easily transmittable over the network, or even stored in a database or file system. This object will actually be an instance of a custom type, including any properties or fields you may have set. A few examples I can think of include the ability to send an instance of your object to another portion of a local or remote application, such as over a Web service. Another example of wh

| Hits: | 59 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
XML Serialization using C#
Serialization is a process of storing state of an object to some media like disk file or stream. Few weeks back we saw how to serialize objects to disk file in binary format . .NET further provides a way to serialize objects in XML format. Thus objects can be converted into XML documents (serialization) and later on can be constructed back from the XML documents (deserialization). This article demonstrates how to use XML serialization techniques using C#.

| Hits: | 40 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
Reading and Writing XML Documents in .NET
XML provides platform independent, self-descriptive and very flexible way to represent your data. .NET has harnessed the capabilities of XML in variety of ways. In addition to providing W3C compatible classes .NET also provides additional classes which make XML document manipulation easy. In this article we will take a look at reading and writing XML documents using .NET specific classes. XML Parsers To access the content of an XML document you need to parse the document and reach to the spe

| Hits: | 30 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
Using XML Web Control
Now a days use of XML is increasing quickly. Many times data that you want to display can be stored in XML files rather than statically putting it in HTML pages. Such XML data can be transformed to HTML by applying XSL style sheet to it. In traditional ASP, we used XSL Transform objects to achieve that. ASP.NET makes displaying XML documents in browser much easy via a special web control called XML control. Creating XML Document For our example we will create following XML document. Just type

| Hits: | 20 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
Create and maintain a links page
I wanted to play around with the idea of using an XML document to store a group of links. This XML document is read into an ADO.NET dataset table for the purpose of rendering in a datagrid or other databound control. In addition, I am also providing a way to update and delete links from an administrative page. For that reason, in spite of the overhead, I'm giving each link a GUID identifier. Seemed like the easiest way to identify the node. Since I am using the built-in validation controls

| Hits: | 25 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
Collect Customer Order Information
XML has quickly become the new data structure standard for everything from database access to cross-platform computing. XML is typically considered to be a vehicle for data exchange, dynamic data presentation, and data storage. However, the potential of XML far surpasses those limited applications. This article examines one new use: the gathering of data across a number of forms in an ASP .NET Beta 1 framework application. The sample program is a Web app used for ordering pizza. It uses ASP and

| Hits: | 38 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
XML in .NET
Microsoft .NET introduces a new suite of XML APIs built on industry standards such as DOM, XPath, XSD, and XSLT. The .NET Framework XML classes also include innovations that offer convenience, better performance, and a more familiar programming model, tightly coupled with the new .NET data access APIs—ADO .NET. XmlWriter, XmlReader, and XmlNavigator classes and classes that derive from them, including XMLTextReader and XMLTextWriter, encapsulate a number of functionalities that previously had

| Hits: | 22 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
XML for Analysis Specification
Specifies a SOAP-based XML communication API that supports the exchange of analytical data between clients and servers on any platform and with any language. Executive Summary XML for Analysis is a Simple Object Access Protocol (SOAP)-based XML API, designed specifically for standardizing the data access interaction between a client application and a data provider working over the Web. Currently, under traditional data access techniques such as OLE DB and ODBC, a client component that i

| Hits: | 30 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |
XML Strengths & Weekness' with DOM, ASP & XSL
This article explains in a very simple manner how you can use XML in ASP and VB. Since the inception of XML people many developers have wondered why we need XML... How is it better than HTML? For starters, XML is far more powerful than HTML, and that power resides in the "X" in XML (which stands for "eXtensible"). Rather than providing a set of pre-defined tags, as in the case of HTML, XML specifies the standards with which you can define your own markup languages with their own sets of tags. XM

| Hits: | 25 | Platforms: | Windows |
| Ratings: | Last Updated: | 2006-07-23 |