帮助从datagridview添加数字 [英] help adding numbers from a datagridview
本文介绍了帮助从datagridview添加数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I have a datagridview named Partcotdatagridview. In this datagridview, I have two columns. The first column has a combo box with some names in the data source such as John, David, Alex. The second column is designated for amounts. Each person will have different entries in the datagrid I will select a name and enter an amount for that person. I would like to display the total for each person in 3 different labels in a different form.
Can I get some help in writing a code for that?
推荐答案
讨论了各种方法 ^ ].
此线程 [
Various approaches are discussed here[^].
This thread[^] also talks about summing cells.
这篇关于帮助从datagridview添加数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文