一.使用Model 首先创建一个Model public class HelloModel { private string _name; private string _text; public string Name { get { return _name; } set { _name = value; } } public string Text { get { return _text; } set { _text = value; } } } 然后创建强类型的View视图,在View