예제 #1
0
        /// <summary>
        ///  to get the data of the PAPStatus  from the database
        /// </summary>

        private void GetPAPStatus()
        {
            PstatusBLL objPStatusBLL = new PstatusBLL();

            ddlStatus.DataSource     = objPStatusBLL.GetPstatus();
            ddlStatus.DataTextField  = "PAPDESIGNATION1";
            ddlStatus.DataValueField = "PAPDESIGNATIONID1";
            ddlStatus.DataBind();
        }
예제 #2
0
        private void loadStatusddl()
        {
            PstatusBLL objMasterBLL = new PstatusBLL();

            OccupationStatus.DataTextField  = "PAPDESIGNATION1";
            OccupationStatus.DataValueField = "PAPDESIGNATIONID1";
            OccupationStatus.DataSource     = objMasterBLL.GetPstatus();
            OccupationStatus.DataBind();
        }