1.更改form用url参数驱动的问题
2.研发form的后台绑定例如
<form id="form1" function="Index" method="post" name="form1"> 这代表action是Index POST提交的方式提交到[Post("Index")]里面
那么需要用正则匹配出action 如果是这样的form
<form id="form1" action="/View/Admin/Index?id=123&name=tsy" function="InsertUserData" method="post" name="form1">
这代表提交到地址是 根目录下的View文件下的Admin文件下Index页面action是Index页面 参数id=123 参数name=tsy POST提交的方式提交该页面的[Post("InsertUserData")]里面
3.前台到后台的交互用submit和ajax get post和url参数即可。
4.后台传入前台绑定 包括 值绑定,类绑定,数据表绑定,枚举绑定。 这是一项大工程 慢慢做。
5.初始化html控件 日历控件,上传控件,分页控件和文本编辑器等。又是一项大工程 还是慢慢做。
2019年5月7日晚23:27