private UserGroupInfo GetListRowModel(int iRowIndex) { string strErr = string.Empty; UserGroupInfo group = new UserGroupInfo(); group.ID = lstMain[iRowIndex].ID; if (!Basic_Func.GetUserGroupByID(ref group, ref strErr)) { Common.Common_Func.ErrorMessage(strErr, "读取失败"); GetListQueryData(); return(null); } return(group); }