Use following Name Spaces
-------------------------------------------------------------
using System.Globalization;
using System.Threading;
------------------------------------------------------------
CultureInfo cultureInfo = Thread.CurrentThread.CurrentCulture;
TextInfo textInfo = cultureInfo.TextInfo;
Label1.Text = textInfo.ToTitleCase(txttext.Text);
Wednesday, 20 August 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment