在前面的部分,设置下拉级联,我们已经可以百度到很多视频,我就不再多说,而我搞了一天解决 的,是在俩菜单都有值的情况下,重新选第一个下拉,后面那个值怎么清除,是一个事件调用.上图. 其中"$H$2" 是我类别下面的那个栏的名字,"$I2"是我职称下面的那个栏的名字. 鼠标右键点击工作表标签,选择"查看代码",将下面的代码粘贴到光标处:我用的是微软的excel: Private Sub Worksheet_Change(ByVal Target As
一.BaseController.cs文件 1.OnActionExecuting方法,该方法可以被各子Controller重写 protected override void OnActionExecuting(ActionExecutingContext filterContext) { //do this in OnActionExecuting instead of constructor to //A) make sure the child class has fully initi
JsonResult作为Action返回值时的错误 System.InvalidOperationException: This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior t