必须加入多选,否则DBGridEh1.SelectedRows.Count永远为0Delphi/Pascal code?1DBGridEh1.Options := DBGridEh1.Options + [dgrowSelect] + [dgMultiSelect];