Hi,
How to clear textbox character by character by clicking on button in wimdows application using C#.net
Hi,
How to clear textbox character by character by clicking on button in wimdows application using C#.net
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kirtan PatelRank #292 · 8.6K reputationPosted May 13, 2009, 1:07 AM EDT
{
int len = textBox1.Text.Length;
textBox1.Text = textBox1.Text.Substring(0,len-1);
}