如何计算账单 [英] how to calculate bill

查看:114
本文介绍了如何计算账单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在数据库中有两个字段的价格和整数类型的数量nd想要从这些字段计算出帐单并在文本框中显示。所以请告诉我怎么办...

Hi,

I have two fields price and quantity of integer type in database nd want to calculate bill from these fields and show in textbox . so please tell me how to do...

推荐答案

你只需要从数据库中检索价格和数量(谷歌ADO.Net),然后你就可以计算出来了总计并使用文本框的文本属性来显示它。如果您希望有人为您编写代码,那么您将不得不去租用编码器或类似的地方。你学习的唯一方法就是自己做这项工作。
You just need to retrieve the price and quantity from the database (google ADO.Net), then you can calculate the total and use the Text property of your textbox to display it. If you were hoping for someone to write the code for you, then you will have to go to rent a coder or somewhere like that. The only way for you to learn will be to do the work yourself.


这篇关于如何计算账单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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