开发者

Operation can only be performed on rows that belong to a DataGridView control?

开发者 https://www.devze.com 2022-12-24 09:22 出处:网络
it happens when i change the DataSou开发者_开发知识库rce. i have checked everything(stack traces, all exception information, datasources, grids, all the threads, etc) i have also write lots of diagnos

it happens when i change the DataSou开发者_开发知识库rce.

i have checked everything(stack traces, all exception information, datasources, grids, all the threads, etc) i have also write lots of diagnostic code(+3000 line)

it seems to be a virus, it is going to destroy everything in my app.

all grids are going to have the very same error.(while i have not changed any of the code).wtf .

it makes my datagridviews to have an red X on them.


The red X is .net's way of showing that an error occured in the drawing of the control code.

See these articles 1, 2, 3 for some hints on the possible causes/what you can do about it (if those links don't help googleing "datagridviews have an red X" brings up a lot of reading material).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号