This way
C#
protected void Page_Load(object sender, EventArgs e)
{
string currentPage = System.IO.Path.GetFileName(Request.Url.AbsolutePath);
}
VB.Net
Protected Sub Page_Load(sender As Object, e As EventArgs)
Dim currentPage As String = System.IO.Path.GetFileName(Request.Url.AbsolutePath)
End Sub