Thank you very much! System.Core reference was missing in my project. I can do a generic method yet.
Nicolas On Thu, 2011-04-07 at 17:33 -0400, Abe Gillespie wrote: > According to > this: http://msdn.microsoft.com/en-us/library/system.data.datarow.aspxField > 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 > <[email protected]> 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
