This would seem to be fairly straight forward but I'm stumped.
I'm familiar with using a dataset/datatable to bind to a grid. However, I'm new to Entity Framework.
Can you provide a short example of how I would call a stored procedure
MyContext.uspGetClientByID(47)
And somehow get that into the grid properly?
mygrid.datasource = mycontext.uspGetClientByID(47) throws an exception of course as it is not returning a dataset by design.
Thank you!
Hello Jeff,
I am glad to hear that you have resolved your issue.
Please let me know if you have any additional questions about this matter.
Wow! I just needed to take a walk. After spending a couple hours trying to resolve the issue, I took a break and came back to it.
Incidentally, I was missing .ToList in the above example for anyone else having the same issue.