如何在C#.net的datagridview中获得最高价值 [英] how to obtain highest value in datagridview in C#.net

查看:207
本文介绍了如何在C#.net的datagridview中获得最高价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是任何人都可以帮助找到数据网格中的最小值和最大值.

is that any one could help in finding the minimum and the maximum value in the datagrid.

推荐答案

hi
此que的示例是..

我在datagrid中有10个值,例如

1 2 3 4 5 6 7 8 9 10 MIN MAX
10 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 10 10.9

因此,当我将第3个值10.2更改为10.05 ---时,我的MIN值应像在我更改值时一样自动更新10.05,如果更改的值是网格中的MAX,则应更新MAX值...

是任何人都可以帮助老虎钳的编码
hi
example for this que is ..

i have 10 values in my datagrid like

1 2 3 4 5 6 7 8 9 10 MIN MAX
10 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 10 10.9

so, when i change the 3rd value 10.2 to 10.05 --- then my MIN value should have to automatically update us 10.05 as the same when i change a value and if the changed value is MAX in the grid then the MAX value should be Updated...

is that any one could help in coding vise


这篇关于如何在C#.net的datagridview中获得最高价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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