how to read Mobile no digit by digit?
C#
4
Posts
4
Posters
0
Views
1
Watching
-
Hello frnds, i want to read the mobile no. entered in txtbox digit by digit.... Nisar Inamdar.
-
Hello frnds, i want to read the mobile no. entered in txtbox digit by digit.... Nisar Inamdar.
-
Hello frnds, i want to read the mobile no. entered in txtbox digit by digit.... Nisar Inamdar.
try this : for(int i=0;i<textBox1.Text.Length-1; i++) { MessageBox.Show(textBox1.Text[i].ToString()); }
When you get mad...THINK twice that the only advice Tamimi - Code
-
Hello frnds, i want to read the mobile no. entered in txtbox digit by digit.... Nisar Inamdar.
I think you could use the textBox1_KeyDown(object sender, KeyEventArgs e) event for your textbox...here you have e.KeyCode and other more properties that can help you very much.
Just call me Valy... :)