Answers for "Binding Parameters"

0

Binding Parameters

[HttpPost]
public ActionResult Edit([Bind(Include = "StudentId, StudentName")] Student std)
{
    var name = std.StudentName;
           
    //write code to update student 
            
    return RedirectToAction("Index");
}
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language