C# DataTable 去重复数据方法
2021-01-30 04:15
阅读:430
标签:重复数据 style ble pre data code def new div C# DataTable 去重复数据方法 标签:重复数据 style ble pre data code def new div 原文地址:https://www.cnblogs.com/zhang1f/p/11667053.html
//获取dt中Id,Value 2个字段不重复的数据
newDt = dt.DefaultView.ToTable(true, "Id","Value" );
评论
亲,登录后才可以留言!