Users Pricing

forum

home / developersection / forums / asp.net mvc razor getting id with post

asp.net mvc razor getting id with post

Anonymous User 2284 26 Nov 2014

how can i get the querystring id in there? is there any way 

@using (Html.BeginForm("InformVendor", "Procurement",new {id="querystring Mode = "Inform" }, FormMethod.Post))
{
<tr>
    <td>
          @Html.DropDownListFor(m=>m.VendorId,new MultiSelectList(Model.VendorDropdownlist, "CustomerId", "ContactName"))  
     </td>
    <td>
          @Html.CheckBoxFor(m => m.IsEmail)
   </td>       
</tr>
<tr>
    <td>
         <input type="submit" id="btnsubmit" value="Nominate Vendor" />
    </td>
    <td></td>
</tr>
}


I am a content writter !


1 Answers