Hi frienz,
last day my friend ask me abt this. i give him a solution but that's a long code, taking url from browser and help of split function catching the page name. Later he give me an another on just simple 2 line. I love Snipers.
String FileName = this.AppRelativeVirtualPath;
FileName = Path.GetFileName(FileName);
Have a nice day... 'N happy Coding :)
No comments:
Post a Comment