I want to write a c# method to retrieve the current page. eg Default6.aspx I know I can do the following:
string url = HttpContext.Current.Request.Url.Absolu
Try this:
path.Substring(path.LastIndexOf("/");