i have a table contains columns cost,date,customer-id,products bought i can create daily reports but now i want to create monthly reports as sum of cost. i have a grid view to show it please explain me clearly am a beginner to this .net what should be done in grid view and what should be the sql query i am using grid view manually generated columns daily basis are customer-id,date,cost,products bought
for monthly reports
i am using grid-view columns cutomerid,month,year,cost
what should be the sql query