create a new column in the underlying datatable, and use the .Expression property to calc the average. for more info on Expression, read in mSDN
the .expression property seems to be very handy. too bad it doesnt support sql query statements. =)
thanks so much.
SELECT
a.*
Round(a.EndTime - a.StartTime, 2) - 1 as HoursWorkedMinusLunch
FROM
tblTimeSheet a