public BLOBRow GetRow(System.Data.DataRow row) { BLOBRow rw = new BLOBRow(fields.Count); int i; for (i = 0; i < fields.Count; i++) { rw.LoadData(row[fields[i].Name], i); } return(rw); }
public BLOBRow GetRow(int Index, System.Data.DataRow row) { if (rows != null) { if (Index >= 0 && Index < rows.Length) { if (rows[Index] == null) { int i; rows[Index] = new BLOBRow(fields.Count); for (i = 0; i < fields.Count; i++) { rows[Index].LoadData(row[fields[i].Name], i); } } if (rows[Index] != null) { return(rows[Index]); } } } return(null); }