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