/// <summary> /// todoComment /// </summary> /// <param name="ACm"></param> /// <param name="ARowNum"></param> /// <returns></returns> protected override System.Object GetColumnValueAtRow(CurrencyManager ACm, int ARowNum) { System.Object ReturnValue; DataRow DrParent; DataRow Dr; // Get the current DataRow from the CurrencyManager. // Use the GetParentRow and the DataRelation name to get // the parent row. // Return the field value from the parent row. try { Dr = ((DataView)ACm.List)[ARowNum].Row; DrParent = Dr.GetParentRow(this.FRelationName); ReturnValue = DrParent[this.FParentField].ToString(); } catch (System.Exception) { // Necessary when adding rows. ReturnValue = ""; return(ReturnValue); } return(ReturnValue); }