The DataTable.Compute Method might help.