Home > DeveloperSection > Forums > show data from more tables relation
Abeer Shlby
Abeer Shlby

Total Post:5

Points:35
Posted on    August-23-2016 6:32 PM

 ASP.NET MVC ASP.NET MVC 
Ratings:


 0 Reply(s)
 141  View(s)
Rate this:

In this diagram below 

I need to make view contain to following 

Name,Email,Salary,DistrictName,CountryName,CityName,CourseName,LanguageName,levelName

all id is identity increment by 1

i already have ef design for these tables

how to make view for that

in controller

public ActionResult index()

{

//what i write here to create view

return view();

}

in view what i write 

<html>

<html>

and what model i will create to show data

public class emp

{

}




Don't want to miss updates? Please click the below button!

Follow MindStick