public void RemovetbluserRow(tbluserRow row) { this.Rows.Remove(row); }
public tblpasswordRow AddtblpasswordRow(int passwordid, string salt, string passwd, int setbyuser, tbluserRow parenttbluserRowByFK_tblpassword_tblpassword) { tblpasswordRow rowtblpasswordRow = ((tblpasswordRow)(this.NewRow())); object[] columnValuesArray = new object[] { passwordid, salt, passwd, setbyuser, null}; if ((parenttbluserRowByFK_tblpassword_tblpassword != null)) { columnValuesArray[4] = parenttbluserRowByFK_tblpassword_tblpassword[0]; } rowtblpasswordRow.ItemArray = columnValuesArray; this.Rows.Add(rowtblpasswordRow); return rowtblpasswordRow; }
public void AddtbluserRow(tbluserRow row) { this.Rows.Add(row); }
public tbluserRowChangeEvent(tbluserRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
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 tblClientRow AddtblClientRow(string name, tbluserRow parenttbluserRowByFK_tblClient_tbluser, string companyaddress) { tblClientRow rowtblClientRow = ((tblClientRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, name, null, companyaddress}; if ((parenttbluserRowByFK_tblClient_tbluser != null)) { columnValuesArray[2] = parenttbluserRowByFK_tblClient_tbluser[0]; } rowtblClientRow.ItemArray = columnValuesArray; this.Rows.Add(rowtblClientRow); return rowtblClientRow; }
public tbluserinfoRow AddtbluserinfoRow(tbluserRow parenttbluserRowByFK_tbluserinfo_tbluser, string UserName, string Address, decimal Phone, string Email) { tbluserinfoRow rowtbluserinfoRow = ((tbluserinfoRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, null, UserName, Address, Phone, Email}; if ((parenttbluserRowByFK_tbluserinfo_tbluser != null)) { columnValuesArray[1] = parenttbluserRowByFK_tbluserinfo_tbluser[0]; } rowtbluserinfoRow.ItemArray = columnValuesArray; this.Rows.Add(rowtbluserinfoRow); return rowtbluserinfoRow; }