[IronPython] When does data binding occur?
jvm_cop at spamcop.net
Wed Jul 26 10:20:23 PDT 2006
Do you call DataBind ?
At 01:25 PM 7/25/2006, jeff sacksteder wrote
>In my __init__ method, I create a DataGridview and set it's datasource to a BindingSource previously created. If the very last line of my __init__ gets the 'Rows' property of the DGV, it is an empty collection. I can get other attributes( like 'Name') without any problem. If I get 'Rows' from outside the __init__ method, I see what I expect.
>Is the binding delayed until the method returns? Is there anyway to force the Rows to be populated so that that can be examined/manipulated before returning?
J. Merrill / Analytical Software Corp
More information about the users