예제 #1
0
        private AreaInfo GetDetailsRowModel(int iRowIndex)
        {
            string   strErr = string.Empty;
            AreaInfo area   = new AreaInfo();

            area.ID = lstDetails[iRowIndex].ID;

            if (!Basic_Func.GetAreaByID(ref area, ref strErr))
            {
                Common.Common_Func.ErrorMessage(strErr, "读取失败");
                GetListQueryData();
                return(null);
            }

            return(area);
        }