通过反射,给实体赋值,或者取值
摘要:1.设置值Type type = personnelSalary.GetType(); //personnelSalary实体变量 decimal values = 0; foreach (ActionAllowance actionAllowance in li_ActionAllowance) { RadNumericTextBox TextBox1 = (RadNumericTextBox)this.FindControl("rntxtSalary_" + actionAllowance.AllowanceCode); PropertyInfo pi = type.G
阅读全文