需要在asp.net中减少gridview中运行时的值 [英] Need to reduce the value for runtime in gridview in asp.net

查看:57
本文介绍了需要在asp.net中减少gridview中运行时的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在asp.net中减少gridview中运行时的值





i将值绑定为网格中的billamount有文本框,我在运行时输入值我需要网格中的输出。















名称日期billamount

Celv 14/4/15 15000

celv 25/4/15 25000

















现在在运行时我给出的金额为20000.



姓名日期Billamount

Celv 14/4/15 15000 20000 5000

Celv 25/4/15 25000 5000 20000 < br $>








我需要减少下一次的5000金额在asp.net

eed to reduce the value for runtime in gridview in asp.net


i have bind the value as billamount in grid and i have the textbox and i enter the value in runtime i need the output in the grid.







Name Date billamount
Celv 14/4/15 15000
celv 25/4/15 25000








Now In runtime am giving amount as 20000 .

Name Date Billamount
Celv 14/4/15 15000 20000 5000
Celv 25/4/15 25000 5000 20000




I need to reduce the amount 5000 for the next date in asp.net

推荐答案

am显示gridview中的数据。我需要在运行时减少billamount我给第一个账单20000的金额但是billamount是15000.



现在我需要减少20000-15000 = 5000。我在文本框中显示5000是在gridview中。现在我需要自动减少下一张账单的剩余5000元

25000-5000 = 20000 第二张账单
am show the data in gridview. and i need to reduce the billamount in runtime am giving the amount for the first bill 20000 but the billamount is 15000.

now i need to reduce the 20000-15000 =5000 . i show the 5000 is in the textbox is in the gridview . now i need to reduce the remaining 5000 for the next bill automatically
(25000-5000=20000 for the second bill)


这篇关于需要在asp.net中减少gridview中运行时的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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