/// <summary> /// Handles the TextChanged event of the txtLogID control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> /// 整理人:桂书丛 /// 整理时间:2013-03-06 private void txtLogID_TextChanged(object sender, EventArgs e) { string tempStringField = this.cmbField.Text.Trim(); string tempStringCondition = GetCondition(tempStringField); try { myDataTable = myBUSysLog.GetOrder(true, tempStringField, tempStringCondition, true); this.gridControlSysLog.DataSource = myDataTable; } catch (Exception ex) { XtraMessageBox.Show(ex.Message); } }