循环清空控件值

//清空金额汇总
   foreach (System.Windows.Forms.Control control in this.GroupBox1.Controls)
   {
    if(control is TextBox)
    {
     control.Text="0";
    }
   }

你可能感兴趣的:(textbox)