Line 84: Dim SitemapTable As DataTable = Utility.getDataTableByQuery("SELECT CHILD.sitemap_catID AS Id, CHILD.nome AS Titolo FROM sitemap AS BOSS INNER JOIN sitemap AS CHILD ON BOSS.sitemap_catID=CHILD.catID_padre WHERE BOSS.sitemap_catId=@IdSitemap", New SqlParameter() {New SqlParameter("@IdSitemap", _SitemapId.Value)})
Line 85: Dim SitemapRow As DataRow = (From column In SitemapTable.Rows Where Utility.getSlug(column("Titolo")) = Request.QueryString("type")).FirstOrDefault()
Line 86: Dim idsitemap As Integer = Convert.ToInt32(SitemapRow.Field(Of Integer)("id"))
Line 87: _SitemapPanel.Visible = True
Line 88: LoadSitempap(IdPost, idsitemap, False)
|