Home > DeveloperSection > Blogs > Data Source in ASP.Net

Data Source in ASP.Net


.NET ASP.Net 
Ratings:
0 Comment(s)
 552  View(s)
Rate this:

Data Sources in ASP.Net

In this blog I will talk about Data Sources in ASP.NET

A data source control communicates with the data-bound controls and hides the complex data binding methods. These are the tools that give data to the bound controls and support execution of operations like deletions, sorting,insertions and updates.

Each data source control wraps a specific data gives-relational database, XML documents or column classes and helps in:

1.      Managing connection

2.      Selection of data

3.      Managing presentation aspects like paging, caching etc.

4.      Manipulation of the data

 

There are several data source controls available in ASP.Net for taking data from SQL server, from ODBC or OLEDB servers, from XML files and from business objects.

The data source controls needed for hierarchical data are:

1.      XMLDataSource : allows binding to strings and XML files with or without schema information.

2.      SiteMapDataSource: allows binding to a provider that supplies site map data.

 

The data source controls used for tabular data are:

Data Source Controls                         Description

SqlDataSource                           Shows a connections to an ADO.Net data provider that    returns SQL data, including data sources accessible via OLEDB and QDBC      

ObjectDataSource                   Gives binding to a custom .Net business object that returns data    

LinqDataSource                       Gives binding to the results of  a linq-to-sql query   

AccessDataSource                    It represents connection to a Microsoft Access database.

The Data sources Views

Data source views are objects of the DataSourceView class and show a customized view of data for different data operations like filtering, sorting etc.

The DataSourceView class serves as the base class for all data source view classes, which describes the capabilities of data source controls.

Example:

//XMLDataSource

<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/XMLFile.xml"></asp:XmlDataSource>

 

//SiteMapDataSource

.config file

<configuration>

    <system.web>

      <compilation debug="true" targetFramework="4.5" />

      <httpRuntime targetFramework="4.5" />

       <siteMap defaultProvider="XmlSiteMapProvider" enabled="true">

            <providers>

                <add name="XmlSiteMapProvider"

             description="SiteMap provider which reads in .sitemap XML files."

             type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

             siteMapFile="web.sitemap"

             securityTrimmingEnabled="true"/>

            </providers>

        </siteMap>

    </system.web>

 

</configuration>

//Web.SiteMap file

Right Click on application>>select ADD option>>New Item>>web>>siteMap

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >

  <siteMapNode title="Home" url="~/home.aspx" description="Go To Home">

   <siteMapNode title="Page 3" url="~/book3/chapter3/page3/page3.aspx" description="Go To Page 3">

          <siteMapNode title="Paragraph 1" url="~/book3/chapter3/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

          <siteMapNode title="Paragraph 2" url="~/book3/chapter3/page3/paragraph2.aspx" description="Go Paragraph 2"/>

          <siteMapNode title="Paragraph 3" url="~/book3/chapter3/page3/paragraph3.aspx" description="Go Paragraph 3"/>

        </siteMapNode>

      </siteMapNode>

    </siteMapNode>

  </siteMapNode>

</siteMap>

 

//SQLDataSource

Click on Databind Control>>Choose data Source>>select  new data source>>open  source Configuration  Wizard>>choose a data source type

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$  ConnectionStrings:MindStickTaskConnectionString %>" SelectCommand="SELECT * FROM  [EmployeeDetail]"></asp:SqlDataSource>

 

Example:

Create a MasterPage.Master

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="MasterPage.master.cs" Inherits="SitePathPath.MasterPage" %>

 

<!DOCTYPE html>

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title></title>

    <asp:ContentPlaceHolder ID="head" runat="server">

    </asp:ContentPlaceHolder>

</head>

<body>

    <form id="form1" runat="server">

    <div>

    <h2>Basic SiteMapPath Sample</h2>

    Use the Menu control on the left to navigate to different pages in the website.

    Notice that the SiteMapPath control changes what is displayed. Click on links on the

    SiteMapPath control to navigate up the hierarchy.

    <br /><br />

        <table cellpadding="8">

            <tr>

                <td bgcolor="#ccffcc" valign="top" rowspan="2">

                  <b><i>Menu Control</i></b>

                  <br /><br />

                  <asp:Menu DataSourceID="SiteMapDataSource1" ID="Menu1" runat="server"

                    StaticDisplayLevels="2" BackColor="#FFFBD6"

                    DynamicHorizontalOffset="2" Font-Names="Verdana"

                    ForeColor="#990000" StaticSubMenuIndent="10px">

                    <StaticSelectedStyle BackColor="#FFCC66" />

                    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />

                    <DynamicMenuStyle BackColor="#FFFBD6" />

                    <DynamicSelectedStyle BackColor="#FFCC66" />

                    <DynamicMenuItemStyle HorizontalPadding="5px"

                      VerticalPadding="2px" />

                    <DynamicHoverStyle BackColor="#990000" Font-Bold="False"

                      ForeColor="White" />

                    <StaticHoverStyle BackColor="#990000" Font-Bold="False"

                      ForeColor="White" />

                    </asp:Menu>

                    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />

                </td>

                <td width="10" >

                </td>

                <td bgcolor="#ffffcc" nowrap="noWrap" valign="top" >

                  <b><i>SiteMapPath Control</i></b>

                  <br /><br />

                    <asp:SiteMapPath ID="SiteMapPath1" runat="server">

                    </asp:SiteMapPath>

                </td>

            </tr>

            <tr>

                <td width="10" >

                </td>

                <td style="border-left-color: black; border-bottom-color: black;

                 width  : 392px; border-top-style: solid; border-top-color: black;

                 border-right-style: solid; border-left-style: solid;

                 border-right-color: black; border-bottom-style: solid"

                 bgcolor="#ffcc00" valign="top">

        <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">

         

        </asp:contentplaceholder>

                </td>

            </tr>

         </table>

        <br /><br />

    </div>

    </form>

</body>

</html>

 

 Create a Home.aspx

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="SitePathPath.Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

     <br />

    Home<br />

    Page Content

</asp:Content>

 

Create a Web.SiteMap

Right Click on application>>select ADD option>>New Item>>web>>siteMap

<?xml   version="1.0" encoding="utf-8"  ?>

  <siteMap >

    <siteMapNode title="Home" url="~/Home.aspx" description="Go To Home">

      <siteMapNode title="Book 1" url="~/book1/book1.aspx" description="Go To Book 1">

        <siteMapNode title="Chapter 1" url="~/book1/chapter1/chapter1.aspx" description="Go To Chapter 1">

          <siteMapNode title="Page 1" url="~/book1/chapter1/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter1/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter1/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter1/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book1/chapter1/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter1/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter1/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter1/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book1/chapter1/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter1/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter1/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter1/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

        <siteMapNode title="Chapter 2" url="~/book1/chapter2/chapter2.aspx" description="Go To Chapter 2">

          <siteMapNode title="Page 1" url="~/book1/chapter2/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter2/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter2/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter2/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book1/chapter2/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter2/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter2/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter2/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book1/chapter2/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter2/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter2/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter2/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

        <siteMapNode title="Chapter 3" url="~/book1/chapter3/chapter3.aspx" description="Go To Chapter 3">

          <siteMapNode title="Page 1" url="~/book1/chapter3/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter3/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter3/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter3/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book1/chapter3/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter3/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter3/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter3/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book1/chapter3/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book1/chapter3/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book1/chapter3/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book1/chapter3/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

      </siteMapNode>

 

      <siteMapNode title="Book 2" url="~/book2/book2.aspx" description="Go To Book 2">

        <siteMapNode title="Chapter 1" url="~/book2/chapter1/chapter1.aspx" description="Go To Chapter 1">

          <siteMapNode title="Page 1" url="~/book2/chapter1/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter1/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter1/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter1/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book2/chapter1/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter1/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter1/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter1/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book2/chapter1/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter1/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter1/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter1/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

        <siteMapNode title="Chapter 2" url="~/book2/chapter2/chapter2.aspx" description="Go To Chapter 2">

          <siteMapNode title="Page 1" url="~/book2/chapter2/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter2/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter2/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter2/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book2/chapter2/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter2/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter2/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter2/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book2/chapter2/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter2/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter2/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter2/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

        <siteMapNode title="Chapter 3" url="~/book2/chapter3/chapter3.aspx" description="Go To Chapter 3">

          <siteMapNode title="Page 1" url="~/book2/chapter3/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter3/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter3/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter3/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book2/chapter3/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter3/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter3/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter3/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book2/chapter3/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book2/chapter3/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book2/chapter3/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book2/chapter3/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

      </siteMapNode>

      <siteMapNode title="Book 3" url="~/book3/book3.aspx" description="Go To Book 3">

        <siteMapNode title="Chapter 1" url="~/book3/chapter1/chapter1.aspx" description="Go To Chapter 1">

          <siteMapNode title="Page 1" url="~/book3/chapter1/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter1/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter1/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter1/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book3/chapter1/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter1/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter1/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter1/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book3/chapter1/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter1/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter1/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter1/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

        <siteMapNode title="Chapter 2" url="~/book3/chapter2/chapter2.aspx" description="Go To Chapter 2">

          <siteMapNode title="Page 1" url="~/book3/chapter2/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter2/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter2/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter2/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book3/chapter2/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter2/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter2/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter2/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book3/chapter2/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter2/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter2/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter2/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

        <siteMapNode title="Chapter 3" url="~/book3/chapter3/chapter3.aspx" description="Go To Chapter 3">

          <siteMapNode title="Page 1" url="~/book3/chapter3/page1/page1.aspx" description="Go To Page 1">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter3/page1/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter3/page1/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter3/page1/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 2" url="~/book3/chapter3/page2/page2.aspx" description="Go To Page 2">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter3/page2/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter3/page2/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter3/page2/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

          <siteMapNode title="Page 3" url="~/book3/chapter3/page3/page3.aspx" description="Go To Page 3">

            <siteMapNode title="Paragraph 1" url="~/book3/chapter3/page3/paragraph1.aspx" description="Go To Paragraph 1"/>

            <siteMapNode title="Paragraph 2" url="~/book3/chapter3/page3/paragraph2.aspx" description="Go Paragraph 2"/>

            <siteMapNode title="Paragraph 3" url="~/book3/chapter3/page3/paragraph3.aspx" description="Go Paragraph 3"/>

          </siteMapNode>

        </siteMapNode>

      </siteMapNode>

    </siteMapNode>

  </siteMap>

 

 

Create a web .config

<configuration>

    <system.web>

      <compilation debug="true" targetFramework="4.5" />

      <httpRuntime targetFramework="4.5" />

       <siteMap defaultProvider="XmlSiteMapProvider" enabled="true">

            <providers>

                <add name="XmlSiteMapProvider"

             description="SiteMap provider which reads in .sitemap XML files."

             type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

             siteMapFile="Web.sitemap"

             securityTrimmingEnabled="true"/>

            </providers>

        </siteMap>

    </system.web>

 

</configuration>

 

 

Output:

 

 


Don't want to miss updates? Please click the below button!

Follow MindStick