This class has no public constructors - you aren't intended to construct it directly.

See the documentation for details:

http://msdn.microsoft.com/en-us/library/system.data.datarow.aspx

To create a new DataRow, use the NewRow method of the DataTable object. After creating a new DataRow, use the Add method to add the new DataRow to the DataRowCollection.

Michael

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

mydatar = DataRow()

my program crash.

Any ideas?

Thanks

Marco
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog


_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to