//for Sales Order from SAGE50 public void Doc_GetSalesOrderList() { DataTable dt; try { base.BeginProcessing("Begin Load data...", "Please Waiting for Loading Data"); using (QueryBLL queryBll = new QueryBLL()) { dt = queryBll.Doc_SalesOrder_List(); } this.grdDocument.DataSource = dt; } catch (Exception ex) { base.FinishedProcessing(); XtraMessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); } finally { base.FinishedProcessing(); } }