ahmed salah

ahmed salah

  • 1.6k
  • 530
  • 125.4k

show data from more tables relation

Aug 23 2016 9:13 PM

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

{

}


Answers (5)