Click here to Skip to main content
15,850,685 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all ,
i have two tables, usermaster and rolemaster.

usermaster have column roleid and in rolemaster i have roleid and rolename.

now i want to use inner join usig linq or entity framework to bind data in Grid.MVC control.

please let me know some ref url or code for this?
V5709 20-Feb-14 7:00am    
I don't know weather it is right or wrong. If possible update data source in controller method using linq & then send it to view.
ZurdoDev 20-Feb-14 16:18pm    
SELECT * FROM usermaster INNER JOIN rolemaster on roleid = roleid.

This is simple, where are you stuck?
ravikhoda 20-Feb-14 23:02pm    
i want this in form of linq. with MVC 4 code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900