ASP.NET(vb.net) & Using XML Control - The in this article we will show example scripts ASP.NET how to using XML control.
ShotDev Focus:
- ASP.NET(vb.net) & Using XML Control
Example
AspNetXML.aspx
<%@ Import Namespace="System.Data"%>
<%@ import Namespace="System.Xml" %>
<%@ import Namespace="System.Xml.Xsl" %>
<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
Dim doc As XmlDocument = New XmlDocument()
Dim XmlURL = Server.MapPath("XML/customer.xml")
doc.Load(XmlURL)
myXml.Document = doc
End Sub
</script>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Xml ID="myXml" runat="server"></asp:Xml>
</form>
</body>
</html>
Screenshot

