예제 #1
0
 private void txt_ID_TextChanged(object sender, TextChangedEventArgs e)
 {
     connect = new CTUConnection();              // refreshens the 'CTUConnection' class //
     connect.SelectEmployee();                   //*Selects the specified columns in the Patient table*//
     connect.SearchEmployeeID(txt_ID.Text);      //Searches the customer's 'name' within the populated table//
     DGV_Employee.ItemsSource = connect.dataset; //*All the selected fields are filtered inside the table and stored inside the grid-view*//
 }