This question is old now, Dapper data-view binding are fixed as shown answer below :)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I've added TypeDescriptor
-based bindings to DapperRow
, which means that anything obtained via Query()
(the dynamic
API) should now bind to much common UI controls. Anything from 1.60.5 or above should work.
Let me know!
Caveat: it doesn't currently work for empty results (zero rows). I know how to implement that (see notes here), but that would require some additional changes to the query implementation that I have not done as-yet.