Or you can use 'Oleddbreader' for reading each record and formating it the way you want
command.excutereader for excuting query fill data in reader and use loop to print data the way you want, you can use column by column name you sum the numeric data, you can alot of tricks with Reader Command