不用自己写代码,Dev有现成滴

this.girdview1.optionView.NewItemRowPosition = DevExpress.XtraGrid.View.NewIntemRowPosition.Bottom

(在底部添加,还可以根据需求自己选择添加行的位置)

相关文章: