MVC取文本框中的值

Views


Controllers

        public ActionResult Index(FormCollection txt)
        {
                string uname = txt["u_name"];

            return View();
        }





你可能感兴趣的:(mvc,asp.net,asp.net,mvc)