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

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -