System.Data.OleDb.OleDbCommandBuilder cb_employees;
cb_employees = new System.Data.OleDb.OleDbCommandBuilder(da_employees);
DataRow[] returned_rows_employee;
returned_rows_employee = ds_employees.Tables["EMPLOYEES"].Select("NIP_EMPLOYEES='" + textNipSearch.Text + "'");
DataRow row_employees;
row_employees = returned_rows_employee[0];
textPesel.Text = row_employees["PESEL_EMPLOYEES"].ToString();
textName.Text = row_employees["NAME_EMPLOYEES"].ToString();
textSurname.Text = row_employees["SURNAME_EMPLOYEES"].ToString();
textPlace.Text = row_employees["PLACE_EMPLOYEES"].ToString();
textStreet.Text = row_employees["STREET_EMPLOYEES"].ToString();
textPostalcode.Text = row_employees["POSTAL_CODE_EMPLOYEES"].ToString();
textNip.Text = textNipSearch.Text;
textPhone.Text = row_employees["PHONE_CONTACT_EMPLOYEES"].ToString();'
NIP = textNipSearch.Text について、DataBase の従業員で検索したいのですが、うまくいきましたが、返された行の数を知りたいのですが...どうすれば??
私が挨拶する