Python.Net and DataRow

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Python.Net and DataRow

Alexander Mail
Hi,
I'm new in Python.Net programming. I try to build a simple project  
that use DataSet/DataTable/DataRow.
But when I add a DataRow with this code:

mydatar = DataRow()

I get this error:

        no constructor matches given arguments.

Any ideas?

Thanks

Marco


_________________________________________________
Python.NET mailing list - [hidden email]
http://mail.python.org/mailman/listinfo/pythondotnet
Reply | Threaded
Open this post in threaded view
|

Re: Python.Net and DataRow

Tribble, Brett
Can you use this instead?

from System.Data import DataTable, DataRow
ttable = DataTable()
mydatar = ttable.NewRow()




-----Original Message-----
From: pythondotnet-bounces+btribble=[hidden email] [mailto:pythondotnet-bounces+btribble=[hidden email]] On Behalf Of Alexander Mail
Sent: Thursday, August 13, 2009 6:15 AM
To: [hidden email]
Subject: [Python.NET] Python.Net and DataRow

Hi,
I'm new in Python.Net programming. I try to build a simple project  
that use DataSet/DataTable/DataRow.
But when I add a DataRow with this code:

mydatar = DataRow()

I get this error:

        no constructor matches given arguments.

Any ideas?

Thanks

Marco


_________________________________________________
Python.NET mailing list - [hidden email]
http://mail.python.org/mailman/listinfo/pythondotnet

_________________________________________________
Python.NET mailing list - [hidden email]
http://mail.python.org/mailman/listinfo/pythondotnet