| |

VerySource

 Forgot password?
 Register
Search
View: 693|Reply: 4

DataGrid subscript why out of bounds

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-22 12:20:01
| Show all posts |Read mode
I added the ADO component and the DataGrid component, and connected the DataGrid component to the ADO component. The ADO component also successfully connected to the database, but the runtime prompted a subscript to cross the boundary. I don't know what the problem is, please help me, thank you!
Reply

Use magic Report

0

Threads

24

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-2-1 23:36:01
| Show all posts
How good it is to use ADO.net.

ps: How come here?
Reply

Use magic Report

0

Threads

55

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 United States

Post time: 2020-2-17 13:15:01
| Show all posts
Debug to see which line is causing it.
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-3-1 23:00:01
| Show all posts
Only see the error location when debugging
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-3-31 10:15:01
| Show all posts
Thank you, I was too careless, the original initialization width is one more column.
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