void fill_read_fields() { dref.read(input.Text, record_field, record_index); name_out.Text = record_field[0]; num_out.Text = record_field[1]; age_out.Text = record_field[2]; gender_out.Text = record_field[3]; rec_no.Text = (dref.numofrecords(input.Text) + " | " + (record_index + 1)).ToString(); }
void fill_read_fields() { dref.read(filename.Text, record_field, record_index); name.Text = record_field[0]; phone.Text = record_field[1]; age.Text = record_field[2]; gender.Text = record_field[3]; rec_num.Text = dref.numofrecords(filename.Text).ToString(); rec_no.Text = (record_index + 1).ToString(); }