ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python.net
python.net
Re: [Python.NET] PythonDotNet Digest, Vol 69, Issue 1
by Andrew Svetlov other posts by this author
Aug 14 2009 7:27AM messages near this date
Re: [Python.NET] Issues with running a phyton script from c# | [Python.NET] Problem importing .pyd modules after 'import clr'
FRAMEWORK 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@[...].org
http://mail.python.org/mailman/listinfo/pythondotnet

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved