Thursday, March 29, 2007

Convert String To Lower Upper Proper cases

private void Button1_Click(object sender, System.EventArgs e)
// TextInfo Class available in System.Globalization namespace;

TextInfo t = new CultureInfo("en-US",false).TextInfo;

//TextInfo Class Defines properties and behaviors, such as casing,
//that are specific to a writing system
Response.Write("LowerCase :"+t.ToLower(TextBox1.Text)+"
ProperCase :"

UpperCase :"


No comments:

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.