[IronPython] IronPython and DataRow

Michael Foord fuzzyman at voidspace.org.uk
Thu Aug 13 15:28:26 CEST 2009


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
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


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





More information about the Ironpython-users mailing list