Geeks With Blogs
Dot Net Hacker Alan Savage LINQ
The required column does not exist in the results
I've been using the new SQL-LINQ feature in ASP.NET and recently came across the following error message when calling a stored procedure from the SQL to LINQ data class: "The required column <ColumnName> does not exist in the results" The strange thing was this seemed to work fine when I called the stored procedure directly in SQL, but threw an exception when called in C#. After a night's sleep, I figured out what the problem was: The stored procedure was pretty meaty but basically the following ......

Posted On Wednesday, July 9, 2008 10:39 PM

Copyright © DotNetHacker | Powered by: GeeksWithBlogs.net | Join free