基本计算为12% [英] 12% basic calaculation

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

问题描述

基本文本框1(1000)基本文本框2的12%120


在此textbox1中,如果amt 781更大,则意味着780 amt要在textbox2中显示,否则12%的基本(1000)120 amt要在textbox2中显示.

为此,如何使用csharp
编写代码
请帮助我

Basic textbox1 (1000) 12%on basic textbox2 120


in this textbox1 if amt 781 greater means 780 amt want to display in textbox2 else 12% on basic (1000) 120 amt want to display in textbox2.

for that how to write code using csharp

please help me

推荐答案

您要求的实施总体而言太基础了!

尝试一下,您可能会发现并不困难.
您需要的是:
1.用户界面-两个文本框,一个按钮
2.背后的代码-按钮单击事件,其中您检查在textbox1中输入的文本,使用if语句并找到要在textbox2中显示的值

试试吧!
You are asking too basic an implementation as a whole!

Try out, you may find it is not that difficult.
All you need is:
1. UI - two textbox, one button
2. code behind - button click event in which you check the text entered in textbox1, use if statement and find the value to be displayed in textbox2

Try!


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

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