c# - Why does i cant bind the datasource to my datagridview with result from stored procedure? -


my sp : enter image description here

my c#: enter image description here

i can't method .tolist() in eksekusi datasource in datagridview, how solve this?

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

Popular posts from this blog

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

python 2.7 - Lines in my code being skipped and I am not sure why -

python - multiprocessing pool with map -