Site map & web

  • 102 views
Uploaded on

Site Map

Site Map

More in: Technology , Travel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
102
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Site MapSite MapSite MapSite Map A . Antony Alex MCAA . Antony Alex MCA Dr G R D College of Science – CBE Tamil Nadu - India
  • 2. File : Web.sitemap ◦ XML File◦ XML File <siteMap > <siteMapNode url="" title="" description=""> <siteMapNode url="" title="" description="" /><siteMapNode url="" title="" description="" /> <siteMapNode url="" title="" description="" /> </siteMapNode> </siteMap>
  • 3. NavigationViewNavigationView Tree MenuMenu SiteMapPath
  • 4. <<asp:SiteMapDataSourceasp:SiteMapDataSource id="site"id="site" runatrunat="server" />="server" /> <asp:TreeView ID="TreeView1"<asp:TreeView ID="TreeView1" runat="server" DataSourceID="site" /> <asp:Menu ID="Menu1" runat="server" DataSourceID="site">DataSourceID="site"> <asp:SiteMapPath ID="SiteMapPath1" runat="server" ></asp:SiteMapPath>
  • 5. <siteMapNode siteMapFile="MySiteMap.sitemap"/>siteMapFile="MySiteMap.sitemap"/>
  • 6. Global ConnectionGlobal ConnectionGlobal ConnectionGlobal Connection usingusing WEB.CONFIGWEB.CONFIG
  • 7. <connectionStrings> WEB.CONFIG <add name="GRDCSConnectionString" connectionString="Data Source=ANTONY- SERVERSQLEXPRESS;Initial Catalog=grdcs;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings>
  • 8. Dim mycon = New SqlConnection(ConfigurationManager.ConnectionStrings("GR DCSConnectionString").ConnectionString) Dim ds As DataSet = New DataSet Dim cmd As SqlDataAdapter = New SqlDataAdapter("select * from Student", mycon) cmd.Fill(ds, "Student") GridView1.DataSource = ds.Tables("Student")GridView1.DataSource = ds.Tables("Student") GridView1.DataBind()
  • 9. Thank UThank U