我可以使用列表视图单元格并使用用户输入的数据进行计算吗? [英] can i acess a listview cell and do calculation using the data enter by the user?

查看:101
本文介绍了我可以使用列表视图单元格并使用用户输入的数据进行计算吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我想使用listview输入销售帐单输入表单.我不知道我是否选择了正确的方法.有没有一种方法可以在列表视图中进行计算?

如果我现在解释表格的结构,则如下:

风味:我从dbml添加到listview.

数量:应由用户输入,并使用该值>>

价格:应计算.

所以可以使用列表视图吗????

=)我仍然是初学者.....
帮帮我.....:D

actually i want to make a sales bill entering form using a listview. i don''t know whether i have taken the right choice.Is there a way i do calculation in a listview?

if i explain the structure of the form it is as follows for now :

Flavours : that i added from the dbml to the listview.

Quantity : this should be enter by the user and using that value>>

price: should be calculated.

so is this possible using a listview????

=) im still a beginner.....
help me..... :D

推荐答案

您应该使用ComboBox选择风味,使用NumericUpDown控件选择数量,并使用DataGridView/ListView向用户显示整个账单的选定口味和数量.

希望对您有帮助
You should use a ComboBox to select the flavours, a NumericUpDown control to select the quantity and the use a DataGridView/ListView to show the user the selected flavours and quantities for the whole bill.

Hope this helps


这篇关于我可以使用列表视图单元格并使用用户输入的数据进行计算吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆