TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ahmet Taha
NA
381
20.6k
looping in c#,net in winform not console
Apr 13 2021 3:30 AM
Hello Guyz, could anyone help me to find the solution of my problem? Thanks in advance (the sample is attached here)
i try but doesn't work
private void txtinput_KeyPress(object sender, KeyPressEventArgs e)
{
if (!(Char.IsDigit(e.KeyChar) || (e.KeyChar == (char)Keys.Back)))
{
int a = Convert.ToInt32(txtinput.Text);
// var str = array.join(',');
// int a = Convert.ToInt32(txtinput.Text);
for (int i = a; i >= 1; i--)
{
label1.Text =string.Join.ToString(i);
}
e.Handled = true;
}
}
Reply
Answers (
3
)
How to print invisible part of the windows forms screen?
How Can I do this command in linq to sql