private void PopulateItemType()
        {
            IMasterList objItemCommonlist = (IMasterList)ObjectFactory.CreateInstance("BusinessProcess.SCM.BMasterList,BusinessProcess.SCM");
            String      TableName         = "Mst_Decode";
            DataTable   DTItemlist        = new DataTable();

            DTItemlist = objItemCommonlist.GetItemTypeList();
            BindFunctions BindManager = new BindFunctions();
            DataSet       theDS       = objItemCommonlist.GetItemDetails(Convert.ToInt32(0));

            if (DTItemlist.Rows.Count > 0)
            {
                BindManager.BindCombo((DropDownList)ddlItemType, DTItemlist, "Name", "ID");
            }

            BindManager.BindCombo(ddlpurchaseunit, theDS.Tables[3].Copy(), "Name", "Id");
            BindManager.BindCombo(ddlmanufaturer, theDS.Tables[4], "Name", "Id");
            BindManager.BindCombo(ddldispensingunit, theDS.Tables[3].Copy(), "Name", "Id");
            BindManager.BindCombo(ddlVolumeUnit, theDS.Tables[6].Copy(), "Name", "Id");
        }