Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting error on making class IEnumerable
    primarykey
    data
    text
    <p>I am trying to inherit the <a href="http://www.clubfarpoint.com/farpointsupportsite/modules/docs/SpreadWin5Help/FarPoint.Win.Spread~FarPoint.Win.Spread.FpSpread.html" rel="nofollow"><code>FarPoint.Win.Spread.FpSpread</code></a> class and implement <code>IEnumerable&lt;FarPoint.Win.Spread.Row&gt;</code> so that i should be able to apply linq on FarPoint spread rows or cells. I tried multiple ways but i keep getting errors:</p> <pre><code>class myspread : FarPoint.Win.Spread.FpSpread, IEnumerable&lt;FarPoint.Win.Spread.Row&gt; { public IEnumerator&lt;FarPoint.Win.Spread.Row&gt; GetEnumerator() { return myspread.GetEnumerator();// Error on this line } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return GetEnumerator(); } } </code></pre> <p>Second try:</p> <pre><code>class myspread : FarPoint.Win.Spread.Row, IEnumerable&lt;FarPoint.Win.Spread.Row&gt; { public IEnumerator&lt;FarPoint.Win.Spread.Row&gt; GetEnumerator() { return myspread.GetEnumerator();// Error on this line } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return GetEnumerator(); } } </code></pre> <p>Third try:</p> <pre><code>class myspread : FarPoint.Win.Spread.Cells, IEnumerable&lt;FarPoint.Win.Spread.Cells&gt; { public IEnumerator&lt;FarPoint.Win.Spread.Row&gt; GetEnumerator() { return myspread.GetEnumerator();// Error on this line } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return GetEnumerator(); } } </code></pre> <p>I want to be able to apply linq on a lot of objects on a FarPoint sheet</p> <p>Now the above data could be in lacs - i need to do a lot of formatting on the above data and update values on some conditions. How can i achieve this?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload