private void Get_ProductCard_List() { List <ProductCard> lstPrdCard = null; try { base.BeginProcessing("Begin Load data...", "Please Waiting for Loading Data"); using (QCReturnBLL qcReturnBll = new QCReturnBLL()) { lstPrdCard = qcReturnBll.GetSelectProductCard(this.SEQ_NO); } this.grdProductCard.DataSource = lstPrdCard; this.dntProductCard.DataSource = lstPrdCard; //default check all this.cardSelect.SelectAll(); } catch (Exception ex) { base.FinishedProcessing(); XtraMessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); } finally { base.FinishedProcessing(); } }