Posting A String Array
How can I handle an array of input For example I have in my view: <input type="text" name="listStrings[0]" /><br /> <input type="text" name="listStrings[1]" /><br /> <input type="text" name="listStrings[2]" /><br /> In my control I try to get the values like: [HttpPost] public ActionResult testMultiple(string[] listStrings) { viewModel.listStrings = listStrings; return View(viewModel); } On debugging I can see listStrings is null every time. Why is it null and how can I get the values of the input array Posting a Collection of Primitives With ASP.NET MVC To post a collection of primitives the