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

java - SSE Emitter : Manage timeouts and complete() -

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

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -