protected void btnSearch_Click(object sender, EventArgs e) { Staff staff = new Staff(); DataTable datatable = UDS.Components.Tools.ConvertDataReaderToDataTable(staff.FindStaffByName(this.txtSearchName.Text)); listAccount.DataSource = datatable; listAccount.DataTextField = "RealName"; listAccount.DataValueField = "Staff_Name"; listAccount.DataBind(); this.txtSearchName.Text = ""; staff = null; }