且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

向DataView添加新行并保持现有排序?

更新时间:2023-12-01 08:38:58

当然......只需将新行添加到DataView或DataTable即可。无论哪种方式,它都应该正确地保持排序顺序。你试过吗?

Sure ... just add the new row to either the DataView or the DataTable. Either way, it should keep the sort order correctly. Have you tried it?