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.
Use TextBox Leave event.
C#
private void textBox1_Leave(object sender, EventArgs e) { (sender as TextBox).Text = System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase((sender as TextBox).Text.ToLower()); }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.