/*加入试卷规则 - 利用反射调用控件的提交方法*/
                UserControl uc = (UserControl)PlaceHolderRule.Controls[0];
                Type userType = uc.GetType();
                MethodInfo m = userType.GetMethod("submit");
                object[] objParas = new object[1];
                objParas[0] = examPaperID;
                m.Invoke(uc, objParas);

相关文章:

  • 2022-12-23
  • 2021-07-30
  • 2022-03-01
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-17
  • 2021-06-03
  • 2022-12-23
相关资源
相似解决方案