Example #1
0
 /// <summary>
 /// 设置某属性的值
 /// </summary>
 /// <typeparam name="V">属性类型</typeparam>
 /// <param name="propertyName">属性名称</param>
 /// <param name="value">属性值</param>
 /// <remarks>设置某属性的值</remarks>
 protected void SetPropertyValue <V>(string propertyName, V value)
 {
     WebControlUtility.SetViewStateValue <V>(ViewState, propertyName, value);
 }