| |

VerySource

 Forgot password?
 Register
Search
View: 793|Reply: 3

anxious! !! !! !! !! Please help, the index is out of array bounds.

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-14 19:30:01
| Show all posts |Read mode
I use the UltraWebGrid control, which is bound to two tables. When deleting the main table, there is no problem, and even the child table will be deleted. However, when deleting the rows of the child table, an error is reported, saying "the index exceeds the array limit" And the tracking program can't follow anything, what is the reason, or what may be the reason?
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-8-20 05:45:01
| Show all posts
That is, there is no such index value in the current array. Single-step debugging to see if an index that does not exist in the current array is called.
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-8-20 08:00:01
| Show all posts
Catch the exception or make a simple range judgment
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-20 09:00:01
| Show all posts
There was a mistake when taking the primary key value.It may be that the primary key was not put in the value when binding.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list