Exemplo n.º 1
0
 public void DesignationPopUptNameView()
 {
     try
     {
         DataSet Ds = new DataSet();
         Ds = NSM.DepartmentSelectAll();
         DepartmentPopUPDDList.DataSource     = Ds.Tables[0];
         DepartmentPopUPDDList.DataTextField  = "DepName";
         DepartmentPopUPDDList.DataValueField = "DepId";
         DepartmentPopUPDDList.DataBind();
         //DepartmentDDList.Items.Insert(0, new ListItem("", ""));
     }
     catch (Exception e1)
     {
     }
 }
        public void DepartmentNameView()
        {
            try
            {
                DataSet Ds = new DataSet();

                Ds = DBM.DepartmentSelectOthersAllComEvaPopUp();


                DepartmentPopUPDDList.DataSource     = Ds.Tables[0];
                DepartmentPopUPDDList.DataTextField  = "DepName";
                DepartmentPopUPDDList.DataValueField = "DepId";
                DepartmentPopUPDDList.DataBind();
            }
            catch (Exception e1)
            {
            }
        }