[IronPython] Return value for ADODB .Execute() call?

Vernon Cole vernondcole at gmail.com
Thu Aug 28 00:24:35 CEST 2008


<code>
if win32:
    adoRetVal=self.cmd.Execute()
else:  #Iron Python
    ra = clr.Reference[int]()
    adoRetVal=[self.cmd.Execute(ra)] # return a list like win32
    adoRetVal.append(ra.Value)
</code>

Works great!
Unit tests passed.
Thank you!
--
Vernon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080827/838c5e97/attachment.html>


More information about the Ironpython-users mailing list