[Ironpython-users] Fwd: Need to create a DOT.NET Object[]

Pawel Jasinski pawel.jasinski at gmail.com
Sat Feb 16 20:25:09 CET 2013


Here is something what may help:

>>> import System

>>> a=System.Array[System.Object]([42,"foo"])
>>> a[0]
42
>>> a[1]
'foo'


It is not answer for your question, but there is another way to use ADO
http://pypi.python.org/pypi/adodbapi/2.4.2.2

--pawel

On Feb 15, 2013 10:12 AM, "Bernd Viehmann" <bernd.viehmann at googlemail.com>
wrote:

> Hi,
>
> I want to use a DataView with a ADO.NET DataTable which has 2 values for
> indexing.
> FindRow() need  something like this as parameter for every key that is
> defined:
>
> [ in C# ]
>
> public DataRowView[] FindRows (
> 	Object[] key
> )
>
>
>
> My Problem is that I have not found how to do this with IPY. Any suggestions??
>  Mit freundlichen Grüßen
>
>
> Bernd Viehmann
>
> Mahrweg 46
>
> 41836 Hückelhoven
>
>
> Tel.: 02433 9640 100
>
> Fax: 02433 9640 109
>
>
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> http://mail.python.org/mailman/listinfo/ironpython-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20130216/954089fa/attachment.html>


More information about the Ironpython-users mailing list