[Python.NET] PythonDotNet Digest, Vol 69, Issue 1
Andrew Svetlov
andrew.svetlov at gmail.com
Fri Aug 14 16:18:46 CEST 2009
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
>
More information about the PythonDotNet
mailing list