Esempio n. 1
0
 private void LoadDeactivatedUsers()
 {
     Database data = new Database();
     lstEmployees.DataSource =  data.GetDeactivatedUsers(int.Parse(lstEmployeeType.SelectedValue));
     lstEmployees.DataTextField = "strFullName";
     lstEmployees.DataValueField = "intEmployeeID";
     lstEmployees.DataBind();
     data.Close();
     data.Dispose();
 }