Display partial view in a view using mvc 4
问题 I want to display a partial view inside a main view upon clicking view link, within the same page. Help me please, I am newbie in MVC. Is there any other way to do it other than using the Ajax.ActionLink()? This is my Add Detail controller. public ActionResult DisplayDetails() { SqlConnection connect = new SqlConnection(ConfigurationManager.ConnectionStrings["connect"].ToString()); connect.Open(); DataSet ds = ExecuteQuery("select EmployeeID, EmployeeName, EmailID from EmployeeDetails");