
Can some one help me to do like above image in gridview windows form .net

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Jul 16, 2014, 8:45 PM EDT
hi,
I am assuming that you get the data from database.
so solution is write group by query and query result is assign to gridview Datasource.
any SQL query is
select name, sum(amount) as amount from table1
group by name
let us know if you required more information.
hope this will help you.
Abhishek KumarRank #510 · 4.8K reputationPosted Jul 16, 2014, 10:41 PM EDT
sum of amount for Name er should be 9. In 2nd Image it is showing 7. Is it okay?.
Regards,
Abhishek
vanitha4 reputationPosted Jul 17, 2014, 1:11 AM EDT