Ejemplo n.º 1
0
        protected void BindData(int DepID)
        {
            Label2.Text = SupplierBizLogic.FindCollectionByDepID(DepID).EmployeeName.ToString();

            URDropDownList.DataSource = SupplierBizLogic.FindEmpByDepID(DepID);

            URDropDownList.DataTextField  = "Name";
            URDropDownList.DataValueField = "EmployeeID";
            URDropDownList.DataBind();
        }