title: How to RenderPartial From View with parameters?
body: <p>I want to render partialview inside a view with two parameters:</p>
  
  <pre><code>1) Viewdata
  2) List
  </code></pre>
  
  <p>I am new to MVC4 Razor.
  Help me. I don't know how to do it.
  I tried this:</p>
  
  <pre><code>@{Html.RenderPartial("_SelectAllDrChemistSales", new  {"result_Type",
              ViewData["result_Type"].ToString() });}
  </code></pre>
  
  <p>But it is giving me error.</p>