Capitalize first letter of words in a string
string strName = "srikanth portal"
strName =System.Globalization.CultureInfo.CurrentUICulture.TextInfo.ToTitleCase(strName.ToLower());
Response.Write(strName);
string strName = "srikanth portal"
strName =System.Globalization.CultureInfo.CurrentUICulture.TextInfo.ToTitleCase(strName.ToLower());
Response.Write(strName);
Sign up to receive breaking news
as well as receive other site updates!
No comments: