摘要: /*加入试卷规则 - 利用反射调用控件的提交方法*/ 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); 阅读全文
posted @ 2011-06-14 15:28 潇客的技术博客 阅读(425) 评论(0) 推荐(0) 编辑