Home All Groups Group Topic Archive Search About

DataTable.Select Aggreate function

Author
23 Aug 2006 6:17 AM
Stefan Schelling
Hi Newsgroup

I've the following problem:
i have a statement on a DataTable thats looks like:
BKD.Select(string.Format("{0} = MIN({0}) AND {1} = {2} AND {3} = {4}",
BKD.PeriodeVon.ColumnName,
BKD.HerkunftsRefNr.ColumnName, rowBKD.HerkunftsRefNr,
tmBKD.BKD.StatusCd.ColumnName, BKDStatusCd.Differenziert)

I always get an Array back with length zero but the Data i'm looking for are
in the DataSet.

Is it not possible to do an aggregate function and other filtering in the
same statement?



Thanks in advance
Stefan

AddThis Social Bookmark Button