如何在datagridview中使用相同字段计算小计 [英] how to calculte subtotal with samefield in datagridview
本文介绍了如何在datagridview中使用相同字段计算小计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有大问题.我不知道如何在同名的datagridview上计算小计.
请帮忙,谢谢.
I have big problem. I don''t how to calculate subtotal on datagridview with same name.
Please help and thanks
推荐答案
基本上,您只需要累加值并在需要显示的地方显示总数.请参见此 [ ^ ].
Basically you just add up the values and display the total wherever you need it displayed. See this[^], for example.
这篇关于如何在datagridview中使用相同字段计算小计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文