Ejemplo n.º 1
0
        private void PopulateData()
        {
            List <PHCTransactionDTO> lstphctran = objITransactionBusiness.GetPendingTransactionDetails(PHCConstant.PHCID);

            if (lstphctran != null && lstphctran.Count > 0)
            {
                LVPHCTransDetails.DataSource = lstphctran;
                LVPHCTransDetails.DataBind();
            }
            else
            {
                LVPHCTransDetails.Items.Clear();
                LVPHCTransDetails.DataSource = null;
                LVPHCTransDetails.DataBind();
            }
        }