void __fastcall TForm1::Button1Click(TObject *Sender) for (int i=0;iRowCount;i++) StringGrid1->Rows[i]->Clear();{}//如许可能最简单