void LoadList()
        {
            List <MemberTypeInfo> memberTypeInfos = MemberTypeInfoBll.Select();

            dgvList.AutoGenerateColumns = false;
            dgvList.DataSource          = memberTypeInfos;
        }
Exemple #2
0
        void LoadType()
        {
            MemberTypeInfoBll memberTypeInfoBll = new MemberTypeInfoBll();

            ddlType.DisplayMember = "MTitle";
            ddlType.ValueMember   = "MId";
            ddlType.DataSource    = memberTypeInfoBll.Select();
        }