Friday, May 1, 2015

asp.net make first letter capital

  public static string CapitalFirstLetter(string StrText)
        {
            return new CultureInfo("en").TextInfo.ToTitleCase(StrText.ToLower());
        }

No comments:

Post a Comment