this.gridView1.OptionsDetail.ShowDetailTabs = false;(必须设置主表(gridview1)的ShowDetailTabs 属性)
转载于:https://www.cnblogs.com/lhlong/p/4994434.html