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

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -