asp.net - How to declare variable of the type System.Collections.Generic.IEnumerable? -
how declare variable of type system.collections.generic.ienumerable?
if try:
var selecteddata=""; type selecteddata=null;
i errors.
system.collections.generic.ienumerable<dynamic>
since results db.query
rows of dynamic. c# compiler doesn't know type @ compile time of query return.
Comments
Post a Comment