public LocationTblRow AddLocationTblRow(int LocID, CompanyTblRow parentCompanyTblRowByCompanyTbl_LocationTbl, string LocName, string Address, CountryTblRow parentCountryTblRowByCountryTblLocationTbl, string ExcelFile, string ATTNString, string CCString) { LocationTblRow rowLocationTblRow = ((LocationTblRow)(this.NewRow())); object[] columnValuesArray = new object[] { LocID, null, LocName, Address, null, ExcelFile, ATTNString, CCString}; if ((parentCompanyTblRowByCompanyTbl_LocationTbl != null)) { columnValuesArray[1] = parentCompanyTblRowByCompanyTbl_LocationTbl[0]; } if ((parentCountryTblRowByCountryTblLocationTbl != null)) { columnValuesArray[4] = parentCountryTblRowByCountryTblLocationTbl[0]; } rowLocationTblRow.ItemArray = columnValuesArray; this.Rows.Add(rowLocationTblRow); return rowLocationTblRow; }
public void AddCountryTblRow(CountryTblRow row) { this.Rows.Add(row); }
public void RemoveCountryTblRow(CountryTblRow row) { this.Rows.Remove(row); }
public CountryTblRowChangeEvent(CountryTblRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }