Hello all. I am currently learning in Academy and am a novice with c# (still learning it). I have no real experience with Visual Basic, so I have been doing all the exercises in c#. I have noted that it let’s you know that c# support is experimental atm, so I am curious to know if this is an issue due to that or due to my own newbishness.
Here is where I have my problem:
clubMembers = name.Select("[Club Member]=‘Yes’")
this throws System.InvalidOperationException.
“Cannot implicitly convert type ‘object’ to ‘System.Data.DataRow’. An explicit conversion exists (are you trying to cast?)”
I am still learning c#, so I feel it likely I just need pointed at what I need to know do do this. Is there anyone who could point me to the documentation where I need to read up?
Edit to add:
Also if someone could confirm/correct my understanding of why this is happening I would appreciate it. My interpretation of this error based on what I have read is that the method is returning an object, something like returning the cell of a spreadsheet but not the contents therein. Is that right?