XML ASP.Net

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="XmlDataSourceNoFile" %>



    Untitled Page


    
    

    
        
            
                
                
                <%#XPath("./@ID")%>
                  <%#XPath("./Title")%>
                  <%#XPath("./Director")%>
                  <%#XPath("./Price", "{0:c}")%>
                         

                
            

        
    

    


File: Default.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class XmlDataSourceNoFile : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
     sourceDVD.Data=@"
     
      title 1
      director 1
      1
      
         star 1
         star 2
      

   
   
";
  }
}