>>不能实现分组,得到条数大于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
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