如何显示加法&在按键事件中将gridview单元格值减去到文本框中 [英] how to display addition & substraction of gridview cells value into a textbox on key press event

查看:86
本文介绍了如何显示加法&在按键事件中将gridview单元格值减去到文本框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网格视图,当用户输入值时,该单元格包含真实值,然后在按键事件中将其显示在文本框中;当用户结束在第一行中输入值并进入第二行,然后在按键事件时,该单元格包含一个真实值加法将显示在文本框中,并且当用户在任意行上按退格键或删除按钮时,将减去该值,并将新值分配到文本框中
如何做到这一点请帮助我

i have a grid view which has a cell contains real value when user enters value then it is displayed into a textbox on key press event and when user ends of entering value in first row and goes into second row then at key press event addition is displayed into a textbox and when user press backspace or delete button on any row then that value is substracted and new value is dispalyed into a textbox
how to do this plz help me

推荐答案

See my solution to your other question.[^] Someone uni-voted it, but the solution is valid. In the future, to clarify a question, just click the Improve Question button, don''t post the same question twice.


这篇关于如何显示加法&在按键事件中将gridview单元格值减去到文本框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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