Re: [IronPython] Array of Objects in IronPython

2009-03-04 Thread Vernon Cole
or you can use a python standard dbapi to get to your SQL data. http://adodbapi.sourceforge.net On Tue, Mar 3, 2009 at 9:07 AM, Dody Gunawinata wrote: > values = System.Array.CreateInstance(System.Object, reader.FieldCount) > > > On Tue, Mar 3, 2009 at 6:03 PM, Bernd Viehmann > wrote: >> Hi, >>

Re: [IronPython] Array of Objects in IronPython

2009-03-03 Thread Dody Gunawinata
values = System.Array.CreateInstance(System.Object, reader.FieldCount) On Tue, Mar 3, 2009 at 6:03 PM, Bernd Viehmann wrote: > Hi, > > I have a question regarding a typed array. > > Basically I want to use IronPython and ADO.NET to get some data from a > stored procedure. My first idea was to us

[IronPython] Array of Objects in IronPython

2009-03-03 Thread Bernd Viehmann
Hi, I have a question regarding a typed array. Basically I want to use IronPython and ADO.NET to get some data from a stored procedure. My first idea was to use a SQL DataReader to get all the lines of my result table into an array. Csharp way looks like this: *ArrayList rowList = new ArrayL