Sunday 9 February 2014

Change Case: Convert to Proper Case in ASP.NET using VB.Net

This example explain the understanding of convert to Proper Case in ASP.NET using VB.Net

Example:
Dim strText As String = "welcome to allwin smart"
Dim strPropCaseText As String = String.Empty
strPropCaseText = StrConv(strText, VbStrConv.ProperCase)
txtOutput.Text = strPropCaseText.ToString
Output:
Welcome To Allwin Smart

0 comments:

Post a Comment