if (this.Drawing_GridView.SelectedColumns.Count == 0)//判断是否选中某行 { } 转载于:https://www.cnblogs.com/Angdybo/p/7610184.html