private void btn_QID_Click(object sender, EventArgs e) { if (tb_Query.Text == "") { bs_OrderList.DataSource = service.GetAllOrder(); bs_OrderList.ResetBindings(false); } else { var ans = service.Query("ID", tb_Query.Text); bs_OrderList.DataSource = ans; bs_OrderList.ResetBindings(false); } }