DataView中没有分组功能,不能实现分组,得到条数大于1的记录,如果这样就要放在数组中遍历了吗

解决方案 »

  1.   

    >>不能实现分组,得到条数大于1的记录,如果这样就要放在数组中遍历了吗yesDataSet is just a container, it doesn't support SQL directly, but 参考HOW TO: Implement a DataSet SELECT DISTINCT Helper Class in Visual C# .NET
    http://support.microsoft.com/default.aspx?scid=kb;en-us;326176HOW TO: Implement a DataSet GROUP BY Helper Class in Visual C# .NET
    http://support.microsoft.com/default.aspx?scid=kb;en-us;326145
      

  2.   

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;326176
      

  3.   

    简单一点的,hash一下,然后排序。