Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
datatable.rows.add() 方法是否总是将数据行添加到数据表的末尾?
谢谢。
据我所知, datatable.rows.add()将新行添加到数据表的末尾。
datatable.rows.add()
如果要在第一行插入行,则必须这样做:
dTable.Rows.InsertAt(dRow, 0);