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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -