Ba salam dar in ghesmat amoozeshe Joda Kardan number va horoof az String
Dar Form 3ta TextBox mizarim Ke avalish Etelaat ro daryaft mikone va dovomish number va sevomish horoof ro neshoon Mide
Doostan Zahmate Source Ro Bekeshan.AZ + be jaye Thanks Estefade konid
Dar Form 3ta TextBox mizarim Ke avalish Etelaat ro daryaft mikone va dovomish number va sevomish horoof ro neshoon Mide
- Code:
textBox2.Clear();
textBox3.Clear();
if (string.IsNullOrEmpty(textBox1.Text))
{
MessageBox.Show(@"Please Type Enter ");
return;
}
foreach (char str in textBox1.Text)
{
if (char.IsDigit(str))
{
textBox2.Text += str.ToString();
}
else
{
textBox3.Text += str.ToString();
}
}
Doostan Zahmate Source Ro Bekeshan.AZ + be jaye Thanks Estefade konid