Example #1
0
        private string[] FormatExportRecord(object obj)
        {
            UserGroup2User userGroup2User = (UserGroup2User)obj;

            return(new string[] {
                userGroup2User.UserCode,
                userGroup2User.UserGroupCode,
                userGroup2User.GetDisplayText("MaintainUser"),
                FormatHelper.ToDateString(userGroup2User.MaintainDate),
                FormatHelper.ToTimeString(userGroup2User.MaintainTime)
            });
        }
Example #2
0
        private UltraGridRow GetGridRow(object obj)
        {
            UserGroup2User userGroup2User = (UserGroup2User)obj;

            return(new UltraGridRow(
                       new object[] {
                "false",
                userGroup2User.UserCode,
                userGroup2User.UserGroupCode,
                userGroup2User.GetDisplayText("MaintainUser"),
                FormatHelper.ToDateString(userGroup2User.MaintainDate),
                FormatHelper.ToTimeString(userGroup2User.MaintainTime)
            }));
        }