Ejemplo n.º 1
0
        private void BindGrid()
        {
            SdpDetail sdpDetail = new SdpDetail();

            sdpDetail.Pmsid = this.PmsID;
            sdpDetail.Phase = this.Phase.ToString();

            IList <SdpDetail> sdpDetailList = new SdpDetailBiz().SelectSdpDetail(sdpDetail);

            if (sdpDetailList != null && sdpDetailList.Count > 0)
            {
                GridViewByPhase.DataSource = sdpDetailList;
                GridViewByPhase.DataBind();
            }
        }
Ejemplo n.º 2
0
        private void BindGrid()
        {
            SdpDetail sdpDetail = new SdpDetail();

            sdpDetail.Pmsid       = Request.QueryString["PmsId"];
            sdpDetail.Phase       = this.Phase.ToString();
            sdpDetail.AuditStatus = (int)PmsCommonEnum.AuditStatus.HasApproved;

            IList <SdpDetail> sdpDetailList = new SdpDetailBiz().SelectSdpDetail(sdpDetail);

            if (sdpDetailList != null && sdpDetailList.Count > 0)
            {
                GridViewByPhase.DataSource = sdpDetailList;
                GridViewByPhase.DataBind();
            }
        }