hi
I use below code to change number type to persian
public string toPersianNumber(string input)
{
string[] persian = new string[10] { "۰", "۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", "۹" };
for (int j = 0; j < persian.Length; j++)
{
input = input.Replace(j.ToString(), persian[j]);
}
return input;
}
how I can use it for text box?
I define textbox and I want when I type number into textbox it type in persian language
best regards
neda