[IronPython] Data binding - how?
Patrick O'Brien
sum.ergo.code at gmail.com
Thu Dec 7 18:35:08 CET 2006
On 12/6/06, Dave Fugate <dfugate at microsoft.com> wrote:
>
> I looked into trying to replace the Python class full of properties with
> a list full of tuples. That is, doing something similar to:
>
> #...
>
> data = [
>
> ('Joe', 23),
>
> ('Bob', 8),
>
> ('Thomas', 32),
>
> ('Patrick', 41),
>
> ('Kathy', 19),
>
> ('Sue', 77),
>
> ]
>
> #...
>
> grid.DataSource = data
>
>
>
> as was suggested in an earlier email. As far as I can tell you're limited
> to one-dimensional arrays for the DataSource as is suggested by
> http://www.vbdotnetforums.com/showthread.php?t=14657.
>
That makes sense. Thanks for the clarification, Dave. :-)
--
Patrick K. O'Brien
Orbtech http://www.orbtech.com
Schevo http://www.schevo.org
Louie http://www.pylouie.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061207/bf88cb28/attachment.html>
More information about the Ironpython-users
mailing list