如何在复选框中单击以减小值 [英] How to decrements a value at checkbox click

查看:79
本文介绍了如何在复选框中单击以减小值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我只想在复选框单击时减小特定值,并希望将其显示在gridview中..

请告诉我该怎么做.. ???

Hi all

i just want to decrement a particular value at checkbox click and want to disply it in gridview ..

please tell me how to do that..???

推荐答案

声音直截了当!你有尝试过吗?

这是询问者的期望:
1. 先尝试您要做什么!您可能会发现它并不难.
2.整理出您认为有问题/无法解决的问题.



现在,您需要执行以下操作:
1.定义一个checkedchange事件(将在复选框单击时引发)
2.根据需要增加事件方法来递减
3.在网格中显示您想要的任何内容.

试试吧!
Sounds straight forward! Did you try anything?

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it''s not that hard.
2. Formulate what was done by you that looks like an issue/not working.



For now, you need to do:
1. Define a checkedchange event (will be raised on checkbox click)
2. Do your decrement as per need the event method raised
3. Display whatever you want in the grid.

Try!


这篇关于如何在复选框中单击以减小值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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