c# - Why does i cant bind the datasource to my datagridview with result from stored procedure? -
the result of stored procedure collection of items (ienumerable<t>
/iqueryable<t>
). when perform firstordefault
retrieve first item in collection or default(t)
if collection empty.
the t
have not ienumerable<t>
object representing single record 3 properties, not have tolist()
extension method.
please refer so linq firstordefault documentation understand more
Comments
Post a Comment