Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all. i want to change some specified letters to another letters with KeyPress event of the textbox. i want the letter "Ş" change to letter "Þ". this is necessary for my work to be able to see the letters correct on a sqlserver which has a Latin collation. how can i do that? with streamreader, or any other thing?

thanks from now.
Posted
Updated 5-Jan-13 11:02am
v2

1 solution

i solved now, with the :
C#
textbox.Text = textbox.Text.Replace("Ş", "Þ");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900