---
title: "How to show details view in mvc3?"  
description: "How to show details view in mvc3?"  
author: "Anonymous User"  
published: 2014-11-10  
updated: 2014-11-10  
canonical: https://www.mindstick.com/forum/2549/how-to-show-details-view-in-mvc3  
category: "asp.net mvc"  
tags: ["mvc3"]  
reading_time: 1 minute  

---

# How to show details view in mvc3?

HI i am new to [mvc](https://www.mindstick.com/forum/155803/define-cache-profile-in-mvc) so if [anyone](https://www.mindstick.com/articles/23207/how-to-find-the-best-fit-job-for-anyone) can help me will be great basically i just want to display a partiular [item](https://www.mindstick.com/forum/156564/remove-item-in-an-array-in-javascript) details, my [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii)

```
    private sneakerEntities    _sneaker_categoryDataModel = new sneaker_info.Models.sneakerEntities();    public ActionResult Index()    {        IList<sneaker> Releases = _sneaker_categoryDataModel.sneakers.ToList<sneaker_info.Models.sneaker>();        return View("Releases", Releases);    }    public ActionResult Details (int id)    {        return View();    }
```

## Replies

### Reply by Anonymous User

You need to find it from Repository and display in your strongly typed view

```
public ActionResult Details (int
id){   Sneaker snkr=_sneaker_categoryDataModel.sneakers.Find(id);   return View(snkr);}
```

In Details.cshtml

@model Sneaker

//all view related code


---

Original Source: https://www.mindstick.com/forum/2549/how-to-show-details-view-in-mvc3

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
