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 - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to