Exemplo n.º 1
0
        private void CapusLisBind()
        {
            DataTable dtCampusList = new DataTable();

            dtCampusList = DataAccessManager.GetCampusList();
            if (dtCampusList.Rows.Count > 0)
            {
                RddlCampus.DataSource     = dtCampusList;
                RddlCampus.DataTextField  = "CampusName";
                RddlCampus.DataValueField = "CampusID";
                RddlCampus.DataBind();
            }
        }