Introduction:
Here I will explain how to get current page name in asp.net using c#, vb.net with example or get name of current executing page in asp.net using c#, vb.net or get currentpage.aspx from page object in asp.net. By Path.GetFileName property we can get current page name in asp.net using c#, vb.net.
Description:
In previous articles I explained create error log files in asp.net, bind all countries to dropdownlist in asp.net, generate random string or password in asp.net, Add or remove new row in gridview in asp.net, bind dropdownlist in gridview in asp.net, gridview examples in asp.net and many articles relating to dropdownlist, gridview, asp.net, c#,vb.net and jQuery. Now I will explain how to get current page name in asp.net using c#, vb.net with example.
In previous articles I explained create error log files in asp.net, bind all countries to dropdownlist in asp.net, generate random string or password in asp.net, Add or remove new row in gridview in asp.net, bind dropdownlist in gridview in asp.net, gridview examples in asp.net and many articles relating to dropdownlist, gridview, asp.net, c#,vb.net and jQuery. Now I will explain how to get current page name in asp.net using c#, vb.net with example.