[Mono-list] c# DataRow Field property missing ?

Abe Gillespie abe.gillespie at gmail.com
Thu Apr 7 17:33:38 EDT 2011


According to this:
http://msdn.microsoft.com/en-us/library/system.data.datarow.aspx Field is an
extension method.  You have to make sure you have a reference to System.Core
to use extension methods.  Also, and it's not clear from the help docs, you
often have to have a "using Blah.Extensions;" clause if the extension
methods are in an unresolved namespace.

-Abe

On Thu, Apr 7, 2011 at 4:39 PM, nicolas.mono <nicolas.delley at gmail.com>wrote:

> I've often used the DataRow object (or DataRowCollection) when programming
> C#
> in Windows (.NET Framework 3 and 3.5).
> Now, I want to use it in a C# program developed with mono in Linux.
> My problem is: I don't find the "Field" property of DataRow when using
> mono... anyone can help me, please ?
>
> Thanks in advance.
>
> (example: "return ds.Table[0].Rows[0].Field(0)";
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/c-DataRow-Field-property-missing-tp3434511p3434511.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110407/35f81f2b/attachment.html 


More information about the Mono-list mailing list