"'minValue'不能大于maxValue.\ r \ n参数名称:minValue"} [英] "'minValue' cannot be greater than maxValue.\r\nParameter name: minValue"}

查看:213
本文介绍了"'minValue'不能大于maxValue.\ r \ n参数名称:minValue"}的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

当我尝试从表中选择随机行时,出现此错误. ('minValue'不能大于maxValue.\ r \ n参数名称:minValue'})

When i am try to select a random row from the table , i am getting this error. ("'minValue' cannot be greater than maxValue.\r\nParameter name: minValue"})

(有5行以上,但仅显示2行2列)

(there are more than 5 row , but it shows me only 2 rows and 2 columns)

如果我需要对上面的代码进行任何更改,或者我的代码有问题,可以请任何人让我知道

Could anyone please let me know if i need to make any changes to my above code or is something wrong in my code

谢谢

PV

PV

推荐答案

Hi PV,

Hi PV,

这是我们在测试过程中遇到的常见错误.而且我认为您使用的代码没有任何问题,它可以在先前的线程中工作.

This is a usual error we encountered during testing. And I think the code you used has no any problems, it works in previous thread.

我对这句话表示怀疑:"行多于5行,但仅显示2行2列".

I have a doubt about this sentence "there are more than 5 row , but it shows me only 2 rows and 2 columns".

您的意思是网格在您的网页中有5行以上,但是VS可以识别2行2列,也就是说在您的代码中 rowcount = 2 colcount = 2 ,对吗?

You mean the grid has more than 5 rows in your web page, but the VS could recognize 2 rows and 2 columns, that is to say in your code the rowcount=2 and colcount=2, am I right?

如果是,请参考以下方案来解决此问题:

If yes, please refer to the following scenario to troubleshot this issue:

1).请确保您标识的网格仅一个网格(不包含两个网格),我们可以使用DrawHighlight()函数来确保已成功识别网格,不仅可以识别两个行,还可以识别所有行行.

1). Please make sure the grid you identified is only one grid (not consists of two grids), we could use DrawHighlight() function to insure the grid has been recognized successfully, all rows could be recognized not only two rows.

2).确保网格已完全显示在网页中.

2). Make sure the gird has been completely displayed in the web page.

在您的代码中,您可以使用Search_Table.DrawHighlight()而不是Search_Table.Find().

In your code, you could use Search_Table.DrawHighlight() instead of Search_Table.Find().

请随时让我知道您的最新结果.

Please feel free to let me know your latest results.

此致

奥斯卡


这篇关于"'minValue'不能大于maxValue.\ r \ n参数名称:minValue"}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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