Two years, eight months later and still M$ does not give a s...

M

Marius Horak

does not give a solution to the problem described in

http://tinyurl.com/bztd7

"At least there is still a more problem. When I first assign an empty
ArrayList to the DataGrids DataSource, the DataGrid shows nothing. That
is ok. But it also can't detect the ncessary columns, becouse there
aren't. If I now add an object to the the ArrayList and do it the same
way as dscribed above (assign "null" and then the ArrayList again), the
newly added object is shown in the DataGrid. But trying to edit an item
of this record doesn't work. The change isn't accepted and when leaving
the focus of the DataGrid I get an exception (index out of range). It
doesn't matter if I add one ore more objects into the ArrayList. If the
ArrayList was formerly empty, I allways get this exception. "

MH
 
P

Patrice

Is this their problem or yours ?

The last suggestion looks good to me. What if you don't assign a null
ArrayList ? It shouldn't change much regarding the UI and it mays perhaps
avoid further problem.

Else try to post the smallest amount of code that shows the problem...
 
M

Marius Horak

Patrice said:
Is this their problem or yours ?
Theirs.

The last suggestion looks good to me.

I didn't complain that my program is not working as my array is never
empty.
I just informed DotNet users that M$ does not care about them.
But what's new.

MH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top