title: Send and Receive data in .cshtml page
body: <p>I am doing my homework in which I am developing a shopping site in asp.net MVC 3 and currently I am doing my work only in views. I have a product page and on the click of details I have to open product detail page.</p>
  
  <pre><code>&lt;a href="ProductDetails.cshtml"&gt; Details &lt;/a&gt;
  </code></pre>
  
  <p>I have multiple products and I want to tell my product detail page that which product details is opened. One way is this I can append Id with URL like</p>
  
  <pre><code>&lt;a href="ProductDetails.cshtml?id=1"&gt; Details &lt;/a&gt;
  </code></pre>
  
  <p>But I am unable to understand how I can receive this id on the product detail page since I have no controller and no model and I am fetching data using compact database on the .cshtm page using server side code.</p>