//不显示出dataGridView1的最后一行空白 dataGridView1.AllowUserToAddRows = false; 转载于:https://www.cnblogs.com/jxsoft/archive/2011/05/06/2039183.html