SQL Server 2008 , asp.net MVC 3 C# Getting Data from one table to another when the value is null . . the data in the other table kicks in -


var applicantlist = (from in context.profiles                              join app in context.applicants                                  on a.profile_id equals app.profile_id                              app.profile_id == a.profile_id                              select app).take(1000); 

this statement need change it. . .

i need find how fetch values profiles table when value of lastname , firstname fields null on applicant table

in applicant table . . there foreign key profile_id.

thanks can me .

var applicantlist = (from in context.profiles     join app in context.applicants     on a.profile_id equals app.profile_id     app.lastname == null & app.firstname == null     select a).take(1000); 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -