PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 1.00 average.

DataTable.Select - Group By

 
 
Doug
Guest
Posts: n/a
 
      4th May 2007
Is it possible to do a Group By in the Select method of the DataTable
object?

 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      11th May 2007
Hi,

DataTable's Compute method makes that possible on certain level, if you need
calculate something simple. Otherwise you'd need to use something like:
http://weblogs.sqlteam.com/davidm/ar...5/20/1351.aspx


--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net


"Doug" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is it possible to do a Group By in the Select method of the DataTable
> object?
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataTable.Select vs DataTable.rows.Find vs foreach Dave Microsoft C# .NET 1 17th May 2007 09:06 PM
DataTable.Select() - is it possible to pass rows back to datatable =?Utf-8?B?QW5kcmUgUmFuaWVyaQ==?= Microsoft ADO .NET 5 9th Nov 2005 05:10 PM
datatable as result of a select on another datatable PC Microsoft VB .NET 0 25th Apr 2005 02:04 PM
Retrieving datarows using DataTable.Select method and adding it to new DataTable C.Anand via DotNetMonster.com Microsoft ADO .NET 4 4th Apr 2005 05:21 PM
How can I use real SQL on a DataTable? i.e. not array of rows using a filter... as in DataTable.Select Dan V. Microsoft C# .NET 3 1st Jul 2004 03:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:20 PM.