If you have a full file path like D:\My Documents\myimg.jpg and you want to get just the file name myimg.jpg, you can get it with the help of the Path class in this fashion:-
In C#
string filename = Path.GetFileName(“D:\My Documents\myimg.jpg“);
In VB .NET
Dim fileName as String = Path.GetFIleName(“D:\My Documents\myimg.jpg”)
When you have a GridView control and you bind it to a decimal field (for example), you can manipulate the format of the string shown by using the format specifier in the BoundField or in the Eval function in the TemplateField.
Here’s how you do it. Use the f with a number such as f0 for [...]
My dad wrote that application back in 2001 and he died in 2005. At the end he was thinking about selling out our house. I guess he couldn’t handle the stress. Got brain hemorrhaged.
I believe CDA is one of the most corrupt organization in Pakistan.
To
The Chairman,
Capital Development Authority, Islamabad.
Subject: CONFIRMATION OF ALLOTMENT OF PLOT NO: 374/A, I-10/4.
Sir,
With due regards it is submitted:
i. That I remained employed in M/S International Aeradio Limited, Saudi Arabia w.e.f. March 1977 to March 1987 after which I returned [...]