Monday, November 28, 2011

Cannot implicitly convert type 'EvalServiceLibrary.Eval[]' to 'System.Collections.Generic.List'

For this error ,

You need to add '.ToList<Eval>();' at the end of the line, so that both parts are of the same type.
This is how the 'case "list":' should look like:



and the 'GetEvalBySubmitter(name)' like this:




No comments:

Post a Comment