Re: PythonDotNet Digest, Vol 69, Issue 1

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

Re: PythonDotNet Digest, Vol 69, Issue 1

Andrew Svetlov
DataRow does not have public constructor without arguments.
You should to do something like
row = data_table.NewRow()
# fill row
data_table.Rows.AddRow(row)

> 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