Xml Control Example
Previous | Home | Next |
The XML control is used to display an XML document or the results of an XSL Transform. At least one of the XML Document properties must be set or no XML document is displayed
Property:- Document:- Deprecated. Specifies an XML document using a System.Xml.XmlDocument object DocumentContent:- Specifies an XML string DocumentSource :-Specifies a path to an XML file to display EnableTheming runat:- Specifies that the control is a server control. Must be set to "server" Transform:- Formats the XML document using a System.Xml.Xsl.XslTransform object 1.0 TransformSource:- Specifies a path to an XSL Transform file
...........................designinig code for xml control.......... .................................................................... <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>................................................................... ....................XML code......................................Untitled Page
Employee Details
Name | ID | Post |
---|---|---|
|
|
|
Previous | Home | Next |