string sValue = "563";
string sOutput = sValue.PadLeft(5, '0');
Wednesday, September 30, 2009
Tuesday, September 29, 2009
What is dual listing -- Good article ADR/GDR
http://business.rediff.com/report/2009/sep/29/perfin-what-is-dual-listing-and-why-india-may-not-adopt-it.htm
Sunday, September 27, 2009
look young
Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.
Saturday, September 26, 2009
Silverlight tutorials
http://www.davidezordan.net/blog/?p=1436
http://www.smartwebcontrols.com/video/
http://www.smartwebcontrols.com/video/
Wednesday, September 23, 2009
Simple Recursive example C#
#purpose : method to get the decimal position based on passed number
private static int GetDividebyValue(int dec_position)
{
return ((dec_position == 1) ? 1 : (10 * GetDividebyValue(dec_position - 1)));
}
//calling method
int dividby = GetDividebyValue(decimal_position+1);
private static int GetDividebyValue(int dec_position)
{
return ((dec_position == 1) ? 1 : (10 * GetDividebyValue(dec_position - 1)));
}
//calling method
int dividby = GetDividebyValue(decimal_position+1);
Monday, September 14, 2009
installutil.exe -- exited with code -1
Powershell
if you open the visual studion without Administrator mode you will get
"existed with code -1" error,
open the visual studio as a 'administrator' and run open and compile the powershell project.
happy coding
if you open the visual studion without Administrator mode you will get
"existed with code -1" error,
open the visual studio as a 'administrator' and run open and compile the powershell project.
happy coding
Subscribe to:
Posts (Atom)