string currentPage = Request.Url.ToString().ToLower(); if (currentPage.Contains("about.aspx")) { //do your thing here } else if (currentPage.Contains("home.aspx")) { //do your thing here } else { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)