Hi! I want upper first letter name in textbox c# windows Application. I want input only name or last first and fathers name. For example input:
rustam
or
pulodov rustam abdulloevich
output result:
Rustam
Pulodov Rustam Abdulloevich
Hi PRA,
Firt fetch the record from textbox and on textchange reassign the value to again to the textbox with TitleCase like below.
string text = txtText.Text.Trim(); txtText.Text = System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(text.ToLower());
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.