private void FillDDL()
        {
            UniversityManager _UniversityManager = new UniversityManager();

            var obj = _UniversityManager.GetAllUniversity();

            if (obj != null)
            {
                ddlUniversity.DataTextField  = "Name";
                ddlUniversity.DataValueField = "Id";
                ddlUniversity.DataSource     = obj.ToList();
            }
            ddlUniversity.DataBind();
        }
        private void FillData()
        {
            UniversityManager _UniversityManager = new UniversityManager();
            SSAManager        _SSAManager        = new SSAManager();
            var user = AspNetSecurityHelper.currentAppUser;

            if (user != null)
            {
                var obj = _UniversityManager.GetAllUniversity();
                if (obj != null)
                {
                    GridView1.DataSource = obj.ToList();
                }
            }
            GridView1.DataBind();
        }
        private void FillDDL()
        {
            SSAManager _SSAManager = new SSAManager();
            var        obj         = _SSAManager.GetAllSSA();

            if (obj != null)
            {
                var data = from tbl in obj
                           select new
                {
                    tbl.Id,
                    Name = (String.IsNullOrEmpty(tbl.Name) ? "" : tbl.Name + " - ") + tbl.University.Name + (tbl.State != null ? " - " + tbl.State.Name : "") + (tbl.City != null ? " - " + tbl.City.Name : "")
                };
                ddlSSA.DataTextField  = "Name";
                ddlSSA.DataValueField = "Id";
                ddlSSA.DataSource     = data.ToList();
            }
            ddlSSA.DataBind();

            StateManager _StateManager = new StateManager();
            var          state         = _StateManager.GetAllState();

            if (state != null)
            {
                ddlState.DataTextField  = "Name";
                ddlState.DataValueField = "Id";
                ddlState.DataSource     = state.ToList();
            }
            ddlState.DataBind();

            UniversityManager _UniversityManager = new UniversityManager();
            var uni = _UniversityManager.GetAllUniversity();

            if (uni != null)
            {
                ddlUniversity.DataTextField  = "Name";
                ddlUniversity.DataValueField = "Id";
                ddlUniversity.DataSource     = uni.ToList();
            }
            ddlUniversity.DataBind();
        }