requerying populated dataset

  • Thread starter Thread starter Omar
  • Start date Start date
O

Omar

Is it possible to requery a dataset and load the result into a few
textboxes?
I'm trying to requery a dataset (which contains all employees) so it returns
only one employee.
I don't want to go through the process of connecting to the DB again and
filling another temporary DS w/ 1 employee because all the information I
need is in the previously populated DS.

Thanks.
 
I found out how to do it:

DataRow[] drTest = DS_temp.Tables[0].Select("Emplcode = '00002'");
MessageBox.Show (drTest[0]["Emplcode"].ToString());

Thanks.
 
Back
Top