How do I show this query in a datagridview properly.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a query which has the following phrase
SELECT ... SUM(column1) AS total1...
FROM....
GROUP BY column2.... WITH ROLLUP

Now when I connect a dgview to this datasource I would like the row with the
sum of column1 (ie total1) to be quite distinguishable from the rest in the
dgview, how could I do this?
 
Add a new datarow after binding to the datasource and put the value to the
column that you want.

chanmm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top