Click here to Skip to main content
15,922,696 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionConnect to remote sql server Pin
satc9-Jul-15 18:05
satc9-Jul-15 18:05 
AnswerRe: Connect to remote sql server Pin
Wendelius9-Jul-15 18:21
mentorWendelius9-Jul-15 18:21 
GeneralRe: Connect to remote sql server Pin
satc9-Jul-15 19:47
satc9-Jul-15 19:47 
GeneralRe: Connect to remote sql server Pin
Wendelius9-Jul-15 20:06
mentorWendelius9-Jul-15 20:06 
GeneralRe: Connect to remote sql server Pin
satc9-Jul-15 20:19
satc9-Jul-15 20:19 
AnswerRe: Connect to remote sql server Pin
PIEBALDconsult9-Jul-15 18:31
mvePIEBALDconsult9-Jul-15 18:31 
GeneralRe: Connect to remote sql server Pin
satc11-Jul-15 4:09
satc11-Jul-15 4:09 
AnswerRe: Connect to remote sql server Pin
Eddy Vluggen9-Jul-15 22:15
professionalEddy Vluggen9-Jul-15 22:15 
GeneralRe: Connect to remote sql server Pin
satc10-Jul-15 2:55
satc10-Jul-15 2:55 
GeneralRe: Connect to remote sql server Pin
Eddy Vluggen10-Jul-15 3:20
professionalEddy Vluggen10-Jul-15 3:20 
AnswerRe: Connect to remote sql server Pin
Richard Deeming10-Jul-15 1:52
mveRichard Deeming10-Jul-15 1:52 
QuestionHow to Call Stored Procedure parameters in Class Pin
Mohamed Hamdy9-Jul-15 14:42
Mohamed Hamdy9-Jul-15 14:42 
QuestionRe: How to Call Stored Procedure parameters in Class Pin
Ralf Meier9-Jul-15 20:29
mveRalf Meier9-Jul-15 20:29 
AnswerRe: How to Call Stored Procedure parameters in Class Pin
Mohamed Hamdy10-Jul-15 6:23
Mohamed Hamdy10-Jul-15 6:23 
QuestionRe: How to Call Stored Procedure parameters in Class Pin
Eddy Vluggen10-Jul-15 7:10
professionalEddy Vluggen10-Jul-15 7:10 
AnswerRe: How to Call Stored Procedure parameters in Class Pin
Wendelius10-Jul-15 7:18
mentorWendelius10-Jul-15 7:18 
AnswerRe: How to Call Stored Procedure parameters in Class Pin
Eddy Vluggen9-Jul-15 23:07
professionalEddy Vluggen9-Jul-15 23:07 
QuestionRun time Error Can't find project Library, Missing Reference attachemat Extra '0.9 Pin
Member 117214498-Jul-15 20:14
Member 117214498-Jul-15 20:14 
AnswerRe: Run time Error Can't find project Library, Missing Reference attachemat Extra '0.9 Pin
RedDk9-Jul-15 6:52
RedDk9-Jul-15 6:52 
QuestionData Access Layer, returning data Pin
jkirkerx6-Jul-15 12:33
professionaljkirkerx6-Jul-15 12:33 
AnswerRe: Data Access Layer, returning data Pin
Dave Kreskowiak7-Jul-15 9:36
mveDave Kreskowiak7-Jul-15 9:36 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx7-Jul-15 10:40
professionaljkirkerx7-Jul-15 10:40 
GeneralRe: Data Access Layer, returning data Pin
Dave Kreskowiak7-Jul-15 10:50
mveDave Kreskowiak7-Jul-15 10:50 
The "19" doesn't mean anything in this case.

The error says that you're trying to convert an anonymous type (your Select New ...) into an IEnumerable(Of MovieContext). You're saying that the function is returning a list of MovieContext. So, your function header is wrong. You should be returning an IEnumerable of whatever type your Select is projecting into. In my example, I specifically said something like MovieItem, whereas you're returning an anonymous type.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Data Access Layer, returning data Pin
jkirkerx7-Jul-15 11:20
professionaljkirkerx7-Jul-15 11:20 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx7-Jul-15 11:27
professionaljkirkerx7-Jul-15 11:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.