Пример #1
0
        void LoadTypeList()
        {
            VIPTypeInfoBll bll = new VIPTypeInfoBll();

            ddlType.DataSource    = bll.GetList();
            ddlType.DisplayMember = "mtitle";
            ddlType.ValueMember   = "mid";
        }
Пример #2
0
 void Refresh()
 {
     dgvList.AutoGenerateColumns = false;
     dgvList.DataSource          = bll.GetList();
     txtDiscount.Text            = "";
     txtTitle.Text = "";
     txtId.Text    = "添加时无编号";
     btnSave.Text  = "添加";
 }