Nirmal Roy

Nirmal Roy

  • NA
  • 365
  • 27.6k

How to get DropDownList SelectedValue in Controller in MVC?

Jun 20 2016 6:59 AM
How to get DropDownList SelectedValue in Controller in get method without page load in MVC?
 
@Html.DropDownList("insitudename", ViewBag.insitudename as List<SelectListItem>, "Select Institute", new { @class = "form-control", onchange = "student_verification(this.value);" })
 
[HttpGet]
public ActionResult student_verification(MdStdNew objst, string stateId)
{
 return View(objst);
 
 
but in this selected drop down list item data is not binding in a table . why??
 i have use json method also. bt data is not binding in a table in mvc. 
can some one help me? 

Answers (1)