Posted By: ZippyV | Jun 13th @ 6:15 AM
page 1 of 1
Comments: 2 | Views: 862
ZippyV
ZippyV
Soapbox = Fail
This is my situation: I have a datagridview, the datasource is binded to a bindingsource which is a list(of myBusinessObject).

The weird thing is when I click in the empty new row, click back in the previous row, and then try to click again in the empty new row. I will get an invalidoperationexception. Then I click Continue in Visual Studio and the result in my datagrid are 2 extra rows (because I tried to enter the new row twice).

Even when I just enter stuff in the datagridview without getting this exception I will regularly end up with an extra row in my datasource. This weird behavior is freaking me out.
figuerres
figuerres
???
I do not recall the details but if you look at this site:

http://www.lhotka.net/

rocky has documented a ton of stuff on how to make binding work in all kinds of cases, you can read his blog and the forums and you can also grab a copy of the CSLA source and see what he does to make it work ...

also that framework is very good -- it does a lot of good stuff.
Maddus Mattus
Maddus Mattus
it really does!

I always make a master/detail form.

I hate the inline datagrid editing features for the reasons you describe.

page 1 of 1
Comments: 2 | Views: 862