ds.Tables[0].Rows.RemoveAt(gridView1.FocusedRowHandle);<wbr><div>//ds是Tables[0]中的所有数据,此时已被移除了一条</div> <div>//开始处理其余数据的操作</div> <div><a target="_blank" rel="nofollow" href="http://technet.microsoft.com/zh-cn/library/bb979693">RemoveAt方法</a></div></wbr>
Dataset中移除当前行,操作其它行
最新推荐文章于 2018-09-06 19:10:00 发布