1
Answer

gridview does not update changes in dataset


I have a listbox and a gridview which are bounded to a typed dataset created by visual studios design-time support. When I add a row to the dataset in code the listbox updates the changes without any problems, but the datagridview does not. Is there anything I misunderstood. I thought any changes made to the dataset are detected by the connected bindingsource and than reflected automatically in the user interface.

thx for any help
Answers (1)
0
katana
NA 138 0 21y
I still encounter this as well. I'm not sure exactly what it is. I've seen it mostly when the parent controls have changed and are being rebuilt. I think it could be something to do w/ the properties in the Windows Generated Code, being different then the parent control has.
0
peter 0
NA 3 0 21y
I'm using VisualStudio 2003 Enterprise Architect. I've read numerous threads on the MS newsgroups pertaining to this problem. I must assume that MS is aware of the problem, but have yet to see anything 'official' either acknowledging the issue or that any work is under way to correct it, like a patch.
0
bonnieb
NA 24 0 21y
Which version of VS are you using? I've encountered this occasionally, but it's been quite awhile since it's happened, so I'm thinking it was probably with 2002 and not with the latest 2003 version. ~~Bonnie
0
andrew
NA 155 0 21y
happened to me few times too, but mostly with inherited forms. Since then I abandoed the concept of using those, and if I do need to, I just do that by hand without using designer.