示例#1
0
        public FieldInfoRow FetchFieldInfoRow(String paColumnName)
        {
            DataRow[] lcDataRows;

            if (!String.IsNullOrEmpty(paColumnName))
            {
                lcDataRows = FieldInfoList.Select(ctFILColumnName.Replace("$COLUMNNAME", paColumnName));
                if ((lcDataRows != null) && (lcDataRows.Length > 0))
                {
                    return(new FieldInfoRow(lcDataRows[0]));
                }
            }

            return(null);
        }
示例#2
0
 public DataRow[] GetFieldInfoListByRow(int paRowIndex)
 {
     return(FieldInfoList.Select(ctFILRowIndex.Replace("$ROWINDEX", paRowIndex.ToString())));
 }