Accessing textbox value in controller depends on the parameters your controller method will take.
Suppose your controller will take only one argument then you simply call it by redirecting to the Url of your controller's method name along with argument.
{Controller}/{Method Name}/{Argument}
Employee/Details/EmpID
Employee/Details/12
Public ActionResult Details(int EmployeeId)
{ ..... }
Or if your controller will take modal as parameter then prepare json object and pass it to the controller. Using it you can also pass multiple values to controller.
var employee = { EmployeeId: 12,
EmployeeName: StartShining }
Public Class Employee
{
Public int EmployeeId { get; set; }
Public string EmployeeName { get; set; }
}
Public ActionResult Details(Employee emp)
{ ..... }
HTH