Ejemplo n.º 1
0
        /// <summary>
        /// 取得属性值
        /// </summary>
        /// <param name="obj"></param>
        /// <param name="propertyName"></param>
        private string GetPropertyValue(object obj, string propertyName)
        {
            object result = null;

            result = ObjectUtil.GetPropertyValue(obj, propertyName);

            return(result == null ? String.Empty : result.ToString());
        }
Ejemplo n.º 2
0
 internal object GetPropertyValue(string propertyName)
 {
     return(ObjectUtil.GetPropertyValue(DataItem, propertyName));
 }