Re: [IronPython] When does data binding occur?

2006-07-26 Thread J. Merrill
Oops, my bad.  DataBind is apparently only available in ASP.Net apps.  There, it makes the data binding happen when you want it to (in the page processing model); in Windows Forms apps, I knew it happens by itself -- but I thought you could get it to happen earlier, as you seemed to need, by call

Re: [IronPython] When does data binding occur?

2006-07-26 Thread jeff sacksteder
Do you call DataBind ?No, Call it on what? The Datagridview? ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] When does data binding occur?

2006-07-26 Thread J. Merrill
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 othe

[IronPython] When does data binding occur?

2006-07-25 Thread jeff sacksteder
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 outsi