Can I assign the value like this?
<pre><code>  Exactly I ned to do something like this is this possible?

&lt;%
var Controller = null;
if (Model.ID== "ABC")
    {
        Controller = "Name";
    }
    else
    {
        Controller = "Detail";
    }
%&gt;
&lt;% using (Html.BeginForm("edit", Controller, FormMethod.Post, new { @id="exc-" + Model.SID}))
   {%&gt;
&lt;%= Html.Summary(true)%&gt;
</code></pre>

<p>is this possible?
if i do I am getting exception...</p>

<p>ERROR: Cannot assign  to an implicitly-typed local variable</p>
