public tblClientRowChangeEvent(tblClientRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemovetblClientRow(tblClientRow row) { this.Rows.Remove(row); }
public tblphoneNumbersRow AddtblphoneNumbersRow(string phonenumber, string name, string emailid, tbluserRow parenttbluserRowByFK_tblphoneNumbers_tbluser, tblClientRow parenttblClientRowByFK_tblphoneNumbers_tblClient) { tblphoneNumbersRow rowtblphoneNumbersRow = ((tblphoneNumbersRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, phonenumber, name, emailid, null, null}; if ((parenttbluserRowByFK_tblphoneNumbers_tbluser != null)) { columnValuesArray[4] = parenttbluserRowByFK_tblphoneNumbers_tbluser[0]; } if ((parenttblClientRowByFK_tblphoneNumbers_tblClient != null)) { columnValuesArray[5] = parenttblClientRowByFK_tblphoneNumbers_tblClient[0]; } rowtblphoneNumbersRow.ItemArray = columnValuesArray; this.Rows.Add(rowtblphoneNumbersRow); return rowtblphoneNumbersRow; }
public void AddtblClientRow(tblClientRow row) { this.Rows.Add(row); }