/// <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(); }
private void loadStatusddl() { PstatusBLL objMasterBLL = new PstatusBLL(); OccupationStatus.DataTextField = "PAPDESIGNATION1"; OccupationStatus.DataValueField = "PAPDESIGNATIONID1"; OccupationStatus.DataSource = objMasterBLL.GetPstatus(); OccupationStatus.DataBind(); }